I set cookie for my users to know from which source they come to the site and I want when…
Customizer input focused, change CSS in preview
I have created a javascript function which changes the css inside the preview when a input is focuses, this means…
How do I exclude a function from running on AMP pages in WordPress?
How do I exclude a function from running on AMP pages in WordPress? if (!(is_admin() && is_amp_endpoint())) { function defer_parsing_of_js…
Get Post Primary Category
I have troubles with getting the posts primary set category. How should I achieve this? My code: global $post; $terms…
i need to show featured post on custom taxonomy page
i need to show featured post on custom taxonomy page above default loop but not and my featured loop code…
Woocommerce Add custom “Add to cart button” in single page with tags
I want to add a custom “ADD TO CART” button in the single product page. I have done it using…
Revoke membership access after refund from transaction table in memberpress
I have created custom plugin and trying to revoke member access from MemberPress course. MemberPress API is not working because…
Add a comments meta box to the custom post type
I have created a custom post type called groups and I would like to add the comments meta field to…
Siderbar implementation with collapsible bootstrap cards
I’m trying to implement collapsible bootstrap(Bootstrap 4) cards on sidebar widgets, until now I have this: register_sidebar( array( ‘name’ =>…
WordPress: Issue with filtering users using date range
I’m trying to add a date range filter for wordpress admin users table to filter users that have posted ads…
Google 404 errors resulting from WordPress generating category URLs
I just received an email from Google telling me there’s an increase in 404 pages on my website. When I…
Massive wordpress (The Flavour) issues
Built wordpress content with brizy on the dashboard. Everything is done and ready to go live. However the template keeps…
add_rewrite_tag broke permalinks that doesn’t use that specific tag
I have a custom post type that I’d like to have a permalink slug based on its taxonomy. All the…
I have a broken theme and want to delete it
I have taken over the maintenance of a website and just want to eliminate unnecessary files. Broken themes – grace_theme…
Custom post types & Pages hierarchy – Error 404
I’ve defined two custom post types: Theme Fiche I’ve also 7 pages using a defined rubrique template: (template-rubrique.php) Both my…
How to stop WP from appending a single dash to the end of my permalinks?
I’ve seen a lot of questions about WP appending a “-2” to the end of permalinks where a duplicate page…