RS shortcode in excerpt and product short description

Thomas's Avatar

Thomas

04 Jan, 2019 02:35 PM

"Preload CSS and JavaScript files: On posts with slider shortcode in content":
Does check the content part of posts or products only. We use RS shortcodes in excerpts and woocommerce product short descriptions. How to make RS to look for RS shortcodes in those parts too? Hacks directly in files are welcome.
Thank you … Thomas

  1. Support Staff 1 Posted by Dmitry Semenov on 04 Jan, 2019 08:54 PM

    Dmitry Semenov's Avatar

    Hello,

    Yes, it checks just in post content.

    You may check an option to include JS/CSS files on all pages, perfomance impact isn't too high as files are cached by the user.

    Or you may use PHP filter to include files on specific post type or page - http://help.dimsemenov.com/kb/wordpress-royalslider-tutorials/wp-in...

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac