How to create a filter and add query params to all links
I have been trying for days and cannot get it to work
I have been trying for days and cannot get it to work
I know I can use define('WP_POST_REVISIONS', 5); to limit future post revisions to 5, but how would I go about purging all existing revisions except the latest 5?
I know woo-commerce has it’s own way of providing custom php templates in a child theme for its various views. I’m wondering if all plugins adhere to a standard way doing the same. For example, I’m using a plugin with a template located at wp-content/plugins/PLUGIN_NAME/templates/view-x.php. Is there a standard location in my child theme that I can create my own custom view-x.php that will override the default version? Or does it vary from plugin to plugin?
I have created a list of my contributors for my website it works well. I’m trying to do this with a shortcode in my functions.php. The list appears well. But when I want to place it in my theme in any page, it appears before the content whereas I want it to be at the bottom of the page of its appropriate page template. I can’t seem to find my mistake
I have a WordPress installation that I want to reinstall. However, I also have in it several uploaded files (.doc and PDFs) that are linked by external sites. They are not used in any of my own pages: I just uploaded them to my WordPress site instead of putting them in a Dropbox or a Google Drive, and now I can’t (or shouldn’t) delete them.
In ACF, the_field(‘battery’); outputs as follows :
I am managing a multi-site instance of Wp with 300 sites and so I am trying to see if this can be done automatically.
I am creating a page template in WordPress that displays multiple tags that are in a particular category. I have this working, but now I want to have the number of posts within each tag that is displayed as well like if I had a tag called apples with 5 posts it would look like this:
Imagine that I have an HTML file as one of my WordPress blog pages (let’s call it page B). I want to write an if condition inside a tag on page B to check if a specific element exists on another web page (page A). My question is what function should I choose to check … Read more
Using Basic Authentication as an Administrator, I am getting an error code 401 Unauthorized : [rest_cannot_view_plugins] Sorry, you are not allowed to manage plugins for this site. error when I attempt to access the GET /wp-json/wp/v2/plugins endpoint of my server. I can pull Post and Page info with no problem, but when I query against the plugins, I’m getting the 401 error. I’ve confirmed that the userid used in the API call should be able to manage plugins using the CLI tool: