Floyd3
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Change background image based on custom field?After reading a bit, I get the feeling that custom fields may not be the way to go, but rather the category idea.
So I’ve now placed each of the 250 posts into a category based on it’s album.
All I need help with now, is how to say:
“If is album1, then display background image album1.jpg”?
Or to use the example album again “If category is Relics, then display background image pinkfloydtabs.com/bgimagtes/Relics.jpg”
And where to put that code. Anyone know?
Figured it out – if anyone finds this in the future:
Add “
position: relative;
” to the CSS and it makes it smooth for some reason.Actually, I just realized it’s not the font type’s problem at all – it has that “chunky” un-smooth look with any font I tried in Internet Explorer.
So I guess I’m having a WordPress/Theme and or Font/IE issue because no fon’t are displaying correctly in IE.
Any ideas?
Forum: Fixing WordPress
In reply to: Remove the first line of content from postsMy question is slightly different – it’s not the same line in all of the posts.
You can look at this page for example: https://www.pinkfloydtabs.com/echoes-guitar-tab
I want to delete the “Echoes – Pink Floyd” part at the beginning of the post, because I am going to do a stylized replacement for that with the usage of this:
<h5><?php the_title(); ?></h5>
So all of the posts have the “Song Title – Pink Floyd” just as text at the very beginning of each tab/post. But the “Song Title” part is different for each.
Forum: Fixing WordPress
In reply to: Remove the first line of content from postsI also have this question.
I have over 500 posts, and need to delete the first line of each of them. Any way to do this without manually going in and editing them one by one?
Thanks ?? and thank you for your help too.
Cheers.
Figured it out if anyone reading this eventually might be trying to do this. Add this code to your header.php file to make the title all UPPERCASE:
<?php function captitle($title) { $title = strtoupper($title); return $title; } add_filter('wp_title', 'captitle'); ?>
Figured it out if anyone reading this eventually might be trying to do this. Add this code to your header.php file to make the title all UPPERCASE:
<?php function captitle($title) { $title = strtoupper($title); return $title; } add_filter('wp_title', 'captitle'); ?>
I tried putting <?php echo strtoupper(‘This is the title to be uppercase’); ?> but it didn’t work…
So I’ve tried a PHP way of doing it, and CSS way, but still no luck.
Am I close?
Am I close with the text-transform thing? I google’d the question and searched the forums but couldn’t find it.
Thanks Matthew, what I’m actually trying to do is make ALL UPPERCASE only part of the title, so it’s something like this PinkFloydTabs.com | NAME OF PAGE | Pink Floyd Tabs
It seems like this shouldn’t be too hard to do, I’d like to figure it out without hiring a developer if possible.
Any ideas?
Also, not sure if it matters, but my site is here: https://www.pinkfloydtabs.com and I use the All in One SEO plugin to write the title’s for my pages.
Anyone know how?
Does anyone know if this is possible? I suppose it may be more of a WordPress question rather than All in One SEO question.
Forum: Fixing WordPress
In reply to: How to override CSS for just one page?Nevermind! I had a stray div tag floating around that was messing it up.
“.post .toolsmore td { border: none; }” got rid of the inside border and “.post .toolsmore { border: none; }” got rid of the outside one.
Success! Thanks for your help alchymyth!
Forum: Fixing WordPress
In reply to: How to override CSS for just one page?Actually, oops. I spoke too soon, it messed some things up towards the bottom of the page.