Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1104846

    Hello,

    I’m using a plugin to keep portfolio entries between two wordpress-websites in sync (plugin is called wordpress-api-content-sync).
    Particularly, the plugin posts the post_content data of a portfolio entry to another wordpress-site.

    I would like to parse the shortcodes and convert it to html before posting (as it contains ALB shortcodes).
    Instead of sending the “post_content” data of an entry, I tried to convert it with do_shortcode()

    $post_info = get_post( $post_id );
    $data = array(
    [...]
                    'content'           => do_shortcode($post_info->post_content),
    [...]

    However, this doesnt seem to work, as the data still contains shortcodes (like [av_slideshow_full]). Some shortcodes like [av_slide_full…] are just removed.

    How can I parse the shortcodes? Any support would be greatly appreciated.

    Thanks in advance
    Patrick

    #1105855

    Hey pbauer,

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Basilis

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.