Publishing Extend of WordPress

Not always you want to solve things like WordPress provides and you seek for a different solution. Sometimes you don't need various applications of the backend to publish posts.
A simple example would be a form, no matter where, where the contents of the form should automatically published on your WordPress blog. Alternatively, you could send it with a different status, and therefore only publish them if the admin approves it.
For a good start, here is the function, which is pretty powerful and for all processes of the publication responsible.
Continue reading …

Bye Bye my-hacks.php?

Soon the new 2.8 version of WordPress will be released, but the hype is not as much as it was some years ago, when version 2.0 was released for example.

But the new version brings many new things, fixes a large number of problems and WordPress is in my view, more open than in the prior versions. One of the points that users should be aware of is the fact that the option for the support of the my-hacks.php removed. 2003 this file was announced as a feature, and now it's going to be removed silently. WordPress has a sophisticated interface system, you can start at various points and bring in new functionality, so that the developer team decided that there is no longer need to support this solution. Alternatives and possibilities of further usage will briefly shown here.

Continue reading …

WordPress Plugin-Path

When working on a Plugin I noticed that the path to its files is not always complete, which depends on the WordPress version.
With WordPress Version 2.8 the function plugins_url() extends and it can be incorporate in a much cleaner way, no maintenance of the folder required, where the Plugin is put. An example will illustrate it and possibly will help the one or other author at his work.
Continue reading …

Change Admin Pagination on Posts, Pages and Comments

One or the other users in the backend of WordPress find it quite disturbing that not more than 20 articles, pages and comments per page gets listed. Especially if you work with many tables and you have a fast connection, then an increased number of listed articles, pages, comments is useful. How to adapt and with a little CSS getting the best presentation I will show now, here are some tips.
Continue reading …

Disable WordPress Search

Not always is the search in WordPress desired. The one or another application with WordPress doesn't need this feature. Even if it is an added value in my opinion. In some cases, it still shouldn't be displayed and so I have them deactivated with access to two hooks. For now, I can see no other place where you could access it in my applications and it works so smoothly.
Continue reading …

Pages & Subpages – Is Parent?

wp_subpage
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 to handle this differently, and simpler when it comes to pages or sub-pages of this page.

With this solution you can, for example, in dependence of a page, load a specific layout. This small request I'll take as an example and show a function that gives queries to pages / sub-pages and I will show an example in action.
Continue reading …