WordPress.org

Ready to get started?Download WordPress

Forums

Slideshow
[resolved] custom error (2 posts)

  1. dmorrisse
    Member
    Posted 1 year ago #

    Im trying to add the slider to my white wrap:

    I cant find what to call to action though:

    add_action('headway_whitewrap_open', 'add_slideshow_deploy');
    
    function add_slideshow() {
    ?>
    	<div class="headwayslide" style="position: relevent; width: 100%; top:0px;">
    <?php
          echo 'slideshow_deploy', '5082');
    
    ?>
    	</div>
    
    <?php

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum's parser.]

    http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/

  2. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    The piece of code that's needed to call a slideshow in PHP can be found on the slideshow's settings page. I have edited the code you posted above, the piece of code could be used like the following:

    add_action('headway_whitewrap_open', 'add_slideshow_deploy');
    
    function add_slideshow_deploy() {
    ?>
    	<div class="headwayslide" style="position: relative; width: 100%; top:0px;">
    		<?php do_action('slideshow_deploy', '5082'); ?>
    	</div>
    <?php
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.