How to make classes for posts?

Use ‘post_class‘ for custom CSS per post. An example with 3 variations (only use 1): <div id=”post-<?php the_ID(); ?>” class=”red box” ?>> //idea 1 <div id=”post-<?php the_ID(); ?>” <?php post_class(‘box-color’); ?>> //idea 2 <div id=”box-color” <?php post_class(); ?>> //idea 3 <h3>Header</h3> Content </div> To be able to choose a color in the post, use a … Read more

How to style the RSS wordpress?

You will need to add XSLT sheet to the RSS declaration. It will automatically beautify the RSS XML. You have a tutorial here Otherwise, just use “Advanced RSS” plugin, that allows you to configure the graphics with it ( via XSLT ). Plugin page here

CSS for Created Menu “Active Selected” not working, everything else is!

I forgot to add this is for BUDDYPRESS This worked: Add to functions.php: //–Current Page URL function curPageURL() { $pageURL = ‘http’; if ($_SERVER[“HTTPS”] == “on”) {$pageURL .= “s”;} $pageURL .= “://”; if ($_SERVER[“SERVER_PORT”] != “80”) { $pageURL .= $_SERVER[“SERVER_NAME”].”:”.$_SERVER[“SERVER_PORT”].$_SERVER[“REQUEST_URI”]; } else { $pageURL .= $_SERVER[“SERVER_NAME”].$_SERVER[“REQUEST_URI”]; } return $pageURL; } Add to header.php before </header> … Read more

Admin Panel pagination link styles

Fantastic, once again researching my question has provided an answer. For those interested, surround your pagination links in <div class=”tablenav”><div class=”tablenav-pages”>LINKS</div></div> to get better looking number links. (moved to answers as suggested by SickHippie)

whats happening with my index page?

I think you just need to add your body “blog” class before your own css style like below: .blog .entry-subtitle { width: 100%; height: 36px; line-height: 36px; letter-spacing: 1px; color: white; font-weight: normal; font-size: 1em; text-indent: 15px; margin-top: -10px; background-color: #761616; text-transform: uppercase; } It should works.

Style Differently Edited Posts

This is very similar to @mrwweb’s answer, but a little bit more fleshed out. We’re also not going to overload taxonomies in order to get our post class, but do what you wanted initially: use a custom meta box. There is a built in template tag called post_class. Like almost every other function in WordPress … Read more

How to apply wordpress css styles to a jQueryUi dialog?

You can do it in two ways: Apply the same IDs, classes and general DOM element identification that you have on your website, to the content being shown in the modal dialog. This way, they’ll read from the same css directives you already have in place. OR If the styles you want to copy are … Read more

Selectbox in admin panel function linking to CSS

Not Recommended <?php if(theme_get_option(‘theme_style_options’) == ‘style1’): ?> <link rel=”stylesheet” type=”text/css” media=”all” href=”https://wordpress.stackexchange.com/questions/55754/<?php echo get_template_directory_uri(); ?>/style1.css” /> <?php elseif(theme_get_option(‘theme_style_options’) == ‘style2’): ?> <link rel=”stylesheet” type=”text/css” media=”all” href=”<?php echo get_template_directory_uri(); ?>/style2.css” /> <?php elseif(theme_get_option(‘theme_style_options’) == ‘style3’): ?> <link rel=”stylesheet” type=”text/css” media=”all” href=”<?php echo get_template_directory_uri(); ?>/style3.css” /> <?php endif;?> OR <link rel=”stylesheet” type=”text/css” media=”all” href=”https://wordpress.stackexchange.com/questions/55754/<?php echo get_template_directory_uri(); ?>/<?php … Read more