Failed to load resource: the server responded with a status of 431 ()

This error appeared only yesterday. When I try to do anything in admin except adding posts/pages, there is a white screen and chrome console reveals. I can’t update wordpress core, can’t update/install/delete plugins … Failed to load resource: the server responded with a status of 431 () No idea what’s the issue and how to fix it. Thanks for helping out! UPDATE – this was a Chrome issue – after I cleared my cookies, everything works OK Could somebody explain it to me? Thank you! Source: https://wordpress.stackexchange.com/feeds

Ajax load more button for comments wordpress

I have my own Ajax load more button system but for posts now i decide to make the same thing but for comments so after check get_comments i found that i can’t get the CURRENT page of comments like posts. So anyone have any example to help me about this? Because comments is totally different than posts. DON’T NEED ANY PLUGINS. Source: https://wordpress.stackexchange.com/feeds

How to show post metrics on the frontend?

I want to achieve something similar to this: have the same representation of data (graphs, charts, etc) that will show various taxonomy statistics. Examples: Percentage of posts by category Most used tags added via custom post type Chart showing number of posts added per day/month Is there a plugin that would allow me to display data on frontend like this? I am looking for a solution that doesn’t require coding everything from scratch. I basically just want to display data about user’s posts in a visual way. Source: https://wordpress.stackexchange.com/feeds

Web Design Weekly #292

Headlines What kind of designer are you or want to become? A nice self-checklist that can help guide you into becoming the designer you want to be. Some solid advice. (uxplanet.org) New Master’s in Communication Design at Parsons Parsons School of Design in NYC Has Launched a 1-Year Master’s for Design Professionals Focusing on Digital Product Design. Learn more! (newschool.edu) Articles Essentials for Good API Documentation A good overview of topics that is a must read for anyone starting out or keen to improve their API documentation. (alistapart.com) An Historical…

Custom Nav Walker sub-menu

I am trying to change the markup of my main menu. Currently I’ve got the following code when my menu is generated : <ul id= »menu-menu » class= »menu vertical medium-horizontal »> <li><a href= »http://example.com »>Home</a></li> <li><a href= »http://example.com/custompage »>Page</a></li> <li><a href= »http://example.com/custompage2″>Page2</a></li> <li><a href= »http://example.com/custompage3″>Page3</a> <ul class= »sub-menu »> <li><a href= »http://example.com/custompage3/submenu »>Submenu</a></li> <li><a href= »http://example.com/custompage3/submenu1″>Submenu1</a></li> <li><a href= »http://example.com/custompage3/submenu2″>Submenu3</a></li> </ul> </li> </ul> And i’d like to achieve the following final markup for items with submenus : <ul id= »menu-menu » class= »menu vertical medium-horizontal »> <li><a href= »http://example.com »>Home</a></li> <li><a href= »http://example.com/custompage »>Page</a></li> <li><a href= »http://example.com/custompage2″>Page2</a></li> <li><a href= »http://example.com/custompage3″ data-toggle= »dropdown-custompage3″>Page3</a> <div class= »dropdown-pane » id= »dropdown-custompage3″ data-dropdown data-hover= »true » data-hover-pane= »true » data-position= »bottom »> <ul class= »grid-x grid-padding-x small-up-1 medium-up-2 large-up-3″> <li class= »cell »><a…

301 Redirect all page and post urls from .html to /

I have a current site where all URLs end with .html. I created a new site and the URLs are pretty much the same but without .html. I’ve been trying codes found here in my .htaccess file and most seem to cause Internal Server Error. http://example.com/page1.html to http://example.com/page1/ http://example.com/page1/page2.html to http://example.com/page1/page2/ My current .htaccess file code is: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress Source: https://wordpress.stackexchange.com/feeds

Custom Rest API namespace and endpoints are responding with 404 & 503 errors

I am new to WordPress plugin development. I was developing a plugin for WordPress that would be used to create mobile apps for WordPress Bloggers. The whole source code of the plugin is at:- https://github.com/delhideveloper/Delhi-Developer-PLugin-For-Blogger-Mobile-Apps I have implemented the JWT Authentication in the plugin using firebase JWT. I know there was already a plugin for implementing JWT authentication but it was not improved since 2 years and I was facing some problems with it. I have used only POST requests for every single API request just for simplicity. I hope…

Add a string to file .pot using Poedit

I want to add a string to a pot document for language, but it says there’s an error. I have opened file .pot with a text editor and I have add this code #:D:ProgrameInstantWPInstantWP_4.3.1iwpserverhtdocswordpresswp- contentthemessydney-child/category-38.php:56 msgid “” “Read more” msgstr “” while in my file I have add this one <?php _e( ‘Read more’, ‘sydney-child’ ); ?> Then I have downloaded file .pot and I have opened it with Poedit, I have add the translation “Read more”, but when I update it says: “Source code not available. Translations can’t be…

Create child theme after costumizing the original

Few years ago I started learning WordPress and I created a page. I didn’t know much about it then, therefore I didn’t create child theme before I started making changes in my theme files. I know, I should think about it before 😉 Now I want to make a little update on that page and I am looking how could I create a child theme to make modifications, and update the original theme… I was thinking. Can I create a folder via FTP transfer on my server. I would name…

How do I access a remote database with a local MAMP development install?

Okay so I have a wordpress website that I’ve been developing locally on my netbook. I want to be able to develop it both on my netbook and on my desktop so in order to ease the process and not have to reconfigure stuff each time I switch between the two, I decided to host my database remotely on my website, and then just configure the code for the local install to refer to the same database etc. I’ve followed this guide: https://coderwall.com/p/ck8v4a/remote-database-with-local-wordpress-instance and it does not seem to be…