SlideShare a Scribd company logo
1 of 2
Download to read offline
How to create a RSS feed for Custom Post Types in Wordpress

                                  Wordpress has a default feed that looks something like this –
                                  http://www.yoursite.co.za/feed/ and this feed serves any posts
                                  you make.

                                  But for developers that prefer to make use of custom post types, it
                                  becomes a whole new ballgame. And that is exactly what
                                  happened to me. I am busy creating a site
                                  www.careerexpress.co.za where I make use of custom post types
                                  for portfolios as well as open positions or opportunities.

                                  Off course I would like to give my prospective clients the ability to
                                  subscribe to the new portfolios and positions as the get added to
the site.

After a lot of trial and error I made my first successful RSS feed for Custom Post Types in Wordpress.

Step 1 – Determine the link to the Custom Post Type

In my case the Custom Post Type (always use the slug and not the name) is “openposition”.

Step 2 – Create the Custom Post Type RSS Feed URL

If you want a RSS feed directly for the Custom Post Type you will create the following link.

http://www.yoursite.co.za/feed/?post_type=yourcustomposttype

For my site the link will look like this:
http://www.careerexpress.co.za/feed/?post_type=openposition

You can add this feed either to Feedburner or FeedBlitz (which by the way allows you to earn
revenue from your feeds). Or you can add it to your RSS Feed widget in Wordpress.

Usually when we create Custom Post Types, we have Taxonomies going with each Custom Post Type
with Taxonomy Categories. To add a taxonomy to your feed do the following (please note the
difference in the URL):

Step 1 – Determine the full URL to the Taxonomy and Category

The URL should look something like this: http://www.yoursite.co.za/taxonomy/category/

For my site the link will look like this:
http://www.careerexpress.co.za/openpositions/freelancing/

Step 2 – Create the Custom Post Type RSS Feed with Taxonomy

Add the following to your Custom Post Type and Taxonomy URL:
feed/?post_type=taxonomy&taxonomycategory=category

 6 Van Zyl Street, Klerksdorp, 2571 ~ www.freelanceexpress.co.za ~ admin@freelanceexpress.co.za
                   Cell: 084 603 5131 ~ Fax: 086 696 1890 ~ Skype: maryke_anne1
Your feed should now look something like this:

http://www.yoursite.co.za/taxonomy/taxonomycategory/feed/feed/?post_type=taxonomy&taxono
mycategory=category

My site has a taxonomy ‘openpositions’ and under this it has different categories such as
‘accounting’ and ‘freelancing’. In this case I am going to use ‘freelancing’ as the category.

This is what my RSS feed for my Custom Post Type with Taxonomy and Category looks like.

http://www.careerexpress.co.za/openpositions/freelancing/feed/?post_type=openposition&openp
ositions=freelancing

You can add this feed either to Feedburner or FeedBlitz (which by the way allows you to earn
revenue from your feeds). Or you can add it to your RSS Feed widget in Wordpress.




 6 Van Zyl Street, Klerksdorp, 2571 ~ www.freelanceexpress.co.za ~ admin@freelanceexpress.co.za
                   Cell: 084 603 5131 ~ Fax: 086 696 1890 ~ Skype: maryke_anne1

More Related Content

Recently uploaded

Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi OneDay18
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)oannq
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxShubham Rawat
 
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Mikko Kangassalo
 
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...JeylaisaManabat1
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证kbdhl05e
 
integrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfintegrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfAmitRout25
 

Recently uploaded (8)

Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptx
 
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
 
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证
 
integrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfintegrity in personal relationship (1).pdf
integrity in personal relationship (1).pdf
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

How to create a rss feed for custom post types in wordpress

  • 1. How to create a RSS feed for Custom Post Types in Wordpress Wordpress has a default feed that looks something like this – http://www.yoursite.co.za/feed/ and this feed serves any posts you make. But for developers that prefer to make use of custom post types, it becomes a whole new ballgame. And that is exactly what happened to me. I am busy creating a site www.careerexpress.co.za where I make use of custom post types for portfolios as well as open positions or opportunities. Off course I would like to give my prospective clients the ability to subscribe to the new portfolios and positions as the get added to the site. After a lot of trial and error I made my first successful RSS feed for Custom Post Types in Wordpress. Step 1 – Determine the link to the Custom Post Type In my case the Custom Post Type (always use the slug and not the name) is “openposition”. Step 2 – Create the Custom Post Type RSS Feed URL If you want a RSS feed directly for the Custom Post Type you will create the following link. http://www.yoursite.co.za/feed/?post_type=yourcustomposttype For my site the link will look like this: http://www.careerexpress.co.za/feed/?post_type=openposition You can add this feed either to Feedburner or FeedBlitz (which by the way allows you to earn revenue from your feeds). Or you can add it to your RSS Feed widget in Wordpress. Usually when we create Custom Post Types, we have Taxonomies going with each Custom Post Type with Taxonomy Categories. To add a taxonomy to your feed do the following (please note the difference in the URL): Step 1 – Determine the full URL to the Taxonomy and Category The URL should look something like this: http://www.yoursite.co.za/taxonomy/category/ For my site the link will look like this: http://www.careerexpress.co.za/openpositions/freelancing/ Step 2 – Create the Custom Post Type RSS Feed with Taxonomy Add the following to your Custom Post Type and Taxonomy URL: feed/?post_type=taxonomy&taxonomycategory=category 6 Van Zyl Street, Klerksdorp, 2571 ~ www.freelanceexpress.co.za ~ admin@freelanceexpress.co.za Cell: 084 603 5131 ~ Fax: 086 696 1890 ~ Skype: maryke_anne1
  • 2. Your feed should now look something like this: http://www.yoursite.co.za/taxonomy/taxonomycategory/feed/feed/?post_type=taxonomy&taxono mycategory=category My site has a taxonomy ‘openpositions’ and under this it has different categories such as ‘accounting’ and ‘freelancing’. In this case I am going to use ‘freelancing’ as the category. This is what my RSS feed for my Custom Post Type with Taxonomy and Category looks like. http://www.careerexpress.co.za/openpositions/freelancing/feed/?post_type=openposition&openp ositions=freelancing You can add this feed either to Feedburner or FeedBlitz (which by the way allows you to earn revenue from your feeds). Or you can add it to your RSS Feed widget in Wordpress. 6 Van Zyl Street, Klerksdorp, 2571 ~ www.freelanceexpress.co.za ~ admin@freelanceexpress.co.za Cell: 084 603 5131 ~ Fax: 086 696 1890 ~ Skype: maryke_anne1