Add code in single.php
I'd like to replace some code in single.php file, but found that the theme has no one.
In instruction from this page http://www.makeuseof.com/tag/add-ric...ordpress-blog/ I understang that I should change Code:
<h2 class="post_title"><?php the_title(); ?><h2> Code:
<h2 class="post_title entry-title"><?php the_title(); ?><h2> Code:
<h2 class="updated"><?php the_date();?></h2> Code:
Author:<p class="author"><span><?php the_author(); ?></span></p> What the best way to implement the code into the theme? Thanks a lot! |
you will need to edit the code in bfa_post_parts.php in the 'function bfa_post_headline...' section where the post title HTML is built.
|
Juggledad, thank you for pointing me to the source file. Unlikely I absolutely dummy in php and have no idea how to change the code in the file in order to achieve desirable functionality...
Could you please provide instructions how to add class to h1/2? Thank you in advance |
to dig into the code to figure out what exactly would be needed will take a bit of time. If you can not do it yourself you need to
- spend the time and energy to learn how to do it - find a friend who can do it - hire someone to do it for you. - find a different solution (maybe a different plugin) - or re think your needs maybe the person who did the writeup would be willing to do the work for you... |
All times are GMT -6. The time now is 09:37 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.