Acme Themes

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Using third party system in Header Advertisement #8728
    Per Johansson
    Participant

    Thank you!
    It took me a while, but i finally got it working.
    I replaced line 325
    echo $supernews_header_main_google_ads;
    with
    echo do_shortcode("$supernews_header_main_google_ads");

    However, due to the nature of the free version of the ad plugin it’s not possible to get it to align right in an easy matter, but that can be solved by placing the ads inside a table. So i actually had to add two more lines to the code, ending with with the following three lines instead of the one i removed.

    echo "<table class=float-right><tr><td>";
    echo do_shortcode("$supernews_header_main_google_ads");
    echo "</td></tr></table>";

    Doing it the way i do now makes it possible to use the admin ui to change the shortcode should the need for it arise.

    Oh, and of course i copied the header.php file and placed in my child-theme.

    in reply to: Using third party system in Header Advertisement #8718
    Per Johansson
    Participant

    Thank you for quick answer.
    Sorry to say it don’t.
    It just displays the shortcode itself, in our case it shows [aas_zone zone_id=”1367″] where the ads should show up.
    I made a screenshot: http://www.amusetidningen.se/wp-content/uploads/2016/09/HeaderAds.png

    Per Johansson
    Participant

    Thank you! Works perfectly.

    in reply to: Sticky sidebar #6444
    Per Johansson
    Participant

    Thank you very much. Worked perfectly.

    in reply to: Sticky sidebar #6442
    Per Johansson
    Participant

    Thank you for a quick reply.
    I’m sorry i forgot to include a link to the site yesterday, but here it comes.
    http://www.amusetidningen.se/
    As you can see with Instagram widget the text above gets hidden behind the sticky menu, but if i disable the sticky menu it is visible. It seems that the sticky sidebar for some reason does not compensate for the fact that the sticky menu is enabled. If i remove the headertext on the Instagram widget, the first pic and the text “@amuse_tidningen” gets hidden behind the menu.

    I tried it in both Internet Explorer and Chrome, and it’s the same in both.

Viewing 5 posts - 1 through 5 (of 5 total)