Forum Replies Created

Viewing 4 replies - 46 through 49 (of 49 total)
  • Thread Starter Ian Anderson Gray

    (@baritoneuk)

    Fab, this looks great. I assume I add this to my theme’s functions.php file? Is there any documentation on this? I’ll have a play but I’d love to be able to add a couple of time fields. Would also be great if there was a forum where people could share their examples. I tend to learn by seeing other people’s examples.

    Thread Starter Ian Anderson Gray

    (@baritoneuk)

    I have some Javascript/JQuery Knowledge, but obviously not enough as I don’t have a clue how to implement what you are saying! I have the following code for one of the pages I want a map to show (taken from one of the documentation/forum pages):

    if(function_exists('pronamic_google_maps_mashup')) {
        pronamic_google_maps_mashup(
            array(
                'post_type' => 'post',
    	    'posts_per_page' => -1
            ) ,
            array(
                'width' => 620 ,
                'height' => 500 ,
                //'map_type_id' => 'street' ,
                //'marker_options' => array('icon' => 'https://google-maps-icons.googlecode.com/files/photo.png')
            )
        );
    }

    I was hoping there was an option to change the zoom controls here (in a similar way to the marker options). Is this not the case?

    OK, this is a very clumsy/dirty way of doing it, but at least it works…kind of…

    // Remove the excerpt ( can also be removed via plugin options )
    remove_action('promoslider_content', 'promoslider_display_excerpt');
    // Add action to display content
    add_action('promoslider_content', 'my_slider_content');
    // Function to display content
    function my_slider_content(){
      global $post;
      echo "<div style=\"width: 960px; height:250px; background-color: #fff;\">".$post->post_content."</div>";
    }

    Be great if there was a better way

    Just found this thread after Googling and it’s just what I needed. I really love Promotion Slider, but wanted to use it to show actual content as well as images. It would be great if you could add this functionality to the plugin, perhaps a tick box saying “include content in slider”.

    Is there a way of removing the background gradiant black image? I assume this is not possible on a per-promotion basis. I suppose I could set the background of the content to white, but it would be good to have the option.

    Finally, are there any plans on adding an embed button above the editor in posts/pages to easily embed a promotion? Gravity forms do this quite effectively. I’m not against having to type in the shortcode, it’s just easier (especially for noobs) to have a nice button to click!

    Thanks.

Viewing 4 replies - 46 through 49 (of 49 total)