Triplanetary
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: "Upload/Insert" no longer functioning after 3.2 upgradeEdit: Sorry, wrong thread <_<
Forum: Themes and Templates
In reply to: how can I have "underline" effects on my title links? tnxFor the sidebar links, you should style them
.sidebar1 a:hover { text-decoration: underline }
And for the title links,
.PostHeader a:hover { text-decoration: underline }
Forum: Fixing WordPress
In reply to: Image Behind Emedded Youtube Video? How?What I would suggest is to put the YouTube embed inside a <div>, give the <div> the background you want, and then set a padding property for the <div> so that the background is visible around the edges of the YouTube embed. Your HTML might look something like this:
<div class="youtube"> <YouTube stuff> </div>And then you can style it with CSS thusly:
div.youtube { background: url('location/picture.png') padding: 15px; }The padding will add 15px of blank space to each of the div’s four sides. The div’s height will thus be the height of the YouTube embed, plus 30 pixels. You’ll need to give the div a “width” or “max-width” property to keep it from stretching to fill the entire width available to it – set it to the width of the YouTube embed, plus 30 px again.
But what I’m driving at is that, with this height and width in mind, you can create a background image with the same dimensions as the div. (15 pixels is just an example; you can set it to whatever you want, of course.)
The solution is to use a Child Theme.
http://codex.ww.wp.xz.cn/Child_Themes
Create a child theme of Twenty Ten, and make all changes to your CSS in your child theme’s stylesheet. After that, no update made to Twenty Ten or WordPress will ever affect the changes you make.
Forum: Themes and Templates
In reply to: Twenty-Eleven QuestionIt is a label. It’s generated by the comment_form function, but you can override it. Go into Twenty Eleven’s comments.php file (or copy it to your child theme if you’re using a child theme), find the line <?php comment_form(); ?> – it’s at the very bottom.
Replace it with this:
<?php comment_form( array(‘comment_field’ => ‘<p class=”comment-form-comment”>’ . ‘<textarea id=”comment” name=”comment” cols=”45″ rows=”8″ aria-required=”true”></textarea></p>’) ); ?>
And that’ll remove the label.
Forum: Themes and Templates
In reply to: WordPress 'quickstart'There are plugins that populate a WordPress blog with sample data, like this one:
http://ww.wp.xz.cn/extend/plugins/better-lorem/
That’s what I understood you to mean. Let me know if I’m wrong.
Forum: Themes and Templates
In reply to: Unable to get rid of these bullet points in my middle sidebarli.widget { list-style: none }
Works when I try it out in Firebug.
Sounds like a PHP error.
To answer your question, you don’t really need to back up anything. What you should do instead is, when this happens, simply delete the Gray Opaque theme directory – or even just rename it if you don’t want to delete it. If your WP install can’t find the theme it’s supposed to activate, it’ll fall back onto the default Twenty Ten theme, and your site should work fine from there.
Forum: Alpha/Beta/RC
In reply to: My IE8 is not obsolete!!!!WinXP’s lack of support for IE9 is just another reason you should switch to Chrome, Firefox, or Opera. Plenty of good options, so instead of whining about WordPress’s acknowledgement of a fact, you could be doing something about it.
Forum: Alpha/Beta/RC
In reply to: Twenty Eleven Header Pic from Media Lib?It’s not really an oversight. The intent is that if you use one of those large images in a post or page, it’ll automatically set the 1000×288 version of the image as the header for that post or page only.
Uploadable header images have always been kept separate from the Media Library, so I don’t expect this to change.
Forum: Alpha/Beta/RC
In reply to: Missing class-json.phpThanks, guys. That definitely clears things up.
Forum: Alpha/Beta/RC
In reply to: Missing class-json.phpWell, the require_once call is in one of the files for the site’s theme, not in the WP Core. I’m comfortable altering the particular theme file, but I don’t know if the class-json.php file has been replaced with another one, so I wouldn’t know what to call on.
Until I figure that one out, all I can do is copy the class-json.php from 3.1.3 back into the wp-includes directory. Which works, as I just discovered. But it bothers me because I have to figure there’s a reason they removed class-json.php.
Forum: Themes and Templates
In reply to: wp_nav_menu – Horizontal drop down menuIf there are multiple stylesheets related to navigation, the safest place to put it is in the one that loads last, so that it won’t be overwritten. You could even put it in its own stylesheet and insert that sheet into the header of your theme.
Forum: Fixing WordPress
In reply to: No related content plugins show up with my themeI don’t know why the other four didn’t work, but I think I can see why this one isn’t working. It uses JavaScript, and I don’t think it’s using it correctly. I looked at the source code of one of your post pages, and the JS for the related posts is there in the code, it’s just not showing up on the actual post (obviously). Take a look for yourself and compare it to the guidelines at http://codex.ww.wp.xz.cn/Using_Javascript#Javascript_in_Posts
If Yet Another Related Posts Plugin isn’t one of the five you’ve already tried, I’d try it. http://ww.wp.xz.cn/extend/plugins/yet-another-related-posts-plugin/
It doesn’t use any JavaScript, just pure PHP, so the output that gets served to the user’s browser is just HTML. Fewer complications that way.
Forum: Themes and Templates
In reply to: So lost… what should I do with themes?I’m not going to knock premium themes – they have their uses. But the general answer, in my opinion, to a question like “Do I need a premium theme?” is no. Unless you have very large-scale needs. The main thing you get when you pay for a theme is full support from the theme developer. In terms of features, you can get pretty much all the same stuff with free themes, and any features your theme is lacking can easily be adding using plugins. So for a personal blog, you generally don’t need to pay for a theme.
So here’s what you should do. Go here:
http://ww.wp.xz.cn/extend/themes/tag-filter/There, you can check those boxes next to the features you want in your theme. As you can see, you can search for three-column layouts among other things. If you want your page’s layout to be as wide as possible, I recommend also checking the “flexible width” box. This means that the layout of your pages will always adapt to the width of the user’s monitor.
As for an image-based navigation menu, your best bet is probably to use CSS background images. If you look at the source code for a generated WordPress nav menu, you’ll see that each menu item has its own CSS class. You can use this to define a separate background image for each of them in your blog’s stylesheet.