Site logo

Archived topic

How to insert (display) a wp page into a hook of the theme

12 replies · Started by Enzo on October 26, 2018

Viewing posts 1–13 of 13

Hello,
I have seen an interesting trick to load a page made with elementor and using a shortcode I have managed to load that page into a hook creating a sort of second footer block in the site.
[INSERT_ELEMENTOR id=xxxx]

However I was wondering how could I do if I want to load a page done in the regular wordpress interface and not through elementor..
what the shortcode might be like ? I have tried many ways but has not been successful at all..

Many thanks

Thanks a lot David,
wow did not find such a useful plug-in
it certainly does the job, the only think I have find now is how to make respect the margins or boders as is displaying the content all the way through the screen getting outside the container ... I am now playing wiht settings in the page to see but .. can't find yet solution for that particular detail

Thanks a lot for the suggestion !
regards,
Enzo

Thats great.
You're alternative is to use a simple iFrame, i like this site as it gives you responsive styling, just edit the URL and copy the embed code it provides:

http://embedresponsively.com

Hi David, Ok I will try then,
I thought it could have been sorted out adding some css styles but I am scared on messing around with the rest of the site frame..
I'll certainly try the iframe technique ;)

PS: I wonder why the elementor page set perfectly respecting all the containers etc and this plugin for the pages does not ?
is a pity

by the way here the link to check at the bottom (the area on partners, the one respecting borders inside container is the elementor page and the other one outside is the normal page from wp:
http://www.bioprintable.com/contact/

Thanks

So the second one is being generated by the Plugin?

yes !

ok, have tried the iframe but not sure on teh results, as it places all the huge page, I think I would stick with elementor result ( I was trying to avoid elementor as I think it does not have the same fonts of the rest of the theme .. but it does not look so bad ..
is just that the iframe solution does not look good and the other (the plugin one) is the right one but not sure how to make it obey being inside the container..

Add it to the hook like so:

<div class="grid-container">
    add shortcode here 
</div>

WONDERFUL !! this really works perfectly !
Thanks a lot Davidm have made and saved my day !
Great support for a great theme.
Thanks and regards,
Enzo

You're welcome. Just a note - you won't need that markup if the shortcode is added to the post editor.

wow, brilliant !
Thanks a lot really !
I'm marking the topic is wonderfully sorted ;)

Glad to be of help :)

This archived topic is closed to new replies.