Tagged: "content elements", icon, media elements
-
AuthorPosts
-
April 26, 2019 at 10:11 pm #1094834
Hi.
I would like to make a media element ( Full width Easy slider ) where I can place inside the slider, both content elements, icon and icon liste.
Is that somehow possible ?
Have tried to work around it myself, but without any luck
- This topic was modified 5 years, 7 months ago by Edsbjerg.
April 27, 2019 at 6:40 pm #1094942Hey Edsbjerg,
The slider caption field doesn’t support element shortcodes, but you can try to create your elements using the “shortcode wand” in the Classic Editor
Then try to display them in a new shortcode like this:function icon_sc( ){ return do_shortcode('[av_font_icon icon="ue889" font="entypo-fontello" size="20px"][/av_font_icon]'); } add_shortcode( 'icon_short_code', 'icon_sc' );
This one displays an icon where the shortcode “[icon_short_code]”
Best regards,
MikeMay 13, 2019 at 8:55 pm #1100289Hi Mike
Thanks for your solution, which I must be quit stupid too, since I don´t get it :-(
When I make a new page with the classic editor and choose the magic wand i get this :As you might can see I get the options content elements, Media elements and so on.
Non of them allows me to create my own elements as far as I can see ?
Not even the possibility to insert a code block is present.So after I have tried numerous ways to make as your description I have tossed the towel into the ring and given up !
Will you please help me if possible ?
Best regards
Kim Larsen
Odense, DenmarkMay 13, 2019 at 9:52 pm #1100304Hi,
Sorry, I don’t think I was as clear as I should have been, when you create your shortcode within the wand, then replace the shortcode within the function above and add it to your functions.php
then you can add this new shortcode to your slider
“[icon_short_code]”
Perhaps I could demonstrate better with an admin login and a test page?Best regards,
MikeMay 14, 2019 at 9:52 pm #1100754Hi Mike
I have made acces to you here :
And this page is ready for you to play around : http://edsbjerg.dk/mikes-playground/Kind regards
Kim- This reply was modified 5 years, 7 months ago by Mike. Reason: I have removed login from public view
May 16, 2019 at 9:24 pm #1101582Hi,
Thanks for the login, I gave a few things a try and unfortunately it didn’t work as I expected, but I was able to place the icon list over the slider with a negative margin-top css..avia-icon-list-container { margin-top: -50vh!important; }
This css could be added to your Quick CSS, but I added it to a code block element so you could see it easier.
Please take a look at the page and the elements and let us know if this helps.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.