[wp-hackers] Custom Taxonomy RSS feed link in header
Aero Maxx
aero.maxx.d at gmail.com
Thu Jul 12 19:07:49 UTC 2012
Oh that one.
Ok how would I list all rss feed links to each of the taxonomies I have,
is there an easy way to loop through these, I can do the rest from here.
On 12/07/2012 18:20, Navjot Singh wrote:
> You mean custom post type archive page? If that's what you are looking for,
> then check http://codex.wordpress.org/Conditional_Tags#A_Post_Type_Archive
>
> Regards,
> Navjot Singh
>
>
>
> On Thu, Jul 12, 2012 at 10:47 PM, Aero Maxx <aero.maxx.d at gmail.com> wrote:
>
>> It only lets me check if I am on a single post that is in a custom post
>> type, which is a start but I also need to check if I am on a custom post
>> type page that is display a list like a blog, not one single post how would
>> I do this as there is no mention of that on this page.
>>
>>
>> On 12/07/2012 18:10, Navjot Singh wrote:
>>
>>> Check http://codex.wordpress.org/**Conditional_Tags<http://codex.wordpress.org/Conditional_Tags>for your answer on how to
>>> detect whether you are on a custom taxonomy page or custom post type page.
>>>
>>> Regards,
>>> Navjot Singh
>>>
>>>
>>>
>>> On Thu, Jul 12, 2012 at 9:39 PM, Aero Maxx <aero.maxx.d at gmail.com> wrote:
>>>
>>> Hi Everyone,
>>>> Have only just noticed that there is no rss feed link to the custom
>>>> taxonomy I have created on my site, is there an easy to include this ?
>>>>
>>>> I would like to have it as follows if at all possible.
>>>>
>>>> When on the custom post type url and showing all posts from all
>>>> taxonomies, I would like all the rss feed links for all taxonomies to be
>>>> in
>>>> the header, but when on a single taxonomy then only show the rss link in
>>>> the header for that single taxonomy and not all of them.
>>>>
>>>> I have done a bit of googling, and found I can use the add_action to add
>>>> things to wp_head, i've got all the rewrite urls done also for the feed
>>>> links I just now need to figure how to know I am on a custom post type to
>>>> show the feed links, and also how to know I am on a custom taxonomy to
>>>> show
>>>> the single link.
>>>>
>>>> If anyone is able to help with the final bit I would be most grateful!
>>>>
>>>> Thanks
>>>> Daniel.
>>>> ______________________________****_________________
>>>> wp-hackers mailing list
>>>> wp-hackers at lists.automattic.****com <wp-hackers at lists.automattic.**com<wp-hackers at lists.automattic.com>
>>>> http://lists.automattic.com/****mailman/listinfo/wp-hackers<http://lists.automattic.com/**mailman/listinfo/wp-hackers>
>>>> <ht**tp://lists.automattic.com/**mailman/listinfo/wp-hackers<http://lists.automattic.com/mailman/listinfo/wp-hackers>
>>>> ______________________________**_________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.**com <wp-hackers at lists.automattic.com>
>>> http://lists.automattic.com/**mailman/listinfo/wp-hackers<http://lists.automattic.com/mailman/listinfo/wp-hackers>
>>>
>>
>> ______________________________**_________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.**com <wp-hackers at lists.automattic.com>
>> http://lists.automattic.com/**mailman/listinfo/wp-hackers<http://lists.automattic.com/mailman/listinfo/wp-hackers>
>>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list