roccons2
Forum Replies Created
-
mmm I just found it. Indeed that’s NOT nice…
https://enviragallery.com/docs/cancel-your-subscription-with-envira/#define-cancellation
What Does “Cancel My Subscription” Mean?
When you purchase an Envira License, a subscription is created to auto-renew your license each term so you can enjoy continued support and access to updates without interruption.When you cancel your subscription, you will have access to support and updates through your paid term, but your license will not auto-renew.
Note: License expiration does not affect the usability of Envira on your site. You can continue to use Envira; however you will not have access to updates (including security/bug fixes or new features/addons) or support without an current, active license.
Btw, the prices page does show which versions include the video plugin, but says nothing about expiration.
https://enviragallery.com/pricing/#pricing-table-comparisonHow did you know about the vigency of one year? What happens after the year is completed?
Forum: Themes and Templates
In reply to: Widgets problem with Flat Bootstrap themeI’m glad to know you found my comment useful!
I think to achieve the behavior that you want it could be better adding internationalization to the calls, instead of using the id’s, as in the example:
if ( ! dynamic_sidebar( __( ‘Sidebar’, ‘flat-bootstrap’ ) ) ) : ?>Forum: Themes and Templates
In reply to: Widgets problem with Flat Bootstrap themeI just did a test that __( ‘Sidebar’, ‘flat-bootstrap’ ) returns “Barra lateral” (which is sidebar in Spanish). That’s why it’s not working.
I also found that an easier way to solve the widgets problem in internationalized versions, instead of editing several files is to strip the internationalization out of the names in register_sidebar functions.
Mine is now this way:
function xsbf_widgets_init() { // Put sidebar first as this is standard in almost all WordPress themes register_sidebar( array( 'name' => 'Sidebar', 'id' => 'sidebar-1', 'description' => __( 'Main sidebar (right or left)', 'flat-bootstrap' ), 'before_widget' => '<aside id="%1$s" class="widget clearfix %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); // Put footer next as most themes put them here. Default # columns is 3. register_sidebar( array( 'name' => 'Footer', 'id' => 'sidebar-2', 'description' => __( 'Optional site footer widgets. Add 1-4 widgets here to display in columns.', 'flat-bootstrap' ), 'before_widget' => '<aside id="%1$s" class="widget col-sm-4 clearfix %2$s">', 'after_widget' => "</aside>", 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); // Page Top (After Header) Widget Area. Single column. register_sidebar( array( 'name' => 'Page Top', 'id' => 'sidebar-3', 'description' => __( 'Optional section after the header. This is a single column area that spans the full width of the page.', 'flat-bootstrap' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s clearfix"><div class="container">', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', 'after_widget' => '</div><!-- container --></aside>', ) ); // Page Bottom (Before Footer) Widget Area. Single Column. register_sidebar( array( 'name' => 'Page Bottom', 'id' => 'sidebar-4', 'description' => __( 'Optional section before the footer. This is a single column area that spans the full width of the page.', 'flat-bootstrap' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s clearfix"><div class="container">', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', 'after_widget' => '</div><!-- container --></aside>', ) ); }Forum: Themes and Templates
In reply to: Widgets problem with Flat Bootstrap themeI found it!
It’s a problem with the internationalization (I’m using Spanish version).
the register_sidebar function is using:
‘name’ => __( ‘Sidebar’, ‘flat-bootstrap’ )
while the template pages are this way:
if ( ! dynamic_sidebar( ‘Slidebar’ ) ) : ?>
That results in names discrepancy.
So if I apply interationalization in both places, it also works:
if ( ! dynamic_sidebar( __( ‘Sidebar’, ‘flat-bootstrap’ ) ) ) : ?>
This helps as a refference:
https://codex.wordpress.org/Function_Reference/_2Forum: Themes and Templates
In reply to: Widgets problem with Flat Bootstrap themeIt’s really strange. I did what you suggest and the result is the same. It only works if I modify the code.
The message I see in the customizer, instead of the widget areas is:
“At this moment, there are no areas currently displayed in the widget preview. Browse the preview to a template that uses a widget area to access your widgets here.”