• We recently changed our theme to Magazine Basic, which has a banner ad option. The option requires a link to an image, and the meteor slide shortcode doesn’t work. Would a URL to Meteor slides work, and if so what would that be? Or should I add the template tag to the theme file – but which is that and where? Sorry, still not familiar with the WP code pages.

    https://www.ads-software.com/extend/plugins/meteor-slides/

Viewing 15 replies - 1 through 15 (of 16 total)
  • If the banner ad only supports an image URL you won’t be able to use a shortcode or template tag in that spot. You will have to edit your theme and replace that spot with a template tag for the shortcode.

    You need to take this chunk from your header.php file:

    <?php if(pbt_theme_option('header_ad') == 'on') { ?>
    		<?php if(pbt_theme_option('headerad_img')) { ?>
                <div id="headerad"<?php echo $adfloat; ?>>
                    <a>"><img src="<?php echo pbt_theme_option('headerad_img'); ?>" alt="" /></a>
                </div>
            <?php } else { ?>
                <div id="headerad"<?php echo $adfloat; ?>>
                    <a href="https://themes.bavotasan.com"><img src="<?php echo THEME_URL; ?>/images/topbanner.png" alt="Themes by bavotasan.com" /></a>
                </div>
            <?php } ?>
        <?php } ?>

    And replace it with something like this:

    <div id="headerad"<?php echo $adfloat; ?>>
    <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>
    
    </div>

    Thread Starter gsgltd

    (@gsgltd)

    Thanks again very much for your help. Will try this and report back.

    Thread Starter gsgltd

    (@gsgltd)

    It WORKED! Thank you, thank you, thank you!

    You’re welcome!

    We are trying to do the same thing with News Magazine Theme 640 and putting your (excellent) Meteor Slides as ‘banners’ in the theme’s Genneral Settings Leaderboard Space Content.
    We have looked in the header.php file but can’t see code similar to your suggestion for substitution.

    This code is for the Magazine Basic theme, the code in “News Magazine Theme 640” is going to be different, but I don’t see this theme in the directory.

    Ah -search found the wrong forum.
    Apologies.
    The News Magazine Theme 640 is here:-
    https://wpth.net/news-magazine-theme-640-free-wp-theme/#more-211

    We wish to replace the 728*90 Banner image (the Girl with eyes but no nose!) with Meteor Slides.

    The theme is 404. The easiest way to figure out where the slideshow should go is to inspect the page with Firebug and take a look at that image you want to replace. Figure out what container it is in and look for that container in the header file.

    Not sure what you mean by 404 (we only downloaded it in Jan this year) by antisocialmediallc.com.

    Don’t think my expertise is up to what you suggest!

    Need to know how to call meteor-slideshow from Leaderboard Space Content

    404, as in the file is missing.

    Put the code for your header.php file on pastebin.com, and post a link to the site you’re working on and I might be able to tell you where to put the template tag for the slideshow.

    Have done so under name blackbeeman with link a bottom of list.
    https://www.martley.org

    I posted a new version of the file on Pastebin: https://pastebin.com/h8eVcQ3k

    Not sure exactly how you have it setup, but I am guessing that you have added that entire table with the animated GIF and “Listen” link that are in the #leaderboardspace container? So in the new version I have replaced the code inside that container with the table and its code, and then replaced the animated GIF with the slideshow template tag.

    Try it out and let me know if that looks right.

    Thanks so much. You are right in how we have it set up. I tried your code on a parallel server https://78.32.143.66:800/wordpress/. I pasted your code into the #leaderboardspaceand it ‘broke’ the page showing
    >

    <?php bloginfo(‘name’);?>

    I need to try it on a larger screen/and have a go with Firebug (not used before)

    This code is the whole header.php file,try deleting all the code in that file and replacing it with that code.

    You are a MASTER.
    Thank you very much. Sorry for delay the ‘job’ got in the way!
    I managed to ‘crash’ my parallel site a couple of times by using the editor in WordPress + Notepad. I downloaded Notepad ++ and uploaded your file using FTP and PRESTO it worked. Will modify the ‘pictures/banners’ before I risk the main site
    Thank you again.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Plugin: Meteor Slides] Meteor banner ad’ is closed to new replies.