Posts tagged: wordpress

Add new post Types and Fields to our wordpress blog

Posted by Ruben Canton on March 23, 2011 at 1:23 am
categories Web programming

Hi there! Have you ever thought to have another field in the wordpress post edit page, for example, an image field to set a thumbnail for that post, a price field to set the price of the houses you are showing or, who knows, just a subtitle field to place a text down the post [...]

 

Reading blog feed using PHP

Posted by Ruben Canton on November 25, 2010 at 12:48 am
categories Web programming

Well, once I made the last post about how to read a blog feed in ASP.Net using LINQ I just wondered if I would be able to do it in PHP too, so I did it.
Here’s the code:

function getBlogFeed($urlRSS) {
$doc = new DOMDocument();
$doc->load($urlRSS);
$arrFeeds = array();
foreach ($doc->getElementsByTagName(’item’) as [...]

 

Reading blog feed in Atom or RSS with LINQ

Posted by Ruben Canton on November 19, 2010 at 5:44 pm
categories Web programming

One of the most practical features a blog has its the possibility of requesting the latest posts from another webpage to read it without the need of accessing its current webpage. For doing this crazy idea blogs use XML technology, the REST protocol and one of the syndication standards like RSS, RSS2.0, Atom or RDF.
In [...]

 

How to make a wordpress widget

Posted by Ruben Canton on September 3, 2010 at 12:28 pm
categories Web programming

This is a translation from my original post in spanish. I hope you enjoy it!
Continuing with the make your own wordpress theme guide, it is possible that you come to the point where you need a new module you don’t have in the sidebar, more known as widget.
There are a few ways for [...]

WordPress Themes