go41

Re: Configuring Page-Links for One page only :: Reply by Joern

von Joern am 31. Mrz. 2010 | Keine Kommentare

my question was, is it a page or a post?
You might need a template for this content only.
For a page you could use your page.php and create from that a template by adding

<?php
/*
Template Name: Packages
*/
?>
to the top and name it packages.php
In page editor you could assign this template to your page. Now you know that only this page takes this packages.php and you can start some custom code valid only for that page.
In this page template you could modify the ‚before and after the page-links‘ of wp_link_pages.
If it’s a post of many I do not even know how to start.
____________________
you find me on Google+, Twitter and Facebook

(von: Joern)

Hier noch 4 weitere Ergebnisse dieses Threads:

Configuring Page-Links for One page only

31. Mrz. 2010 (von: drwhom)

Hi Joern, hope all's well with you and I was wondering if you could help!Basically, I'm trying to amend the "next page" link for a particular page on my site. I've been wrestling with this http://codex.wordpress.org/Styling_Page-Links but I just don't…

Re: Configuring Page-Links for One page only :: Reply by Joern

31. Mrz. 2010 (von: Joern)

you mean you try to edit page.php and in here the format of wp_link_pages?How should this wp_link_pages know what should be the title for the next or previous part after <!--nextpage--> in your text?____________________you find me on Google+, Twi... Weiterlesen…

Re: Configuring Page-Links for One page only :: Reply by drwhom

31. Mrz. 2010 (von: drwhom)

Sorry Joern, I'm not sure what you mean. Basically on this one page rather than it saying page 1, page 2, I'd like to amend it to have text. Do you think it's possible? Weiterlesen →

Re: Configuring Page-Links for One page only :: Reply by drwhom

31. Mrz. 2010 (von: drwhom)

Ahhh yes of course, brilliant. It is for a page, so I *should* be able to do that Will report back when everything goes wrong and my site is actually on fire. THANKS JOERN! Weiterlesen →

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: