Here I will talk about URIs, URLs and URNs because I see a lot of confusion between the three. In fact, I used to confuse them, and they caused me a lot of headaches, and I don’t want you to go through that.
Read More »Category: PHP
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.
How do I Import an RSS feed as WordPress posts properly(without duplicates)?
Before starting to import an RSS feed as WordPress posts, you need to know about some WordPress and PHP functions like wp_schedule_event(), wp_insert_post(), simplexml_load_file() etc. Let’s describe its details:
Read More »How to create image XML sitemap for posts, pages and Custom Post Type(CPT) in WordPress?
To generate/create an Image XML Sitemap using a featured image and images from the post content area in WordPress, we need to use an action hook called publish_{$post->post_type} ( triggered whenever a post, page or Custom Post Type(CPT) post is updated, or its new status is “publish” ).
Read More »