• I have WP 2.9 and using a theme called Dazzling effects for my website https://beatingdepressionnow.com I have been able to go to the file “sidebar.php” at my host company and edit the code so the Hot Spots affilaite is active.

    I need help with editing the code for the Sponsors spots above the hot spots link. I have tried editing the lines

    <div class="sidebar1">
                	<div class="sidebarbox" id="sidebar-4">
                        <div class="sidebarboxheading"><h2>Sponsors</h2></div>
                        <div class="bodyWrapper">
                            <div class="body">
                                <ul class="sponsors">
    
    <li><span>Advert(125 x 125)</span></li>
    <li><span>Advert(125 x 125)</span></li>
    <li><span>Advert(125 x 125)</span></li>
    <li><span>Advert(125 x 125)</span></li>
                                <div class="clear"></div>
                            </div>
                        </div>
                    </div>

    `
    I tied to change the

    <li> **** </li>

    to the code available for the hyperlink redirect for each affiliate but that does not work. I emailed the theme developer but not getting an answer. Can anyone offer any input. I will be glad to put your site link on mine as a referral for amazing site design help.
    Thanks Tony

Viewing 1 replies (of 1 total)
  • what exactly ‘did not work’?

    you can simply put your link code into the place of Advert<br />(125 x 125) -> <a href="https://www.affiliatelinkurl" title="link to affiliate">linktext or image</a>

    it may need a bit of adaptation in style.css to make it look right; for which you can get help here ??

Viewing 1 replies (of 1 total)
  • The topic ‘Need help to edt code in sidebar.php’ is closed to new replies.