HorrorUK
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Some widgets won't allow upper case, how can I stop this?Thanks, that seems like the way to go, but it doesn’t seem to be working, as you can see here:
http://yournews.moonworks.co/category/animation
Am I doing something wrong here?
.widget-title { text-transform: uppercase; }Forum: Themes and Templates
In reply to: How to only show certain code if a plugin is installed?Thanks for that.
There still seems to be a problem though, as it doesn’t seem to be reading the section that says:
AWM_generate_linking_code();Forum: Themes and Templates
In reply to: Only show a section of code if the section is not emptyThanks, that did the trick.
Conngratulations on understandign my mess of a question 🙂
Forum: Everything else WordPress
In reply to: I'm being told my user name doesn't exist on this forumThanks. It’s amazing, I tried it several times case sensitiove, and it didn’t work, but now it does. Before, it didn’t insist of it being case-sensitive.
It works now though, and that’s the main thing.
Forum: Fixing WordPress
In reply to: Plugins section only shows Askimet in 3.1Don’t worry, I’m using Multisite, and just noticed that I had to go to the Network settings (top right) to see the plugins.
Forum: Themes and Templates
In reply to: Editing an image captionIt looks like I also need to use:
.wp-caption- { }It hasn’t solved the font problem yet, but it looks like the area I shouldbe looking at – maybe 🙂
Thanks
Forum: Themes and Templates
In reply to: Editing an image captionWhat do you mean by specificity?
I’m learning this as I go along, so some things have passed me by.
It’s just weirtd that everything else I put in the element is working.
Forum: Themes and Templates
In reply to: Show author name?Thanks, that works great
Forum: Themes and Templates
In reply to: Show author name?Thanks.
This is my own theme I’m creating. I’ve pasted the code here:
http://wordpress.pastebin.com/zHxBDnAZThe code I used is on line 7
Forum: Fixing WordPress
In reply to: How to add an if/else statement to a custom fieldThanks for the help from both of you.
The code above did keep giving me that lovely white screen, so I messed around a bit and got it to work in the end by using this:
<?php $source = trim( get_post_meta($post->ID, "source", true) ); if( !empty( $source ) ) : ?> <div style="clear: both; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid transparent;"></div> <b>Source:</b> <a>"><?php echo $source; ?></a> <?php else : // Output the info you want if source isn't set endif;?>From what I can tell, it was a single <?php causing the problem.
Now it’s time to find the next problem 🙂
Forum: Fixing WordPress
In reply to: How to add an if/else statement to a custom fieldThanks Curtiss
For some reason, the code is giving me a white screen when I try to add in some php code. I’ve tried to do the opening and closing of the php tags, but no luck.
This is what I’m using:
<?php $source = trim( get_post_meta($post->ID, "source", true) ); if( !empty( $source ) ) : ?> <?php <div style="clear: both; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid transparent;"></div> <b>Source:</b> <a target="_blank" href="http://<?php echo get_post_meta($post->ID, 'source', true); ?> "><?php echo get_post_meta($post->ID, 'source', true); ?> </a> ?> <?php else : // Output the info you want if source isn't set endif;?>The site works with your code as it is, it’s just when I get to it there is a problem
Forum: Themes and Templates
In reply to: Footer text doesn't scroll with everything else (CSS)I was thinking that, but on shorter pages it won’t appear at the bottom of the screen.
Forum: Themes and Templates
In reply to: Footer text doesn't scroll with everything else (CSS)Changing it to relative causes it to go to the bottom of where the text goes, as you can see if you click on one of the links.
I’m trying to get it to stick to the bottom of the page, but if the page is longer than a single screen, it would remain below all the text.
Forum: Everything else WordPress
In reply to: Report of a spammerthanks, I’ll remember that
Forum: Everything else WordPress
In reply to: Report of a spammerThanks. I must be blind though, I can’t see modlock