Wordpress plugin: Improved Include Page
24 Novembre 2005 | english
AGGiORNATO: 21 dicembre 2006
Improved Include Page è un plugin per Wordpress che consente di includere in un template il contenuto di una pagina statica con diverse opzioni di visualizzazione. Da oggi Improved Include Page ha una pagina ufficiale tutta sua.
24 Novembre 2005, 23:38
[…] Vito Tardia Improves on an existing plugin which allows for easier inclusion of static html pages in your WP blog. WordPress […]
26 Novembre 2005, 01:16
[…] Plugin Site: http://www.vtardia.com/blog/improved-include-page/ […]
28 Novembre 2005, 17:00
[…] Vito Tardia has added to the include page plugin that I wrote a while ago. His improved include page plugin adds some interesting features. I am glad to see someone add features to the plugin as I don’t have much time anymore for plugin development. […]
28 Novembre 2005, 19:45
[…] Vito Tardia Has updated the plugin Include Page. Plugin basics are including static html pages as WP Pages. […]
13 Gennaio 2006, 23:56
Does this plugin work with WP2.0? If not, any plans to update it? Thanks.
16 Gennaio 2006, 09:41
I did some tests and the plugin seems working correctly with WP 2.0.
Please, let me know if you find some bug or have some suggestion.
31 Gennaio 2006, 10:35
I tried using this to include a page on a post
if(function_exists('iinclude_page')) iinclude_page(238, DT_TEASER_MORE);with the opening and ending php tags..
But it displayed the full page on the post without the more link, no errors either
Any idea what I did wrong here?
Thanks
31 Gennaio 2006, 11:15
Dayna: the syntax of the “params” string is the same of Wordpress’s template tags. For example the code:
displays the excerpt of post number 238 with the post title between <h2> and </h2> tags and the text “continue” linked to the full page.31 Gennaio 2006, 11:30
Right, I tried with
if(function_exists('iinclude_page')) iinclude_page(238, displayStyle=DT_TEASER_MORE&more=More information »);but it give me a
Parse error: parse error, unexpected ‘=’ in /home/huaian/public_html/liberta/wordpress/wp-content/plugins/exec-PHP.php(45) : eval()’d code on line 5This works without the params
31 Gennaio 2006, 13:40
The parameter string is to be enclosed between single or double quotes
31 Gennaio 2006, 13:59
RIght, my mistake.. Add the single quotes but then my site will would be blank. Nothing will show up at all
31 Gennaio 2006, 14:15
I just did a test with my local copy of WP2, I used your code with my post id n. 2:
if(function_exists('iinclude_page')) iinclude_page(2, 'displayTitle=true&displayStyle=DT_TEASER_MORE&more=More information »');it works. Do you have some other plugin installed? Try without the ‘»’ symbol.
31 Gennaio 2006, 14:27
Ya, I’m some other plugins instead. Tried with the symbol and it’s still a blank page for me.
I think I’ll just copy and paste the page then, thanks for your help =D
31 Gennaio 2006, 15:10
That sounds very strange. The only way I’ve found to get a similar error is trying to include a page that doesn’t exist. Maybe you could try disabling the others plugins.
However I’m working to a new version, I’ll investigate on some possible solution.
5 Febbraio 2006, 21:12
Hey Vito, thanks v much for putting in the Polyglot handler - makes a big difference to the site we’re trying to get together…
6 Febbraio 2006, 12:51
Thanks Ragman, this plugin seems to be just what I was looking for! With this I can insert some teasers in my index page. Grazie molto!
2 Marzo 2006, 06:05
Hi, Is it possible to use H1 tags for the title instead of the default H2?
Sorry, I just started with Wordpress, and I also have no PHP knowledge…
2 Marzo 2006, 08:58
Hi Martin,
to use a different header for the title you could write:
< ?php if(function_exists('iinclude_page')) { iinclude_page($post_id, 'displayTitle=true&titleBefore=<h1>>&titleAfter=</h1>'); } ?>4 Marzo 2006, 04:28
Thanks you Ragman, that was easy. I should have searched in Wordpress codex too… I have another question which is more complicated and maybe not directly related to your plugin: is there a way to include a file that has a name taken from the current page name + something else like “sidebar” for example. What I mean - if you’re opening a page called “contact” then the template includes a page called “contact-sidebar”. I want to create custom sidebars per page and I want to automate it. I’m building a page for a client and she struggles with computers. I can tell her to wrap the text she wants to appear in the sidebar with <code></code>
however it is too much for her, and the wysiwyg editor in wordpress sometimes make changes.
Sorry for the long post. Basically I’m interested to know if there can be a php code that looks for a page with a name taken from the current page + some extension and if there is a such a page it loads it, if not - nothing happens. I couldn’t find any plugins or any help for creating custom sidebars. Thanks…
4 Marzo 2006, 08:44
This looks like a great plugin. Does it give the ability to include pages based on criteria like “is a child page of current page”? I am looking for a plugin that will display the contents of a page’s child pages inline. Sort of like wp_list_pages, but with the content of the child pages not just a list of links.
Thanks!
4 Marzo 2006, 14:16
Sorry, English is not my first language and I wasn’t very clear… What I wanted to say is that I’m wondering whether your plugin can include a wordpress page which name begins with the name of the requested page + an extension of that name…
6 Marzo 2006, 09:02
Since my last comment I have installed your plugin and implemented it. Aside from my earlier question (I checked out the code for the plugin and couldn’t see where it would inclulde the functionality I was looking for—to include pages based on conditional criteria instead of a static page value), I am have another issue:
When I call the php for include page it displays the page “almost” properly, except that there is an undesired space above where I want the content to appear. When I look at the generated page’s source, I see that either wordpress or the include page plugin has added an extra
<
p> tag that isn’t in my pages html when the page renders.
Any idea how to keep this from happening? I have already disabled the WYSIWYG rich editor and am just entering straight HTML.
Thanks for the help!
7 Marzo 2006, 02:44
Thanks so much for creating this plug-in. I think this is a real newbie question but wasn’t able to find any info in the codex or in google:
How do I know which parameters are available to the iinclude() function?
In the comments above you mention “the syntax of the “params” string is the same of Wordpress’s template tags.”
Where do I find the list of those parameters?
Many thanks!…
7 Marzo 2006, 14:13
Tara: you can find the parameter list in the header of the plugin file, just after the installation guide.
The syntax of the string is the same of WP template tags, for example:
will include the full content of the page which has id=23, including the teaser.
I’m sorry. I realize that the documentation I provided with the plugin is not very clear. I think that in the next release I’ll include an external documentation file with some examples.
7 Marzo 2006, 15:00
Martin: with iinclude_page you can include a static post based only by its ID, for now.
To obtain your custom include you have to create a custom function. I use a trick in my sidebar. here’s an example:
However it’s an interesting feature. I’ll think about it for the next release.
7 Marzo 2006, 16:25
Rena: (1) this feature is not supported in iinclude_page. I achieved something similar playing with some Wordpress function (the article list on this site). If you want I can send you the code by mail.
(2) I gave a look to the plugin code and it seems there is no extra markup. It could be some filter applied to the page (eg. markdown, textile) or some unicode character that some browser don’t read correctly (it happened to me during tests with IE)
31 Marzo 2006, 14:23
Excellent (and well-documented) plugin. I’ve got it working on my site with no problems, but I’m having trouble trying to add a edit functionality to it (my PHP knowledge is ok, but not great).
I’ve tried to add an edit link to the bottom of the post, by appending
$output .= edit_post_link('Edit this entry.', '’, ‘
’);
just before $output is returned for the final time at the end of the script. It works exactly how I want, except that the edit link appears between the title and the content, not after the content like I want. Am I doing something wrong?
4 Aprile 2006, 03:49
hi,
awesome plugin. is there a way to define the content of the teaser and the contentpage separated from each other? means teaser=text 1 | content page= text 1+pictures1,2,3,4,5
4 Aprile 2006, 21:05
Thank you dexter.
Using the option
DT_FULL_CONTENTthe function displays both the teaser and the content. Any custom content should be inserted directly in the page.6 Aprile 2006, 18:18
I require some step to step how-to … i want to add into a post some information for a page called “componenta.php” so how do i do this …? using this plugin. thanks for infos in advanced
1 Maggio 2006, 18:09
[…] wp-iinclude_page to pull the news announcement from a page I can easily edit […]
17 Maggio 2006, 06:00
Thanks for the great plugin!! Everything is working great, except the post content doesn’t look like the rest of the entries on the page. I have looked throught the code and tried to add some divs with the styles that the rest of my posts have, but I keep breaking the plugin. Any suggestions?? My testsite is www.community.iastate.edu/wp/
23 Maggio 2006, 04:09
[…] 2. If you’re using the default theme, your probably done now, unless the sidebar doesn’t show what you want it to. I’ll get back to this later. You can now either write whatever you want to be shown on the front page in proper HTML where it says “your text goes here“. But maybe you want to make use of WordPress’ Pages and write/update your front page via the normal site admin interface. In which case you could make use of Vite Tardia’s improved include page plugin, adding the following code to your file instead: <?php if (function_exists(’iinclude_page’)) iinclude_page($post_id, [params]); ?> The plugin’s documentation gives the options that can be used as [params]. Additionally, you will want to wrap this line of code in the correct tags - look in your page.php template in your theme’s directory. In K2, for example, it will look something like this: <div class="primary"> <div class="item"> <div class="itemtext"> <?php if(function_exists(’iinclude_page’)) iinclude_page(6);?> </div> </div> </div> […]
9 Giugno 2006, 13:32
[…] Shows the content of pages or post where you to want. Click here! […]
18 Luglio 2006, 19:48
Like sparkyc in comment #27, I would like to be able to add an “edit this entry” link onto my iincluded content. I made the modification to iinclude_page.php that sparkyc recommends, but the behavior is not what I wanted.
The “edit this entry” link that appears associated with my iincluded sidebar, takes me to the base Page’s content, not to the content of the iincluded Page.
I have iincluded the content of the sidebar on my homepage.
So, the question is: Is there a way to place an “edit this entry” link on the display of the iincluded content, that would link to the iincluded Page, rather than to the main content of the displayed Page?
I hope that makes sense. My site’s testbed is at nkfreedomhouse.technicalsupportresources.com . Feel free to take a look!
20 Luglio 2006, 15:28
[…] You might also want to include Pages in various places on your site. That way, you can have an easy way to edit elements of your website. There is a plugin called Include Page that makes doing this easy. Improved Include Page (http://www.vtardia.com/blog/improved-include-page/) is a more updated version of the plugin […]
25 Luglio 2006, 15:38
The necessary plugin (: It is established easily and perfectly works. Thank u so much!
18 Agosto 2006, 01:19
I see Sara asked it and Sparky to no response - was there ever a solution about the ‘edit’ button showing up in this tag? Thanks for the useful plugin:)
18 Agosto 2006, 10:19
Brady: I mailed to Sara and Sparky a temporary solution that works with WordPress 2.x, until I have time to test and publish the new version of the plugin.
I’m sending the same to you in the next few hours.
30 Agosto 2006, 14:18
I was just wondering how the teaser is defined for this function? I want to display a relatively short teaser, but at the moment, the full content is still being displayed. I assume this is because the character/word limit is too long?
31 Agosto 2006, 08:30
claire: you have to define the teaser using the
<!--more-->tag in WordPress’s page editor.If you call the
iinclude_pagefunction with the default parameters (page id only) it will display the teaser with the “more” link. I’m using this in my home page.Hope that helps, let me know.
4 Settembre 2006, 05:35
I’ve been looking for something like this for a very long time, and unfortunately it took comment 33 to figure out what this plugin did.
Could you please help all of us, since Brent’s web page is gone, to understand what this plugin does? So many could benefit from it but it didn’t turn up in my searches until I was looking for something unrelated and this page turned up. I’d hate to see this skipped over for lack of a descriptive and keyword rich feature list and usage description.
Thank you and thanks for creating such a useful plugin for WordPress.
5 Settembre 2006, 04:17
ok i totally don’t know what to replace in the code:
for it to insert another page/post into another page. what do i need to do? thanks.
marc
11 Settembre 2006, 17:49
just wanted to say that your’s is the best plugin I’ve found it helped me VERY much!! thanks man!! cheers!
19 Settembre 2006, 21:07
I noticed that in some cases the iinclude_page plugin can catch the first $post var on pages using a “Loop”. This can cause some the_content filters to act on the iincluded_page as if it was the “first post.”
I posted this as a resolution to a bug with EventCalendar along with a modified version of iinclude_page here.
25 Settembre 2006, 20:05
[…] Improved include page […]
6 Ottobre 2006, 20:29
[…] In addition, starting on line 292 of this new index file, I have a switch inserted that will check for the presence of Vito Tardia’s Improved Include Page WordPress Plugin. If you install Vito’s plugin in WordPress, you can edit the iinclude_page() function call on line 294 to include the contents of any WordPress static page by simply editing the page ID in the function’s arguements. […]
25 Ottobre 2006, 16:52
Thank you for a great & very helpful plugin!
Being quite new to plugin editing, I was wondering if there was a “best practices” way to call another bit of code from within the Improved Include Page plugin.
Namely, I want to include the Technorati Tags embedded by the plugin “Bunny’s Technorati Tags.” On normal pages, one just has to add the code
to the PHP file.Is there a way to add
to the “Improved Include Page” plugin so that using the codewould display BOTH the page’s contents AND the Technorati tags for that page?THANKS for any & all help!
3 Novembre 2006, 14:44
Copernicus: to add Bunny Tags to the output of Improved Include Page (IIP) you have to do 2 things:
1. Modify Bunny Tags code By default Bunny Tags uses the current global post id. You have to edit it’s functions (
get_bunny_tagsfirst) in order to accept a custom post ID as input.The function to look at is
get_post_custom_values(used by Bunny Tags) in the WP file “template-functions-post.php”, here’s a quick example (not tested yet):2. Modify IIP code to include the output of the Bunny Tags, for example:
Hope that helps, let me know
7 Novembre 2006, 01:08
is it possible to only have th eincluded page appear on one page only.
ie: i want to include a page on the home page only.
thanks in advance for any help
7 Novembre 2006, 16:47
[…] Improved Include Page. Allows you to call one page from another, very useful for an introduction on the homepage. […]
7 Novembre 2006, 17:23
ok.. so i got bored waiting (post #50 ^^) and figured it out myself!
7 Novembre 2006, 18:18
sean: good you did it youself
I use this the following code on this site’s sidebar:
or
24 Novembre 2006, 22:40
Nice plugin!!!!!!
6 Dicembre 2006, 00:47
[…] improved include page http://www.vtardia.com/blog/improved-include-page/ […]
12 Dicembre 2006, 23:14
What I want to do on my blog, is every few hours take the oldest post and move it to the front of the queue, all automatically. Anyone know if there is a plugin that can do this or a simple way to set up another plugin to do this (use my own feed perhaps)? Thanks.
26 Dicembre 2006, 04:57
Hi, I guess I did everything just as instructed, and added:
if(function_exists('iinclude_page')) { iinclude_page(8); }yet there is no results, whatsoever. The www is http://service.miejsca.org the modified index.php looks like that:
<
div id=”content”>
<
div class=”post”> Any clues? I’d really love to use it to post an intro “about” on top of posts on the front page.
26 Dicembre 2006, 04:59
Ooops, I guess posting got scrambled somehow… Anyway, the Wordpress in use is 2.05
27 Dicembre 2006, 11:42
aRcHitEkCi: there was a bug in the bugfix, I’m sorry
Try downloading the latest version 0.4.1.
30 Dicembre 2006, 00:18
I’m using 0.4.1, and this line seems to not work:
$content = apply_filters('the_content', $content);If I comment out this line, it works, if I do it after, it doesn’t. The title works fine. The content isn’t taking theme’s style though, because it isn’t getting the paragraph tags around it.
30 Dicembre 2006, 11:24
[…] You might also want to include Pages in various places on your site. That way, you can have an easy way to edit elements of your website. There is a plugin called Include Page that makes doing this easy. Improved Include Page (http://www.vtardia.com/blog/improved-include-page/) is a more updated version of the plugin. [edit] […]
23 Febbraio 2007, 20:55
Vito, thanks, this plugin is great! I’ve used it for two clients already, it’s definitely a boon and I am glad with the straightforward functions you’ve included.
-Sara
12 Marzo 2007, 00:18
I also want to thank you for this great plugin!
13 Marzo 2007, 18:20
[…] The Latest Web Design Projects on the sidebar is a Page which is included using the Improved Include Page plugin. The same can be said for Web Design Projects on the sidebar of the Portfolio. […]
23 Marzo 2007, 09:12
[…] You might also want to include Pages in various places on your site. That way, you can have an easy way to edit elements of your website. There is a plugin called Include Page that makes doing this easy. Improved Include Page (http://www.vtardia.com/blog/improved-include-page/) is a more updated version of the plugin. […]
24 Marzo 2007, 16:25
Ok, I give up. I think perhaps I’m misunderstanding the use of your plug-in. Originally, I use the WP admin to create a new page and wanted to add to it. Instead a new page showing links, I get the text of the code showing.
Am I supposed to manually write a php page and then place your function in it? How do I call to show the manually created page? Could someone write me and let me know where I’m messing up?
Sorry, about this comment. I’m just getting started. Thanks for your help!
26 Marzo 2007, 13:30
Hi Ron,
all you need to do is:
For example, if you want to include the page with ID 5 in your home’s sidebar, you can insert the code:
28 Marzo 2007, 19:14
I had problems getting the title to hide. I fixed it by amending line 95, adding quotes arounf “true”:
if($displayTitle == "true") {Anyone else had this?
3 Aprile 2007, 01:36
Can this plugin include custom php pages within wp-pages?
Example: test.php
Instructions would be appreciated.
23 Aprile 2007, 08:04
[…] You might also want to include Pages in various places on your site. That way, you can have an easy way to edit elements of your website. There is a plugin called Include Page that makes doing this easy. Improved Include Page (http://www.vtardia.com/blog/improved-include-page/) is a more updated version of the plugin. […]
1 Maggio 2007, 02:14
Great plugin. I use wordpress more as a content management system than blog, and this plug in makes it all work.
Just one problem. As a few other commenters requested:
is there a way to have an “edit this” link show up that will take a logged-in user to edit the page in question?
thanks
7 Maggio 2007, 13:56
Michael: to enable the ‘edit’ feature in this version you have to modify the source code.
Insert this code after line
echo $content;(this functions in WP 2.x):20 Maggio 2007, 09:48
[…] Visit […]
12 Luglio 2007, 13:39
Nice plugin indeed, work with WP2 pretty good
3 Agosto 2007, 06:22
Thanks very clear and precise no problem installing
Vic
5 Agosto 2007, 23:16
Is there any way to display just the title of a page and nothing else?
Thanks, I love this plugin. Simple and clean.
Dave
7 Agosto 2007, 17:18
Hi Dave,
at the moment there isn’t a way to display only the title. You can use the WP tag wp_list_pages().
28 Agosto 2007, 16:59
Cool plugin! I’ve been searching for this. Thanks a lot! MARTINO
18 Settembre 2007, 22:18
If anyone is interested: I find this plugin very helpful, but for a few reasons I prefer to call pages using the pagename rather than id - especially when switching between local and production installs of a website running wordpress as a CMS. One way to do this is to make a call first to the wpdb, please note that $pagename is based on the page slug, not the actual page title. So you might have a function that calls the iinclude function like so:
function someFunction(){ global $wpdb; $name = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE post_name='homepage-image'"); if(function_exists('iinclude_page')) iinclude_page($name); }18 Settembre 2007, 22:21
Hit post too soon. In the comment above I meant post_name (which actually is the pagename for a wp page) not $pagename. Also, in the $name variable the post_name of homepage-image would be where you put your own page you want to call eg post_name=’about’ etc
6 Ottobre 2007, 15:50
This great plugin. He help me create my page
30 Ottobre 2007, 18:05
[…] I also installed a few plugins to make both mine and Scriv’s lives easier: A plugin to batch edit the imported posts (buggy but still a lifesaver and something I think Wordpress should be able to do out of the box). A plugin to include an “About” page in the sidebar so Scriv doesn’t have to edit the code to change his “About Me.” Finally, I installed execphp which allows several custom php-based widgets for the widgetized sidebar. I’ve never used a widgetized sidebar before but I dislike how difficult it is to modify the tags in one, so this made things so I didn’t have to dig into the wordpress admin files and change anything. (If it were my own site I would have turned the widgets off completely and edited my own code, but since I am doing this for someone else I thought it was important to make things fairly easy for Scriever to change on his own.) […]
7 Novembre 2007, 17:52
Ciao. Scusami ma sono ancora un pò inesperto di Wordpress. Ho seguito le tue indicazioni per l’installazione del tuo plugin el’ho attivato. Volevo chiderti se il plugin serve per aggiungere del testo statico o delle pagine statiche? Se è la seconda, questa vanno create a priori e quindi dove inserisco il codice:
’); ?>
Grazie.
20 Dicembre 2007, 21:16
Is there a way to keep multiple includes from repeating other default information?
I am using to include multiple pages to sub footers on my site.
I am also using Easy Pay pal and when easy paypal kicks the user to the default sign up page, the registry form repeats itself throughout all of my includes? Is this a better iinclude or Easy Paypal issue?
signed~ confused and stumped….
1 Gennaio 2008, 19:57
well iam using this code in my orkut related website:
<
p> Just Copy and paste this HTML code in Friend’s Scrapbook or Commentbox: : “>Forward This Picture
i want that when i create new page like “about” the code should not be used in that page can any one help me in its coding
7 Gennaio 2008, 14:57
Hi denny: you can tune the display of IIP using the optional parameters.
I think that the problem with EasyPaypal is due to the fact that it acts as a content filter. IIP processes content filters so it will includes also your paypal details.
The 2 solutions are:
}
18 Gennaio 2008, 05:24
I am trying to get the iinclude_page to work without a title and to display the full content of the page. I am using this code:
I have tried the other constants for displayStyle as well.What I keep getting out is the first paragraph and then
This is a preview of "" . Read the full post.Is there a way to get iinclude_page to show all of the paragraphs of the page without the Read full post link?
18 Gennaio 2008, 05:26
Here is the code for that last comment:
if(function_exists('iinclude_page')) iinclude_page(9,'displayStyle=DT_FULL_CONTENT');in the php tags.27 Gennaio 2008, 01:08
[…] 292) Improved Include Page Eklenti sitemizde olu?turdu?umuz ileti?im, hakk?nda gibi sabit sayfalar?m?z? ister anasayfaya ister tekil yaz? sayfas?na ili?tirmemizi sa?l?yor. […]
1 Febbraio 2008, 10:35
Hi Lorelle,
the code you are using is right. In my test platform it works and does what it’s supposed to do: display the full content of the page without title.
Maybe on your site there is some conflict with some other plugin or filter applied to the post/page content.
Could you please tell me the version of your WP and the plugins you installed?
7 Febbraio 2008, 11:29
[…] Improved Include Page: Occasionally, you’ve got some template or sidebar element to which you want to give site administrators access while protecting them from editing template code directly. iinclude_page() lets you create a WordPress page and have its contents inserted at any place in a template. On CDT, we use it to let the editors manipulate the Bookshelf sidebar graphically, without mucking around in code. […]
10 Febbraio 2008, 19:58
This plugin is listed in the WP Codex as one that is useful in setting up a gallery. I have a page structure that I would like to use as a gallery and think this pluigin is the key, but I can’t quite put my finger on it. Is there a way to include pages dynamically. From the wordpress code could you send all the sub page IDs of a parent to this plugin in a loop to display the content of each subpage in a parent page? I would like to avoid having to make a gallery then go to it’s parent page and insert the plugin code with the specific page ID.
10 Febbraio 2008, 19:59
Forgot to include the WP Codex link from the above post. http://codex.wordpress.org/Photoblogs_and_Galleries
17 Febbraio 2008, 03:19
I was using this plugin for my homepage. When I upgraded to WP2.3.3 it stopped working, has anyone else had this problem? It worked fine with 2.3.1
17 Febbraio 2008, 03:22
One more question:
Is there a way to show the content of the current page? I would like to use the same template for more than one page, so instead of entering a unique page ID, it would be useful to have a function that would return the current page ID.
Any ideas?
7 Marzo 2008, 04:00
[…] The Improved Include Page, is a kind of plug in that permits a user in identifying one page from another; this plugin is useful for an introduction of the homepage. […]
20 Marzo 2008, 10:41
Hi Clark,
I used this trick on my site to include a series of subpages:
You could also write a function that returns all the subpages for a given post using this query:
and use it in the foreach loop.
Hope that helps
— Vito
9 Aprile 2008, 16:48
hi there.com plugin but :
Does anybody know if tis script is compatible with Wordpress 2.5?
Thanks in advance for any help on this!
turkbaron
10 Aprile 2008, 20:53
Questo plugin è compatibile con l’ultima versione di wordpress? Perche a me sta dando dei problemi. Grazie Claudio
24 Aprile 2008, 02:29
hi there plugin but :
Does anybody know if tis script is compatible with Wordpress 2.5?
Thanks in advance for any help on this!
25 Aprile 2008, 02:14
hi. oke ,no problem. Thanks for plugin
perfect.
27 Aprile 2008, 02:09
[…] WordPress Include Page Plugin […]
2 Maggio 2008, 15:34
[…] La stringa in php che vedete include il contenuto di una pagina all’interno di un’altra. Questo mi è possibile grazie ad un plugin che permette di farlo e che trovate qui. In questo modo, se creerete tanti DIV quante sono le vostre pagine e copierete questi codici per ognuna delle voci del menu, avrete degli effetti come quelli che vedete in questo mio blog. […]
4 Maggio 2008, 07:17
hi, i’m getting an error when attempting to activate your plugin:
Fatal error: Cannot redeclare iinclude_page() (previously declared in …iinclude_page.php on line 72
that line is the function iinclude_page i see, but what am I doing wrong? I shouldn’t need to modify any of that code, should i?
I’m on WP 2.5 with PHP4 (not 5).
thanks! sounds like a good plugin idea!
6 Maggio 2008, 01:49
hi there .thanks for plugin:
Does anybody know if tis script is compatible with Wordpress 2.5.1?
Thanks in advance for any help on this!
best regards
7 Luglio 2008, 15:01
[…] You might also want to include Pages in various places on your site. That way, you can have an easy way to edit elements of your website. There is a Plugin called Improved Include Page that makes doing this easy. […]
13 Agosto 2008, 14:55
[…] WordPress Include Page Plugin […]
19 Agosto 2008, 03:56
[…] In addition, starting on line 292 of this new index file, I have a switch inserted that will check for the presence of Vito Tardia’s Improved Include Page WordPress Plugin. If you install Vito’s plugin in WordPress, you can edit the iinclude_page() function call on line 294 to include the contents of any WordPress static page by simply editing the page ID in the function’s arguements. […]
21 Agosto 2008, 21:28
Thanks for your plug-in, I find it quite useful.
re: the suggestion above in comment #97. I found that in WP 2.6 revisions are stored as children of the post, so unfortunately all the revisions are returned from this query
$pages = $wpdb->get_results ("SELECT ID FROM $wpdb->posts WHERE post_parent = $parent")Here is what I used in a sidebar to include the contents of a child page dynamically:
$parent_id = $wp_query->get_queried_object_id();$pages = $wpdb->get_results ("SELECT ID FROM $wpdb->posts WHERE post_parent = $parent_id AND post_type != 'revision'" );foreach($pages as $page): setup_postdata($page); if(function_exists('iinclude_page')) iinclude_page($page->ID);
endforeach;
If anyone has suggestions to improve that, fire away
25 Agosto 2008, 12:48
Good tip Tzaddi, thank you
23 Ottobre 2008, 01:41
Fantastic plugin Ragman!
Can you please outline how to enable the “edit this” feature for the latest version of your plugin?
I have tried the method you outlined to Michael (post 72 above) but can’t seem to find “echo $content;” in the source code at all…
Thanks!