Forums

[resolved] WP - outside links - Shopify (5 posts)

  1. book246
    Member
    Posted 5 years ago #

    Being new to web mechanics in general, I'm don't know the lingo to search for this info, although I've tried...

    I have WP installed on my server. I'm using a triK2 theme.
    I am set up at shopify.com. I want to use my WP blogsite as my home page with Shopify as my shopping cart. I don't know how to add a header link that goes to the shopify site - (Home, About, Contact, "Store" - not sidebar links). I'm going have to figure out how to get from the store back to my WP site as well.

    Thanks,
    Book

  2. book246
    Member
    Posted 5 years ago #

    Here's hoping for a happy and productive new year for everyone!

    Any ideas where a newbie could look? I don't know the lingo well enough yet to make an effective search...

    How do I add an offsite link and button to the header on a WordPress triK2 theme? Offsite links in blogrolls appear obvious enough but I seem to be having a tough time with header links. I'm sure I'm missing something, surely...

  3. Evita
    Member
    Posted 5 years ago #

    I don“t know this theme, but I think in your header.php there must be something like that:
    <div id="header">
    <ul>
    <?php wp_list_pages('arguments'); ?>
    </ul>
    </div>

    All you have to do is putting your link in it like this:

    <div id="header">
    <ul>
    <?php wp_list_pages('arguments'); ?>
    <li>YOUR LINK</li>
    </ul>
    </div>

    Good luck.

  4. book246
    Member
    Posted 5 years ago #

    Danke Evita!

    That worked!!! I've been asking that question for months around the web with no luck until now.

    The code was different but I found the snippet you mentioned and added an href link and it worked.
    Thank YOU!!!

    -------------
    Below is the header code in this particular theme.
    -------------
    <div id="header">

    <center><h1>"><?php bloginfo('name'); ?></h1>
    <p class="description"><?php bloginfo('description'); ?></p></center>

    <ul class="menu">
    <li class="<?php if (((is_home()) && !(is_paged())) or (is_archive()) or (is_single()) or (is_paged()) or (is_search())) { ?>current_page_item<?php } else { ?>page_item<?php } ?>">"><?php _e('Blog','k2_domain'); ?>
    <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
    <!-- Disabling admin tab by default in 3k2 -->
    <!-- <?php wp_register('<li class="admintab">',''); ?> -->

    </div>

  5. Evita
    Member
    Posted 5 years ago #

    I am glad that I can help and please mark this thread as resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic