Forum Replies Created
-
AuthorPosts
-
Per JohanssonParticipant
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.
Per JohanssonParticipantThank 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.pngJuly 16, 2016 at 3:41 pm in reply to: How to remove featured images from specific category archive page #6601Per JohanssonParticipantThank you! Works perfectly.
Per JohanssonParticipantThank you very much. Worked perfectly.
Per JohanssonParticipantThank 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.
-
AuthorPosts