Working with Wordpress Themes

Work with Wordpress Themes

Too bad that you don't make it very obvious from the beginning that you ONLY work with WordPress.org. WordPress themes consist of a CSS stylesheet, a collection of image files, and a set of code templates written in PHP.

Developing behind the scene WordPress themes

Recently, a readership asked how to create a topic on a web site: Those are the major issues, but there are a few other issues that need to be discussed to make sure that the topic develops smoothly on a site. Let's take a look at how to reach these objectives and how to efficiently address behind-the-scenes issues.

Now, the simplest way to create a new behind-the-scenes topic is to get a good themeswitcher plug-in installed. The possibilities are many (including my own free plug-in, Switcha Theme): Each of these plug-ins works perfectly to work with several themes on your website. And if you also want to allow your users to change the topic, I have to suggest my own Switcha plug-in.

Switcha does everything the other plugs can do, but with the added benefit of redirecting them back to the page they came from after a change of topic. Several of the other plugs always direct the visitor to the homepage after changing the topic. Notice that for the various topic switches plug-ins, the URLs used when changing topics contain different Query-String parameters that are similar but not exchangeable.

As soon as you have implemented a themeswitch, it will be hard to replace it with another one. Anyway, once you've enabled your favorite themeswitcher plug-in, you need to know how to actually change the themes.... Various plug-ins contain different ways to change to a different topic.

When you use Switcha themes, you can choose and enable your alternative (development) themes in the WordPress Admin panel. When you use one of the other Topic Switch plug-ins, enabling the alternative design for your web browsers is as simple as typing a particular web link in the web site toolbar.

For most of these plugs, these theme-switching urls look similar: Here the synopsis is simple - the only thing that needs to be modified is the topic name, which in this case is my-awesome-theme. If I develop a new design for Perishable Press, I just write down the change of topic for both the new design and the standard design.

Obviously, the general URL formats differ according to the topic change plug-in you are using. A further possibility to change between actual and alternative topics is to integrate the link to the topic change and/or the drop-down menue directly there on the topic pages themselves. As an example, adding the drop-down change topic drop-down list to the bottom of all your topics is a great way to accelerate and streamline the design proces.

However, please note that if you do not expressly remove your new design from the change of topic menus, it will be available to all your users. Well, now that you are set up and can move between topics quite quickly, there are a few other points to keep in mind.... That might seem odd, but there's nothing wrong with your new design - it's handled by WordPress like any other design in your themes-folder.

There are all the demands of the standard theme: Provided that your new design fulfills these essential prerequisites, WordPress recognizes your design as such and displays it upon activation (either via the admin or via the topic change plugin). By the way, the name of your topic is specified by the styles. bss-files.

Subject Name", which is shown here, is the same one used in your change of topic URLs. As soon as you have defined the basic principles of your new style, use your Topic Switch plug-in to enable it local to your web browsers. From there you can rotate the layout as you like, just like with a new WordPress install.

As you work on your new design, your users will still see your standard design that is all you specify in WordPress Admin. That is why the change of topic methodology works so well. Below are a few small things that will help you develop your topics behind the curtains....

Plug-ins apply to all topics, even if your design is not currently defined as the standard, it will still be affected by all plug-ins on your website. One of the advantages of using plug-ins over user-defined features.... Unlike plug-ins, user-defined features (i.e., features placed in the features of your design. PHP file) only apply to the currently selected design.

In case you are lacking a feature in your Behind the scenes topic, make sure you have correctly applied all necessary user-defined features. This happens to everyone: you're working behind the scene on a new design and you can't give the impression that a user-defined page style sheet appears in WordPress Admin.

The reason for this is that the page editors only display the available layouts for the currently selected standard topic (i.e. those that everyone can see). In order to avoid this, you can either up-load a copy of the user-defined page style into the currently selected design or change the standard design to your behind-the-scenes design on a temporary basis.

I use the previous way and simply remove the page style if it is not needed in the standard topic.

Auch interessant

Mehr zum Thema