Skip to main content

Home/ Wordpress/ Group items tagged tags

Rss Feed Group items tagged

Luciano Ferrer

Style Different Categories in Your WordPress Site Differently Using CSS - Tuts+ Code Tu... - 0 views

  •  
    "In the previous tutorial I showed you how to style the posts on your main blog page according to their category, creating color coding by category. A lot of sites that use this technique also take it further by adding distinct styling to each section of their site, in a way that co-ordinates with the styling on the main blog page or home page. You can just use a simple color scheme or add completely different styling to each section, maybe with a different logo or branding for different parts of your organisation, or even a different layout. An example is the London Times website, which uses a different color for each section of its site. The front page uses these colors in a banner above each post, as shown in the screenshot:"
Luciano Ferrer

How to Style Each WordPress Post Differently - 0 views

  •  
    "Have you ever came across a site that style their posts differently? Some sites have different sticky posts highlighted whereas others have each category post styled with a different color, or some may even have a totally unique outlook altogether. Well, that is exactly what we are going to cover in this article. We will share how you can style different WordPress posts in different ways. So what are we going to use? We will use a function called post_class. Post Class function prints out different post container classes which can be added, typically, in the index.php, single.php, and other template files featuring post content. Note: This tutorial requires that you are somewhat familiar with WordPress theming, and know fairbits of HTML / CSS. "
Luciano Ferrer

How To Style Your Posts Based on Category, Tag or Custom Taxonomy in WordPress - Theme.fm - 0 views

  •  
    "How To Style Your Posts Based on Category, Tag or Custom Taxonomy in WordPress Style Posts by Taxonomy We heard this question many times and it's not as simple as it sounds, so we're dedicating a whole blog post to the solution. Today we'll talk about child themes, taxonomy (categories, tags and custom taxonomy), the post_class function, it's filter friend and their correct usage in WordPress themes. As simple as it sounds, adding the appropriate CSS rules to your theme stylesheet doesn't always work unless you're using default themes or very well written ones. Then again, even if it does, you might see it broken during the next update to the theme you're using, which brings us to child themes."
Luciano Ferrer

WordPress › Ninja Page Categories and Tags « WordPress Plugins - 5 views

  •  
    "A simple plugin that allows the user to assign categories and tags to pages. "
Vernon Fowler

Conditional Tags « WordPress Codex - 0 views

  • The Conditional Tags can be used in your Template files to change what content is displayed and how that content is displayed on a particular page depending on what conditions that page matches. For example, you might want to display a snippet of text above the series of posts, but only on the main page of your blog. With the is_home() Conditional Tag, that task is made easy.
  • is_single()  When any single Post (or attachment, or custom Post Type) page is being displayed. (False for Pages)
  •  
    Great for use with the Widget Logic plugin. A reference for all the conditional tags that help you restrict a widgets viewing.
  •  
    Warning: You can only use conditional query tags on or after the init action hook in WordPress. For themes, this means the conditional tag will never work properly if you are using it in the body of functions.php, i.e. outside of a function.
anonymous

Ultimate Tag Warrior - 2 views

  •  
    It's from 2007
1 - 11 of 11
Showing 20 items per page