GetSimple Support Forum
Page content without template - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Page content without template (/showthread.php?tid=1286)



Page content without template - sadwolf - 2011-02-07

Hi everybody!

Can i get a page conent in php without the whole template?

in example:

if i create a page like:

<h1>links</h1>
page text

if i want to insert that page in the template
is there a function to load that page everytime?

something like:
<?php load_page("links"); ?>

thanks to all!


Page content without template - sadwolf - 2011-02-07

Ok i've created a plugin for doing that Wink
I uploaded the plugin here is the link
http://get-simple.info/extend/plugin/simplepagecontent/87


Page content without template - Connie - 2011-03-29

That is a very clever Plugin and I like it very much.

So it is easy to add texts to Info-Boxes somewhere on the page without the need to edit the templates just to change the content.

Thanks for that!


Page content without template - mvlcek - 2011-03-29

If you use the I18N plugin this functionality is already included, e.g.:

Code:
<?php get_i18n_content('links'); ?>

And it will get the correct language if there are multiple versions of the page.


Page content without template - phillphorrari - 2011-03-30

just wanted to say: thanks for sharing this plugin, its just what i needed.


Page content without template - peter - 2011-11-03

Hello,

this is a great Plugin Thank you!

Is there also a possibility to output the Page Title ?

I've created a website with a Java Script Accordion for the Content.

I created a Page for each Button and get the content with <?php get_i18n_content('accordion'); ?>
Is there a possibility to get the Pagetitle for the Buttontitle like <?php get_i18n_page_title('accordion'); ?>

Normaly i just get the active Title with <?php get_i18n_page_title(); ?> but that do not work out because i have individual Pages on one site.

Would be great if somebody knows how to do this.

Thanks! P.


Page content without template - peter - 2011-11-04

Ok i found something in another Topic:

http://get-simple.info/forum/post/17624/#p17624

I'll try this one, hope this works for the title to!

THX P.