WordPress.org

Support

Support » Plugins and Hacks » Global option gone?

Global option gone?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author jamesdbruner
    Member

    @jamesdbruner

    You’re correct, I’ve removed the settings page because it was a huge chunk of code that I don’t feel is necessary.

    How to add the shortcode to every page:

    All you have to do is add this code to your header.php file in your theme **after** the wp_head() hook

    <?php do_shortcode('[vegas id=12 fade=2500 delay=4500 autoplay=yes arrows=no poster=no]'); ?>

    Obviously change out the shortcode to the values you want.

    If you’re not familiar with coding or need some more direction, see the codex: http://codex.wordpress.org/Function_Reference/do_shortcode

    I’m sorry that this is inconvenient for you!

    Plugin Author jamesdbruner
    Member

    @jamesdbruner

    One other thing. You’re welcome to still use one of the older versions. If 1.5 worked awesome for you, then feel free to use it. You can see/download older versions here: https://wordpress.org/plugins/vegas-fullscreen-background-slider/developers/

    Natalie MacLees
    Participant

    @nataliemac

    Hmmm…I used the global feature more often than the individual page option, I think. I guess it will be interesting to see if it really was unnecessary. I’m definitely going to miss it.

    I was trying to figure out how to get a single slideshow to display globally since I’d also need to cover archive pages, etc. I hadn’t thought of inserting the short code directly into the header.php file – I’ll certainly do that for now to fix my sites, but it reduces the portability of my theme.

    Overall, this is a great plugin – it’s a tricky jQuery plugin to try to integrate into WordPress just because of the way it needs to be configured, but I think you’ve done a good job of figuring out how to make that work. I appreciate it, and the work you’ve put into the plugin. 🙂

    Plugin Author jamesdbruner
    Member

    @jamesdbruner

    Thanks Natalie, I appreciate you using the plugin and don’t for a second think that your feedback is lost on me. I’m just trying to figure out a better way to implement a global option rather than the way I previously doing it. I wont make any promises as to when since I work full time and I get busier as summer goes on but I will try to make some time!

    Sorry, I know it’s kind of inconvenient for you… :/

    Natalie MacLees
    Participant

    @nataliemac

    Just a small change to the suggested code here in case anyone else comes along and needs to use it:

    <?php echo do_shortcode('[vegas id=12 fade=2500 delay=4500 autoplay=yes arrows=no poster=no]'); ?>

    You have to include echo. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Global option gone?’ is closed to new replies.