Support » Plugin: Multiple Page Generator Plugin - MPG » help with short code for cities links

  • Resolved eclypes2008

    (@eclypes2008)


    how to Add shortcode to show cities descending from chosen city name and then next column after the 5 and third column the same to interlink pages for SEO. Also running into a canical error on bing for some reason any advice helps thanks.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Oleksandr Lysyi

    (@lysyiweb)

    Hi. This is example shortcode for project “US Cities”.

    [mpg project-id="1" where="mpg_state_id={{mpg_state_id}}" order-by="mpg_city" direction="desc" limit="5" base-url="https://domain.com/"]    
         <a href="{{mpg_city}}">{{mpg_city}}</a><br>
    [/mpg]
    

    As you can see, in “where” described condition for picking cities that belong to current-page city
    <b>order-by</b> – this is the column by which the sorting will occur
    direction – can be “asc”, “desc” or “random”
    limit – number of rows that will be shown in list
    base-url – address of your website, that will be used for creating correct link to the pages. Formula: base-url + mpg_city in this case.

    Detailed in docs: https://docs.mpgwp.com/article/12-how-to-generate-list-of-mpg-pages

    Could you, please, describe more detailed, what’s wrong with Bing? Can you share a screenshot?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.