• Resolved nickvernitsky

    (@nickvernitsky)


    Hi,
    Is there any way to make the shortcodes of a single listing execute when generating rss feeds?
    For example, can I add a listing ID to the shortcode so that I can execute them in a loop?
    Thanks for your kind answer.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Rafiz Sejim

    (@rafizsejim)

    Hello Nick,

    Thank you for reaching us out. I am not entirely sure how you want to use it but you can display a specific listing with ID using the following shortcode [directorist_all_listing ids="1,2,5"]

    Regards,

    Thread Starter nickvernitsky

    (@nickvernitsky)

    Thank you! I will explain.
    When generating rss, the post_content field is used. In our case, in addition to this field, the single listing page uses a lot of other data, contacts, map, etc.
    Shortcodes of a single listing do not work in a loop.
    Is it possible to add an argument that contains the listing ID to the shortcodes?
    [directorist_listing_top_area]
    [directorist_listing_contact_information]
    [directorist_listing_video]
    [directorist_listing_map]
    [directorist_related_listings]
    The goal is to change post_content at the very end so that it contains the result of all shortcodes of a single listing.

    Thread Starter nickvernitsky

    (@nickvernitsky)

    [directorist_all_listing ids=”1″] is running, but [directorist_listing_top_area ids=”1″] is not.

    Plugin Support Rafiz Sejim

    (@rafizsejim)

    Thank you for your explanation.

    I am sorry, it is not possible to add an argument in the shortcodes you are referring to.

    Regards,

    Thread Starter nickvernitsky

    (@nickvernitsky)

    Thank you, Mr. Rafiz!
    Is it possible, somehow, to get the result of executing shortcodes of a single listing in a loop, without being tied to a specific at_biz_dir page?

    Plugin Support Rafiz Sejim

    (@rafizsejim)

    Hello Nick,

    I am sorry, the feature you are looking for will require custom development and at the moment our schedule is chock-full with our plugin and extension development.

    However, since most of the features we have actually come from ideas like these, we will log it as a feature suggestion and may consider it for future if we get more requests.

    Regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Run single listing shortcodes in the loop’ is closed to new replies.