I have two different AJAX
load more functions in my website. One for my archive page, the second for the taxonomy page.
is_front_page() in the below code is not working… this function just doesn’t run when I’m on the front page, any idea why? am I doing something wrong?
I am trying to create two custom fields for image and text.
I have two inputs in the loop:
I’m building a metabox gallery in WordPress for a specific page template. I have the following warning notice in the dashboard:
If exist the page parameter in the blog post, I have to redirect to the 404 page instead of current post URL.
I tried to check the current page type (is singular) and try to get page parameter in the function.php, but I couldn’t. It’s doesn’t work together. I need to implement it only for blog post.
If possible .htaccess redirect also fine
I need to put the name of the author who wrote the post and I can’t find the solution.
Is there a smarter way to write this function? Maybe with wildcards?
I’m trying to add a .current-menu-item class to a li when on a specific url “/portfolio/”. I can achieve this with jQuery: