![]() |
| ||||||||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
Extreme Warrior
Join Date: Jun 2006
Location: Belleville, Michigan, USA.
Posts: 31
Thanks: 4
Thanked 1 Time in 1 Post
|
Anyone know how I can get the full blog titles to wrap in my recent posts section on the index page of my WordPress blog theme? See my profile link.
I would also like to get a space or line between the popular posts links. I would even consider paying a small fee to the right person to go in and make the fixes. |
|
|
|
|
|
|
|
|
#2 |
|
HyperActive Warrior
War Room Member
Join Date: Jul 2008
Location: UK by way of Cali
Posts: 158
Thanks: 15
Thanked 19 Times in 12 Posts
|
Hi Brian,
This one is a bit of a challenge. But, since I see you're using an ElegantThemes theme I happen to have that one lol. Not sure if I have all the answers here but in terms of adding a bit of space and a small grey line (for example) between each "popular posts" you could try adding this to your CSS: #home-right ul li { padding:5px 0px 5px 0px; border-bottom:1px solid #CDCDCD; } See if that helps. But, it will also add a line under your "recent comments" too. If it doesn't work, simply delete it. I'm better at messing with CSS if I can do it directly but give that a try. The tough part was the "recent posts" titles being truncated with the ... I finally found the culprit. Go to your theme folder, then "includes" folder, then newsstyle.php. Look for: <h2 class="titles"><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title2('', '...', true, '30') ?></a></h2> Try changing this to: <h2 class="titles"><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title() ?></a></h2> You can see the '...' and I believe 30 pertains to the maximum character length but I'm not a programmer, just a php hacker lol. Anyway, if that doesn't work, be sure to replace the code back to the way it was and either I can have a look at it further (if you want) or ask someone better at php. Hope that helps Scott |
|
If you're looking for an SEO optimized Wordpress theme that is like Xfactors, PM me for details. I'm limiting the number of copies to minimize footprints for my current customers and myself. Thanks. (please prove you've bought xfactor's course)
|
|
|
|
|
| The Following User Says Thank You to promo_guy For This Useful Post: |
|
|
#3 |
|
Extreme Warrior
Join Date: Jun 2006
Location: Belleville, Michigan, USA.
Posts: 31
Thanks: 4
Thanked 1 Time in 1 Post
|
Scott, you are my hero! I've had that theme up for a while and those two issues have been bothering me bad. I actually have comments on my blog from people asking me to fix that. Your fixes totally worked. Thank you so much, I truly appreciate it, Brian
|
|
|
|
|
|
|
|
|
#4 |
|
HyperActive Warrior
War Room Member
Join Date: Jul 2008
Location: UK by way of Cali
Posts: 158
Thanks: 15
Thanked 19 Times in 12 Posts
|
Hi Brian,
Hey, that's awesome! lol It was late here and I wasn't sure if my code would work but I'm such a stubborn guy and thought, "I've got this theme, I'm gonna figure it out" ![]() Anyway, glad that worked and I could be of help. I agree with you, it makes more sense to have the full url in the post title. Have fun mate! |
|
If you're looking for an SEO optimized Wordpress theme that is like Xfactors, PM me for details. I'm limiting the number of copies to minimize footprints for my current customers and myself. Thanks. (please prove you've bought xfactor's course)
|
|
|
|
|
![]() |
|
| Tags |
| blog, needed, php, theme, wordpress |
| Thread Tools | |
|
|
![]() |