Hi Team,
I have created my own shortcode to show the data on page on the basis of visitor’s location. It is working fine without using the page builder.
When i use the any of widget inside the page builder, it does not work. I also searched for this but unfortunately did not find anything relative.
Please share the solution as soon as possible.
Cheers,
Vipul
Hi Vipul
If you insert your shortcode into the Text or Visual Editor widget (http://wordpress.org/plugins/black-studio-tinymce-widget/) placed in a regular widget area like sidebar or footer (anything under Appearance > Widgets, does it work?
Hi Andrew,
Thanks for the response!
I figure out the issue. Actually it was because of session value in pagebuilder. I am assigning a session variable in my custom function but this value is not coming in the pagebuilder environment.
I could not find out why i am not getting the session value in pagebuilder.
Anyway for now i make the changes in my function to make it correct.
Please let me know if you have any idea about the session value issue in pagebuilder.
One more thing, i also created a custom function to fetched the content of any subsite’s page to another in wp multisite environment. It is working fine but in case where page is published through page builder widgets, it is not fetching the exact layout. Do you have any idea?
I am also adding my code here for your reference –
Here blog id is the site id in wp multisite network from where i am getting the content. Page id is the id of the page.
Cheers,
Vipul Jain
Glad to hear you’re making progress. I’ll try pass your question onto Greg. Please let us know…when you say session value, what exactly do you mean, PHP session value? What are you doing with that value?
Any further detail will be helpful.
Thanks.