Home>Support>Transfer post formatting from one post to another using code.

Transfer post formatting from one post to another using code.

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

I have been given the task of writing a plugin that displays a different post to different users. I can get the post to display using the the_content filter and swapping the post with another retrieved using get_post() and post_content() but all the pagebuilder widgets are lost. Is there a way to maintain the widgets?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hi Jbiancam1

    Thanks for reaching out.

    Do you have a working mockup of this so we can see the plugin in action? If we could see what the plugin is doing without Page Builder then perhaps we could advise further.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More