Paging navigation + Conditional Tags

Community Forums Forums Design Tips and Tricks Paging navigation + Conditional Tags

This topic is: not resolved

This topic contains 5 replies, has 2 voices, and was last updated by  Nian 1 year, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #14138

    Nian
    Participant
    Post count: 3

    Hi,

    I having problem with my News theme. I have been looking all day for a fix on these two problems.

    First would like to install this plugin,http://wordpress.org/extend/plugins/wp-pagenavi/ but i do not understand where to put the code? I have looked true the code snippets but i cant figure this one out.

    Second, i would like to only shows tags in single post page, as it is now it shows up in home, category/archive, i have tried so solve this my self but i cant figure the code out.

    I really hope that someone here can give me a hand on this problems.

    Thanks in advance.

    #14166

    braddalton
    Participant
    Post count: 7473

    Here’s the code for the post meta customization. You can change the conditional tag.

    The news theme already includes page/archive navigation links.

    If you want next and previous post links, follow this tutorial.


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #14173

    Nian
    Participant
    Post count: 3

    Thank you for the replay.

    But i do not know what to change in this code as i wrote in order for it to only show up in single and no where else.

     

    #14360

    Nian
    Participant
    Post count: 3

    Anyone that know how to write the code like explained above?

    #14372

    braddalton
    Participant
    Post count: 7473

    http://codex.wordpress.org/Conditional_Tags

    You can change the tag to suit your needs.


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #14382

    Nian
    Participant
    Post count: 3

    That is the problem, i have been reading that page over at WordPress but i cant figure it out what to add to the snippet code in order for it to only show on single.

    There should be “else” and then something more after, but i do not know how to learn it. I am a totally new when it comes to coding.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.