Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter sandywilkinscr

    (@sandywilkinscr)

    I’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.

    Thread Starter sandywilkinscr

    (@sandywilkinscr)

    No 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=en

    When I change my WP Reading setings to use a static page, I can see these pages in:

    localhost/
    localhost/?lang=en

    Thread Starter sandywilkinscr

    (@sandywilkinscr)

    Yes 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.php

    I can view the English carousel in the Spanish page, but neither work on the English page. The code is identical in both

    Thread Starter sandywilkinscr

    (@sandywilkinscr)

    Hi!

    No, absolutely no code or other is outputted.

Viewing 4 replies - 1 through 4 (of 4 total)