226 reputation
212
bio website
location
age
visits member for 2 years, 6 months
seen Aug 29 at 6:32

Aug
29
asked Plugins missing in front end but appear in backend FTP
Jul
23
comment Looking to exclude blog posts from category Previous/Next buttons
There is only the one category that I need excluded (but if it happens that it works with all categories being excluded then that's fine too!). It's currently 2am here so I will be heading off but will check back later. Thanks for everything!
Jul
23
comment Looking to exclude blog posts from category Previous/Next buttons
I appreciate the information. This is an older website so it doesn't have the framework I'm used to now so I'm having to rely on other means. Worst case scenario I'll just completely take these links out as I can't spend too much time on this now.
Jul
23
comment Looking to exclude blog posts from category Previous/Next buttons
Thanks for pointing that out. It had used to be 97, so that was just a typo. I've corrected it now.
Jul
23
revised Looking to exclude blog posts from category Previous/Next buttons
edited body
Jul
23
comment Looking to exclude blog posts from category Previous/Next buttons
I see that there is an exclude option on the next_post_link however I don't want to exclude the category on both the blog and category page when looking through the posts, so I need that if else to say. If I'm browsing the category posts show these links "Previous in Legal Libation Columns" & "Next in Legal Libation Columns". Else, show these links "Previous" & "Next".
Jul
23
comment Looking to exclude blog posts from category Previous/Next buttons
Thanks for the reply Brad. I'm however not looking to filter out the category (as I hope I've already done this), you can see the code I'm using to do this already at the bottom of my updated question. I'm just looking for an correct if else statement so that I don't run across any category 98 posts when hitting the Previous or Next links to view more posts when in the blog section.
Jul
23
revised Looking to exclude blog posts from category Previous/Next buttons
Just updated the question with more information
Jul
23
comment Conditional category & tag statement
Thanks. I started a new topic for more guidance on the post links - wordpress.stackexchange.com/questions/155486/….
Jul
23
asked Looking to exclude blog posts from category Previous/Next buttons
Jul
22
awarded  Critic
Jul
22
comment Conditional category & tag statement
Thanks for all of this. Will be fixing it up with your suggestion as well. One more thing, i there a way to have the Previous and Next buttons only go through the specific category as opposed to both the category and the blog?
Jul
22
accepted Conditional category & tag statement
Jul
22
revised Conditional category & tag statement
Added more informative information
Jul
22
comment Conditional category & tag statement
I had used && but it gave me a white screen? See updated question.
Jul
22
asked Conditional category & tag statement
Jun
19
awarded  Popular Question
Apr
28
awarded  Popular Question
Apr
13
comment Custom post type not displaying all entries
Great point out. Thanks!
Apr
13
accepted Custom post type not displaying all entries