Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter norboo

    (@norboo)

    Ian, thanks for your reply.

    I think I wasn’t very clear in my previous post.

    I want to accomplish something like this:
    [bgmp-map placemarks="105,106,107" center="chicago" zoom="10" type="terrain"]

    How can I get multiple Placemarks by their IDs at once?

    Thread Starter norboo

    (@norboo)

    Thanks Dennis!
    Sorry about the duplicate post!

    1. My template is archive-news.php
    I’m querying all the news posts and flipping through them on the same page using a Slider/Carousel

    2. Sorry, still can’t figure out how to use MslsOptions::create()->get_arr();
    Lets say we are on first slide which displays the NewsPost-English with the ID=x.
    How would I get the the ID=y, the ID of the translated post. Or even better, how can I create a link to NewsPost-Chinese(ID=y).

    My template looks something like this:

    <?php while ($news_query->have_posts()) : $news_query->the_post() ;?>
            <div class="slide" id="panel-<?php the_ID();?>">
                <div class="content">
                    <?php the_post_thumbnail('article-featured-image'); ?>
                    <h2><?php the_title();?></h2>
                    <?php the_content();?>    
    
                    <a href="">Link to Translation</a>
    
                </div>
            </div>
        <?php endwhile; ?>
    Thread Starter norboo

    (@norboo)

    And I forgot to mention that everything works as expected after I changed the links in the DB, but I need to redirect http://www.domain.com (without any language) to http://www.domain.com/language1 for example, otherwise the page can’t be found.

    N.P.

    Thread Starter norboo

    (@norboo)

    Hi Dennis!

    I think this is the most common way of structuring a multilingual website:

    http://www.domain.com/language1 (English)
    http://www.domain.com/language2 (Chinese in my case)

    Other multilingual plugins (Polylang for example) have the option to /language/ to the main (default) site too. I completely understand that those plugins are functioning in a different way (not multi site environment) that’s why is hard to figure it out how to do it with this plugin.

    I changed the home_url and site_url directly in the DB, but I don’t know if this is the common practice since this is my first multisite plugin.

    Any suggestions/advices are more than welcomed!

    N.P.

    Thread Starter norboo

    (@norboo)

    Hi!
    Thanks for your reply!

    1.That’s exactly what I did. pll_register_string('Products Slug','products');
    en->products
    zh->产品

    2.How would I do that? It works with everything else, but the “products” segment

    3. How?

    What’s alow level function and how ca I apply it in my case?

    This is the link for my website. I’d really appreciate your help.

    Hi Nitesh!
    I followed your instructions but I keep getting the error: “Please enter valid URL” when I try to save the auction even though the link field is populated.

    I tried in different browsers but I get the same error.

    Your help would be really appreciated!

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