View Shortcode not showing at Homepage but able to display at Archive page

Support MB Views View Shortcode not showing at Homepage but able to display at Archive page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #43287
    WillWill
    Participant

    Hi,

    I am display a custom field with MB View shortcode. It's work on archive page but the custom field is not visible at Homepage. Kindly assist.

    #43298
    PeterPeter
    Moderator

    Hello Will,

    Please share some screenshots when you edit the View. I will help you to check the issue.

    #43338
    WillWill
    Participant

    I am using the following code direct in the view and with the view shortcode [mbv name="app-start-price"]:
    <div>
    [CBC show="n" country="sg, my"]
    {% set field = attribute( post, 'start-price-usd' ) %}
    {{ field }}
    [/CBC]
    [CBC show="y" country="sg"]
    {% set field = attribute( post, 'start-price-sgd' ) %}
    {{ field }}
    [/CBC]
    [CBC show="y" country="my"]
    {% set field = attribute( post, 'start-price-myr' ) %}
    {{ field }}
    [/CBC]
    <div>

    #43345
    PeterPeter
    Moderator

    Hello,

    I'm asking for some screenshots when you edit the View, specifically the settings.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.