sandywilkinscr
Forum Replies Created
-
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Carousel isn't working with WPMLI’m getting the follow notices in both pages:
Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead. in /Users/rob/wordpress/wp-includes/functions.php on line 2908
Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead. in /Users/rob/wordpress/wp-includes/functions.php on line 2908
If I add [image-carousel’] to a post I get the same behavior. Works in the Spanish post, but not in the English post.
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Carousel isn't working with WPMLNo problem, I’ve committed my share of dumb mistakes.
I can do this:
<div id=”mainpagecarousel”>
<?php echo “HOME”; ?>
<?php echo do_shortcode(‘[image-carousel]’); ?>
</div>and
<div id=”mainpagecarousel”>
<?php echo “INICIO”; ?>
<?php echo do_shortcode(‘[image-carousel]’); ?>
</div>in page-home.php and page-inicio.php and see the first echo’d text, but only see the carousel in page-inicio.php
The URL that WP is generating for the links are:
localhost/inicio/
localhost/home/?lang=enWhen I change my WP Reading setings to use a static page, I can see these pages in:
localhost/
localhost/?lang=enForum: Plugins
In reply to: [CPT Bootstrap Carousel] Carousel isn't working with WPMLYes I can do that.
The default language is Spanish, so
mydomain.com/
will show the page “Inicio”.
When I click to view the English page I get
mydomain.com/?lang=en
and it shows the page called “Home”.
The php files are:
page-inicio.php
page-home.phpI can view the English carousel in the Spanish page, but neither work on the English page. The code is identical in both
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Carousel isn't working with WPMLHi!
No, absolutely no code or other is outputted.