Create Users Automatically In WordPress

WordPress is a web application by many - often you have to create a bridge to other systems. For example, to give users a single sign-on via the web applications. Therefore, automated creating users might be necessary. Depending on which system is the leader, the data must be synchronized. From past experience, the users are usually created in WordPress, as this is not the leading system for user administration. WordPress has the function wp_insert_user() for the automated creation of users.
Continue reading …

Memory Size of xxx Bytes Exhausted – It’s Really Annoying

Since the release of version 3.0 of WordPress more people are seeking for help because of this problem: My memory limit is exhausted! I also had some problems while testing my Plugin Codestyling Localization with the new version when it was editing a large Plugins or WordPress itself.

So I started to research the problem, read other articles about this topic, made some tests and found out some surprising results.
Continue reading …

Use WordPress Shortcodes outside the Editor

The Shortcode-API can help to make your Editor more advance especially with the help of Shortcodes to insert external content to your posts or pages easily. There are many possibilities, as you can see in this example Easy Way For Advertisement.

But if sometimes you like to use a Shortcode in your Template or just don't like to put it in the Editor, for example you like to insert it in the Custom Field or somewhere else. There is a function in WordPress which helps you to insert a shortcode somewhere else besides your Editor.
Continue reading …

Control WordPress Content via Userrights or Time

WordPress comes with its own user administration, therefore we can control on the basis of various roles and objects the content. In some cases, it is a typical request that you give access to a complete content only to registered users. The same is possible only for parts of the content. There are certainly different possibilities to do this - I'm going to mention some solutions here.
Continue reading …