Insert last posts in a static page using a RSS parser

Before to design a Web project we usually consider several issues to decide whether it is more accurate to perform a static or dynamic Web page. Normally I prefer a dynamic page if the content will be modified by one or more persons, but I recommended a static Web page if the content is light and it will not be changed frequently. In some cases it might be interesting to create a static page with a dynamic content section such as a news section that can be updated easily. In this post we will explain how to insert dynamic content in a static page using the RSS parser SimplePie. ...
More
Posted in Uncategorized

How to create your own Theme for WordPress

In this post I'm going to explain the most basic steps I have collect to create your own theme for WordPress. The main idea is to get the main structure to learn the different parts of WordPress themes as a base for future design and functional enrichments. You could download files of the ikerbitwp theme I'm going to try to explain briefly. I have built the theme from this basic HTML Web page.     First, access to “/wp-content/themes” path where WordPress is installed. The "themes" folder contains a folder for each theme. In the same path, create a new fo...
More
Posted in Uncategorized

USB to ISO

Always I've though it's a good idea to archive in ISO files all my boot CD's and DVD's. Firstly, because I want to forget problems with damaged CD's and secondly because I can bring easily lots of CD's in a USB pendrive. It's easy to get an ISO file from a CD o DVD disk using known CD burning  software but It's more difficult if you want to get an image ISO file from a boot USB (US to ISO). In that case we could use Folder2ISO, an open source software made by TrustFm for Windows operating systems witch doesn't need be installed. With this tool we can get an image ISO file from a boot USB...
More

Links to different social profiles depending the languaje in WordPress with WPML

If you have a blog or Website in different languages like this, may be, you could want to change the links of the social icons for different profiles depending the languaje which is selected. In this post I explain how to make an small change in the Theme to get a different link for the same icon.   In this case I am using WPML plugin to implementing a multilingual site. This plugin uses "ICL_LANGUAGE_CODE" constant to identify the language which the content is showing in. I am going to insert a If-Else statement in PHP  according to discriminate the links of different profiles. ...
More
Posted in Uncategorized

How to insert code into a WordPress posts

There are two basic steps to insert code in our post: Insert the code with "code" tag and install a plugin to get a good visual effect. 1.- Insert the code with the tags.           2.- Get and activate a plugin. In this case I have choosen SyntaxHighlighter Evolved plugin. Result:   There are lots of parameter controls to get the best results. In the example below I add (language="html" firstline="33") if a want the code starts in the line number 33   For more information Code »Posting Source Code.
More