1
vote
1answer
38 views

Add a class to post title if a link ends with a certain extension

I am using a Page Links To plugin that allows me to link the post title to an external web page, rather than to the content of the post. And I link some of the post titles to external pages, and ...
-1
votes
1answer
28 views

How to display my categories in a list (to a post, not the sidebar)?

i want to display my categories to a post like a list. i have this (parent- and child-) categories: - Sports - Football - Basketball - Toys - Dolls - Lego - Books for example one ...
0
votes
1answer
65 views

How can i put image to come first than the title?

im editing my posts and when i create one, it comes: TITLE IMG CONTENT and i want it like this: IMG TITLE CONTENT ------------------got it--------------------------- <?php if ( ...
0
votes
1answer
40 views

Is there any way to stylize articles one by one?

I'm new in wordpress thing and im trying to edit my posts. my problem is: I'm editing posts in index.php ---------index.php---------- <?php get_header();?> <div ...
1
vote
1answer
152 views

How to add tags (custom taxonomy) to post class css?

I am trying to figure out how to add my custom taxonomy for tags to the post class css when I already have added the custom taxonomy for categories. The code Im currently using to add the category ...
1
vote
2answers
140 views

Latest 5 posts (custom post type), each post different CSS

While creating our portfolio i'd like to make a dynamic header with the latest 5/6 featured images in a row. All these posts come out of the 'apps' custom post type. <div id="header"> ...
0
votes
0answers
37 views

Padding/margin CSS in h4 when text wraps [closed]

http://www.gmnc.org/ Posts in right sidebar- when h4 heading wraps, the CSS doesn't seem to know there are 2 lines- and the margin/padding at the bottom sets itself from the first line. I can mess ...
0
votes
1answer
38 views

Font shows up as Arial instead of Times [closed]

I am the webmaster of Palo Alto High School's online publication, The Paly Voice. We're using Wordpress, and for some reason occasionally chunks of stories change fonts. Here is an example. I ...
0
votes
0answers
143 views

italics / bold not working in posts/pages [closed]

so as the thread header says the bold, italics arent working in my posts. The thing is that, YES i have them being reset in a CSSRESET file but i manually removed the "Strong" and the "em" tags from ...
0
votes
1answer
31 views

displaying the categories post

I have this php code below for displaying the post from the specific categories. <ul id="sliderx"> <?php query_posts('category_name=slideshow&showposts=10'); while (have_posts()) : ...
0
votes
2answers
222 views

adding a custom css class to post

essentially I need to be able to add a class to a post when it show in the list (say index.php) so when in the back end you can say oneCol, twoCol, threeCol and it will then output this within the ...
0
votes
2answers
88 views

Locally change the font family [closed]

I'm using the standard Wordpress theme (WordPress Default 1.6 by Michael Heilemann). The standard font for my articles is a sans-serif font. I'd like to display, for a sentence only, a serif font ...
1
vote
1answer
78 views

How to make classes for posts?

Thanks in advance. I'd like to have posts with different colored borders and headers. It would be nice to choose a category of the post (red, blue, black, etc.) and have it change the class for that ...
0
votes
1answer
55 views

YARPP php question

I'm trying to put a border under related_posts() ,it works, but the border is showing even when the there are no posts. How do I make the border show only when there are related posts to show?
0
votes
1answer
242 views

Right align a youtube video

I'm trying to right align (class="alignright") a YouTube video AND allow my client to edit the surrounding text in the future using the visual editor. I simply added class="alignright" to the tag ...
0
votes
1answer
101 views

Custom Text and Links for Certain Posts? [closed]

UPDATE: I've added the box of text itself to a few pages, which will hopefully help to explain what I want to do. As you can see, this post has a div at the top explaining that it's part of a series ...
0
votes
1answer
62 views

Is there a way to specify an extra class for a post or page with no title?

If I do a post or a page with no title, I'm left with an empty h1 tag at the top of the post/page. I'd like to either get rid of the h1 in these cases, or else be able to add an extra CSS class to ...
0
votes
1answer
454 views

Custom post type and body_class: Remove “blog” class

I am using body_class(); to style different sections of a wordpress site by their body class. Page styles descend from .page-template, blog styles descend from .single-post and/or .blog etc. I have ...
0
votes
2answers
2k views

Having Trouble Styling a Table in a Wordpress Post

I am trying to style a table in a Wordpress post, but am having difficulty getting it to work. I have set the post to HTML-editing mode and can get some of the styles to take, but not all. (To be ...
5
votes
2answers
2k views

How to add a “last” class to the last post in loop.php?

I need to add a "last" class to the last post that appears in loop.php. Can someone tell me how to accomplish this?