WordPress.org

Support

Support » Themes and Templates » How to add home page link on PressPlay 2.1 theme?

How to add home page link on PressPlay 2.1 theme?

  • I am using PressPlay 2.1. Its looks but i don’t how to add home page link on to that theme. I read several articles on that but can’t able to that.
    PLZZZ help me.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Some more details would be helpful. Where are you trying to add the link – in the main menu, in a post, in a widget area, or in a template?

    I want to add link on template. in a top menu where contact us ,about us, advertising and other main links are appear.

    The easiest way would be to have a home page called Home, that would get included automatically if you are using Display list of Pages in PressPlay Options.

    If you don’t want that then you need to get your hands dirty. In header.php look for the menu section and add your home link there (this is for a menu above the header image):

    <ul id="page-list">
                    <li><?php echo home_url(); ?></li> <!-- this is your home link -->
    		<?php if($pp_above_header == "above_header_pages"){
    			wp_list_pages('title_li=');
    		} elseif($pp_above_header == "above_header_categories"){
    			wp_list_categories('title_li=');
    		} else { } ?>
    	</ul><!-- #page-list -->

    To do this below the header logo look for a section titled “navigation” in the header file and make a similar change.

    Sorry, that code above was done by my evil twin who skipped his morning coffee. Use the code below unless you want to look at ugly text:

    <ul id="page-list">
                    <li class="page-item any-other-class-you-want separated-by-a-space"><a href="<?php echo home_url(); ?>" title="(optional) take me home!">Home</a></li> <!-- this is your home link -->
    		<?php if($pp_above_header == "above_header_pages"){
    			wp_list_pages('title_li=');
    		} elseif($pp_above_header == "above_header_categories"){
    			wp_list_categories('title_li=');
    		} else { } ?>
    	</ul><!-- #page-list -->

    Thanks for your help. I add this but it show complete URL . I want to show only HOME text that link to my home page.

    The second snippet will do it.

    I have some links on my blog with strike through on it. How can i remove that link on a link ?

    Use Firebug or Developer Tools in your browser to trace the css, than either modify that css in your style.css file or add custom.css to override it.

    I want to put Banner Ad option in a header. Width: 728 Height:90
    How can I do that.

    Here is my blog link: http://www.designsblessing.com/

    Take a look at any of the banner ad plugins, see:
    http://wordpress.org/extend/plugins/search.php?q=banner+ads

    Thanks for the link. Know another question. In a header i want to put logo image that i have design. Currently it is text base logo. Know in a header file do i need to put HTML img tag to display logo .
    Or how can i display image base logo?
    Can you help .

    PressPlay has a Theme Option to add an 80px x 80px logo over the background image, it’s in the PressPlay options section called Header.

    If your logo is a different size than 80 x 80, for example 100 x 100, then it may be better to hard-code the image into header.php, at about line 104. Find this:
    <div id="title-logo"></div>
    and add your logo inside that div like so:

    <div id="title-logo">
        <img src="path/to/logo.jpg" alt="my logo" width="100px height="100px" />
    </div>

    And if you want it to be a link to the home page:

    <div id="title-logo">
    <a href="<?php echo get_option('home'); ?>/"><img src="path/to/logo.jpg" alt="my logo" width="100px height="100px" /></a>
    </div>

    I am applying google font on post heading but it didn’t show any effect on the heading font style. How can i apply google font effect on post title.

    You should create a new thread for this topic/question.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘How to add home page link on PressPlay 2.1 theme?’ is closed to new replies.