ADS for theme blog

  1. 3 years ago

    Rom1160

    20 Feb 2015 Moderator

    Hi,

    I added pubs on my site with the theme blog and There are two that appears ! How pub should appear on this theme ?

  2. Web Fairy

    20 Feb 2015 Administrator

    first bug in 1.3, blog view system has no ads
    fix
    go to tpl/functions.tpl
    search for

                    {if isset($posts_ad) == true}
                        {if $style == 'a'}
                            <li class="brick-item adbox">{$posts_ad}</li>
                        {elseif ($style == 'b')}
                            <li class="adbox">{$posts_ad}</li>
                        {/if}
                    {/if}

    replace into

                    {if isset($posts_ad) == true}
                        {if $style == 'a'}
                            <li class="brick-item adbox">{$posts_ad}</li>
                        {elseif $style == 'b'}
                            <li class="adbox">{$posts_ad}</li>
                        {elseif $style == 'c'}
                            <li>{$posts_ad}</li>
                        {/if}
                    {/if}
  3. Rom1160

    20 Feb 2015 Moderator

    Thank !!

 

or Sign Up to reply!