• Resolved naifyboy

    (@naifyboy)


    i have created links that show up on my About page.

    however, these links do not show up on any category pages or pages with bloggs on them.

    can someone please tell how to get my links to show on every page/view that there is.

    thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Since this is a theme specific question… it probably would be a wise idea to
    a) provide a link
    b) refer to the theme you are using

    Thread Starter naifyboy

    (@naifyboy)

    i am using an edited version of the default theme

    url is:

    https://flowersdelivereduk.com/blog/?page_id=2

    Then you have to live with the code that comes with that theme. Looking into your sidebar.php file you will see a lot of conditionals (is this > do that etc.)
    Either pick another theme without conditionals in the sidebar – or remove/edit the code.

    Thread Starter naifyboy

    (@naifyboy)

    a clue on how to edit the code in the sidebar would be nice

    Thread Starter naifyboy

    (@naifyboy)

    i found the following code in sidebar.php – which looks like it only applies the links to the fontpage:

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    <?php get_links_list(); ?>

    how do i edit this code to make the links apply to all the pages?

    If you have only this:
    <?php get_links_list(); ?> that should display all the time.
    However, be careful how you edit/remove the conditional – somewhere further it has to have a closing tag.

    Thread Starter naifyboy

    (@naifyboy)

    thanks very much

    Remove that one..
    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>

    Then near the end of the sidebar.php file, find this and remove it too:

    <?php } ?>

    If I remember right, I think there is some other things that need as well as just those above things.. but, one step at a time.. or,..like moshu said, just grab another theme..

    It’s a heck of alot easier then a massive theme editing job lol. =P

    spencerp

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Show links on all pages’ is closed to new replies.