• I don’t know how to activate the ad blocks. I need simple instructions as I have no idea how to work with php.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Adding your own ads is easy- all you need to do is open up sponsors.php in the theme directory and you will see 4 lines like this:

    <a href="#"><img src="<?php bloginfo('template_url'); ?>/images/ad.gif" alt="Sponsor" /></a>

    Each line is an ad image/link.

    Change the “#” to the URL the ad should go to when clicked. Add your 125×125 ad graphic to the theme images directory and then change “ad.gif” to the name of your ad.

    A completed example would be:

    <a href="https://www.google.com"><img src="<?php bloginfo('template_url'); ?>/images/google_125x125.gif" alt="Sponsor" /></a>

    This ad would show the google_125x125.gif image located in the /wp-content/themes/wp-portaltheme/images/ directory and link to https://www.google.com when clicked.

    Optionally, you can change the alt text that says “Sponsor” above to something more search engine and accessibility friendly.

    Would you be able to recommend how I can remove the sponsorship block?

    Sure.

    Just open up sidebar.php in the wp-portaltheme directory and comment out or delete everything between the “begin” and “end” sponsors comment tags like below:

    <!-- begin sponsors -->
    <h2>Sponsors</h2>
    <p id="sponsors">
    <?php include("sponsors.php"); ?>
    <!-- end sponsors -->

    Hi, I like this theme but please tell me the exact piece of code I need to delete to remove the search box in the header as this is overlapping my title. Thanks

    idealer

    (@idealer)

    Loving this theme but I need help.
    How can I change it from displaying “excerpt” to displaying “content’
    This way I can use the inbuilt wp more code so that my images can show in the frontpage. please help.

    This is a great theme!

    Is there a way to remove the ‘search’ feature in the header, and place an image in the top right?

    I’m not familiar with code, so if there is an easy way, please let me know.

    Thanks!

    I love this theme! Thank you! ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Graphics’ is closed to new replies.