I'm trying to add footers to the end of my posts. I need to be able to assign different footers to different posts (not globally).
I tried using WP Post Footer, but it's not working on WP 3.1.2.
|
I'm trying to add footers to the end of my posts. I need to be able to assign different footers to different posts (not globally). I tried using WP Post Footer, but it's not working on WP 3.1.2. |
|||||
|
|
Anything you add, inside the Loop, but after the call to either Say you have:
You could do something like this:
To give specific instruction, we'll need to know what Theme you're using. |
|||
|
|
|
Someone may have a more elegant solution, but if you're comfortable editing some of the template files, you can copy your footer.php and rename to footer-alt.php or whatever suits you. Make the changes you need, and in the template file you're using for the specific post-type, replace If you keep the div and class names the same, you should not have any issues with the layout. Cheers! |
|||||||
|
|
Here is a quick solution for you: on the page or post you want to add a post footer create a new custom field named then paste this code in your theme's functions.php file
and you are done! This way you can have different footers on each page/post and none at all if you don't want it. |
|||
|
|
|
Was able to get WP Post Footer working. The online instructions at WP Plugin page is missing an instruction (found it in the readme in the zip pkg). Need to add the following line to the Single.php module for the theme you are using:
|
|||
|
|