Tag: template tag

  • New Category Templates in WordPress 2.9

    Until now you had to use a query in your theme or a Plugin to adjust the design or the content according to a specific category. In version 2.9 the template hierarchy gets expanded and you can create with the help of a slug an own template.

  • WordPress Searchform, Template Tag or Template

    There are several ways to integrate search function into a theme for WordPresss, usually built in a template, which is included into the theme. This is not in all cases necessary and can also be realized by using a WordPress template tag.

  • Filter Duplicate Posts in the Loop

    As the question arises quite often I’d like to show how I make sure that the content presented, which were output in a loop, not showed up again in a second loop.

  • Embed WordPress Functions Outside WordPress

    From time to time you need data from WordPress, but should not displayed in the system; they are necessary outside the installation. There are basically two options. Content can be quite easy provide via feed and processed or you gain access to the system. And that is basically very simple and is briefly described here.

  • Pages & Subpages – Is Parent?

    WordPress allows to create sub-pages in your backend. This is why many uses WordPress as a CMS. Sometimes you like with the help of the Conditional Tags to start several queries with a certain respond – but then you see frequently in the template static queries on any ID of a page. But it’s possible…

  • WordPress Category Exists?

    Already tried in WordPress to check if a category exists? There is no Template Tag so you need to create your own solution. I have 3 different solutions prepared, although one solution only works within the framework of the admin area.