Category: WordPress Hacks
-
A Solution For The WordPress Gallery
There are things in WordPress, I do not like. This includes the gallery. Not that the idea behind it is bad. It is just poorly implemented. But only criticizing is not fair. Let’s see what you can do better.
-
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.
-
Set options on activation Themes
The Photo Blog Theme Greyfoto has been updated and I wanted to make sure that the settings of WordPress are as I need them for the theme. Therefore must be written some data in the database when activate. Currently there is no hook for this, as is known for Plugins. The discussion on WP-Hacker-List was…
-
Add File Types for Mediathek
In WordPress 2.8.5 the whitelist of allowed MIME types for downloads will be valid for administrators the first time. This is a step towards security and you can, with the help of a constant, upload all data types. define ( ‘ALLOW_UNFILTERED_UPLOADS’, true); Who has implemented several projects already with WordPress probably had experienced that a…
-
Check If Required Plugin Is Active
It might be, that your own written Plugin requires another stand alone Plugin to be active. For example if you like to offer a version with enhanced functionality of a Plugin. There are certainly a variety of usage and the implementation is not difficult. For the implementation, we need the active Plugins, which are found…
-
Themes and automatic_feed_links
Since WordPress 2.8, there is the function automatic_feed_links() in the function.php. Which writes the link elements for the RSS protocols in the header of the document. The advantage of this feature is, you do not need to worry about whether a change comes in the Feed-protocoll in a new version of WordPress, removed or a…