WordPress.org

Support

Support » Plugins and Hacks » [Resolved] TinyMCE editor doesn't seemto work on the promotions?

[Resolved] TinyMCE editor doesn't seemto work on the promotions?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Micah Wood

    @woodent

    @igloobob,

    Only the featured image and, if enabled, the excerpt will show on the slide. By default, when a user clicks on a slide it will take them to the promotion page, which will contain the content you enter into the TinyMCE editor. It is working, you are just looking in the wrong place.

    Yes, I just noticed this and was abut to post back. Is there any way of styling the excerpt text?

    Great plugin by the way thanks Michah 🙂

    Plugin Author Micah Wood

    @woodent

    @igloobob,

    Indeed there is. There is a div wrapped around the excerpt with a class of promo_slider_excerpt.

    Hi Micah,

    I was more meaning is it possible to style bits within the excerpt differently, such as or a <span> etc. I suspect not though.

    One more question, is there a way to make the entire slide a link rather than just the promo title?

    forgot about the code link for above, I mean to say adding strong bold elements or spans.

    Plugin Author Micah Wood

    @woodent

    @igloobob,

    You can place HTML in the excerpt field and it will display in the slider.

    Regarding making the whole slide a link, that is possible. It will require using one of the built-in filters to change the markup or some custom JavaScript to get that working.

    Hi Micah,

    that’s great re: the html in the excerpt, will do that for sure.

    “Regarding making the whole slide a link, that is possible. It will require using one of the built-in filters to change the markup or some custom JavaScript to get that working. “

    This sounds beyond me, could you possibly point me in the right direction so I can look into it please?

    Thanks for the suggestions

    Plugin Author Micah Wood

    @woodent

    @igloobob,

    Here is an easy way to implement what you are wanting with the links: http://css-tricks.com/snippets/jquery/make-entire-div-clickable/

    Instead of using .myBox, just use .promo_slider.

    cool thanks Micah 🙂

    sorry for being a complete numpty but where should I be adding this script?

    $(“.promo_slider”).click(function(){
    window.location=$(this).find(“a”).attr(“href”);
    return false;
    });

    Plugin Author Micah Wood

    @woodent

    You can drop it into the js file in the promotion slider plugin. Just know that an update to the plugin will overwrite your added code. You may be able to add to a js file in your theme, or if you really want to do it right you would create a plugin that handles all your site-specific code and load it there.

    Just make sure it is inside of this:

    jQuery(document).ready( function($) {
      # Put it in here, either before or after everything else.
    } );

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Resolved] TinyMCE editor doesn't seemto work on the promotions?’ is closed to new replies.