Define Shortcode Classes
-
Hello!
Is there any chance you can show me how to define [shortcode] initial css classes?
For instance, I can insert both plan links and [shortcode] into my content, but both would have the same class=”” attributes.
I know that after inserting the shortcode there is a way to modify the class=”” but ideally, I’d like to pre-define the different classes for [shortcode] VS plain links.
Then I can style them differently on the front end.
Maybe there is some kind of apply_filters that I can use to modify initial values?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Define Shortcode Classes’ is closed to new replies.