Sub Heading Plug in with Montezuma Template
Hi there,
I have tried to implement this Plug in in my Blog with the Montezuma template. It will enable the feature to set an optional sub header for each site and/or article in Wordpress. http://wordpress.org/extend/plugins/subheading/ But i'm not able to include the necessary PHP code in the template. :( I also tried an other option via "built in" feature with Wordpress, but i also have to set an new function in the PHP code of every site or article template. It also don't work. Can someone help me with easy words, how to implement this plug in in this template? Many thanks for your help! |
This thread may give you what you need.
|
1 Attachment(s)
hello,
thank you for your replay. But this instructions don't help me really. I have attached an image to show, where i want to add my sub heading line. If i understand the instructions from your post right, it wont help me to add the necessary code on this position? |
This is not too hard to do but involves a couple steps.
1) install the plugin 'exec-php' and activate it 2) go to mto->Sub Templates->postformat.php and change the the <h2> section from HTML Code:
<h2> HTML Code:
<h2> HTML Code:
<h1> HTML Code:
<h1> HTML Code:
<h1> HTML Code:
<h1> 6) add the following to that text widget HTML Code:
<?php if (function_exists('the_subheading')) { the_subheading('<p class="subheading">', '</p>'); } ?> HTML Code:
.subheading {color: #00ffff;} |
All times are GMT -6. The time now is 08:35 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.