Getting $comments outside the comment template
I have a ajax request hooked on “template_redirect” (the ajax requests the post’s url), and I want to display only the comment template:
I have a ajax request hooked on “template_redirect” (the ajax requests the post’s url), and I want to display only the comment template:
I have a custom post type and used get_next_post() and get_previous_post() to create a simple pagination. However i need to create a pagination loop (if that is the correct term). If i’m on the first post i need to browse back to the last post and if i’m on the last post i need to browse to the first post. Is there a simple way to do this that i haven’t seen but Google, this site and the codex has not been very helpfull :/
This might sound like query_posts with pagination problem number 2103024 but I think this one might be special.
I use the add_menu_page function to add an new admin menu:
I noticed when you typein the user’s “biographical info” on the profile, it shows up in one page! Looks really terrible. So:
So far this is the code I have in my index.php file:
Ok so I have a custom post type of “Products” and a custom taxonomy of “Types”. Now in the types taxonomy I have dozens of categories and sub categories assigned to custom post types.
I browsed WordPress Codex, and I find something like this →
I have a custom query and I am filtering out events by custom field: event-month. I simple filter our the events that dont have a month_number = to date(“n”);
I am trying to use the next/ previous post link functions by WordPress to move between posts of a custom type based on the surname of a person.