Wrapper to push content to another page
-
I’m trying to see if there is a way to wrap some content of a custom post for it to be able to be embedded into another page.
The situation is that The Events Calendar (Community Events add-on) creates 2 php pages that are uneditable. I suppose it’s a custom post type. The two pages are “Add Event” and “Submit Event.” I would like to put the content of these pages in a tab under my “Ultimate Member” user’s profile. I’ve tried plugins such as “Insert Post” and “Posts in Page” to no avail.
I also tried “Advanced iFrames” and that worked but it messed up the template of the “Ultimate Member” user page. It’s also fairly advanced with poor documentation and I’m no expert in WordPress.
The only solution I can think up is… the “Community Events” plugin allows for putting HTML before and after the content in those two pages (Add Event and My Events). What I’m trying to figure out is if there is a way to put HTML before and after the content of these pages that will basically copy it into something embeddable so I can place it in the tab of the Ultimate Member user profile.
In Concrete5, there is a “Stacks” function that does something similar. You can create content in a stack and paste it anywhere in the site. Then, editing the single instance of the stack edits every instance on the site. Except, I can’t put this content in something, I need to wrap it in something.
BTW, I’ve already tried the “Ultimate Member Events Calendar” plugin. It doesn’t allow editing an event nor does it allow adding all of the fields of the event details.
This is the Add Event page: https://newbeginnings.church/calendar/community/add
Any suggestions?
-
The Events calendar is commercial software. So I (or the other volunteers here) don’t have access to it.
I strongly suggest that you contact the support of the vendor instead.The question is about a function to wrap a page’s content in order to embed it somewhere else. The example I am using involves The Events Calendar but also Ultimate Member, as well as other premium plugins but it is a generic question. I could remove the name “Events Calendar” and the question would be the same.
I had a quick look. Less of using some dangerous internal request and filtering, I can’t think of anything better than iframes, which will probably be rather tricky, especially on mobile…
I’ve never run into something so hard to figure out and such a seemingly simple function. I tried using some iFrame plugins such as advanced iframes to remove the header and such but I can’t remember why it wouldn’t work. I’ll have to try it again.
The topic ‘Wrapper to push content to another page’ is closed to new replies.