Forum Replies Created
-
AuthorPosts
-
No need to activate a debug mode to see shortcodes because simply switching to the standard WordPress editor does the job !
With the advantage that “template-builder.php” is no longer used (normal templates are used (page.php, single.php,…))
Working with Avia Layout Builder inserts regular shortcodes inside regular visual editor. So the solution (that works!) is to build a page with the help of Avia Layout Builder, then switching to regular visual editor (where we can see shortcodes) and updating post-page.
I’m afraid that I’ve to buy an other theme (Avada) !
No response ?
So, the solution is : work with Avia Layout Builder to organize content and switching to default editor before updating. Could you confirm ?
Thanks for this explanation
I agree with victoriaeduc and the others.
It would be great if you can provide and style a widget (for homepage for exemple) with a list of events : date, title, thumbnail. An a page dedicated of course.
Thanks for the non-designers ;)
========
In the Avia Layout Builder, it would be nice if there are other options of columns : two fifth, three fifth ; one half, one fourth, one fourth ; … (all combinaisons)
This is in your docs :
Calling the slider from your theme files
Because a slider can be an integral part of your site, you may want to place it into your theme files. There is a PHP function with filtering options which you can call for example from the header.php file of your theme and it inserts your slider into your home page or certail other pages depending on your filtering settings. Here is the function definition:
layerslider ( mixed $sliderID [, string $pages] )
...I prefer this way of doing than inserting shortcodes in editor. If you provide this function, I expect it to work !
No I don’t want to use this method, I want to use the method you’ve planned for theme’s php files (I’m a developper so inserting a lot of shortcodes inside editor is not the best way for me)
Why it doesn’t make sense ?
You have created php function to display the slider in php files, so I use it !
PHP function “layerslider(xxx)” does the same as “do_shortcode(…)”, I want to use the best way to display my slider on homepage.
How do you manage this with the slider in demo ?
I’ve found the BUG !
Happened when :
– creating a new page ; no content inside
– set this page as “A static page” in the Front page displays in “Settings > Reading”
Because there has never been a slider shortcode inside the page content, “ShortcodeHelper::$tree” is empty and not an array. So the function “post_has_layerslider” return always “false”.
How do I solve this temporarily ?
I inserted a layer shortcode inside page, I updated, and I deleted it just after. It seems that Avia keep in memory “av_layerslider” also when there is no more slider in page content.
Nobody use php function for displaying slider in homepage ?
-
AuthorPosts