I have 2 custom fields in my WordPress system when creating new posts. One is called homethumb (is the title of an image) and another called description.
I would like to edit the RSS feed so it shows the image and the description rather than the complete post.
But I don't know how to do this. I would like to fetch that RSS with simple pie to integrate it on another website (sort of auto-submit system).
You also have
do_action('rss_item')
that runs in the loop for every item in the RSS feed.
Hook in to that and output anything extra you need in to the feed item.
To show the excerpt instead of the entire article, go to "reading" in Settings section of your admin menu and half way through the options there's a setting to use excerpts instead of full text.
No plugins required. Just a little custom programming.
Custom fields for Feeds Wordpress plugin
This puts images or videos into your feeds through the use of custom
fields. You can alter the custom field Keys and what is displayed.
Update 11/27/2015: The plugin is old, but the site says it still works
I found some tutorials on how to add things to your rss reader, so I fixed this.
it's in french -> http://www.webinventif.fr/wordpress-ajouter-du-contenu-dans-son-flux/
Here is another option if you want to display anything other than images and videos in your feed: http://wordpress.org/extend/plugins/rss-custom-fields/
All of your custom fields will now be displayed in your feed.
Further options to be able to select which custom fields display in a feed will be available in subsequent releases of the plugin!
Related
I'm pretty sure this is basic but it's been a couple of weeks I'm struggling.
I'm building a video game news type of website with Wordpress and I would like the "game sheet" to work in the same way the WordPress plugin page works (here is an example: http://wordpress.org/plugins/buddypress/ )
The idea would be to have a page for each game and then this page would pull out content in each tabs to display different content:
News would be articles with the game name as a tag
Screeshots would be images from the media manager I would have tagged with the name of the game
Game review and user voting in the sidebar
etc...
Again, this seem to be a very basic taxonomy/custom post type system but I just don't know where to start and I can't find the right words to explain it to do a proper google search.
Thank you for your help.
What you need is to create a "custom post type". In other words, something like a post, but with more / different fields. I suggest you use the plugin: "custom content type manager".
After you create the custom post type you need, you will only have to create a page / post the summarizes the custom content you have built. For that you will also use the same plugin.
I am very much new to wordpress and need help. Well I need to add a custom field to woocommerce product listing page in admin and make it work.
So where do I have to make changes in code or in admin section.I need some suggestions on how to make it work.
Thanks in advance
if I'm understanding you right you want to add new fields to your woocommerce products, and you want those fields to show up in the admin panel. I am working on this right now myself and I have found a few good resources.
First of all, although I can't find any documentation on them yet directly in the woocommerce API docs, there are two hooks for extending the admin panel.
woocommerce_product_write_panel_tabs - this allows you to insert a new tab within the admin panel. from browsing the source of various free woocommerce plugins that do this it appears that the tab format should be <li>Tab Name</li>.
woocommerce_product_write_panel - this is where the insertion of your custom panel contents would go, placed within a <div id="#tab_name"></div>
These are the two hooks that I have had a great deal of difficulty locating. They allow you to hook into the actual woocommerce admin area, otherwise custom fields you might add will end up in a separate panel.
For all the details on actually adding the custom fields themselves and hooking them up to the front-end, I suggest this tutorial here, which covers the basic concepts involved in adding a new meta-data field and hooking it into the product display (in this case the single-product detail view, it sounds like you want to modify them in the list view but this will show you the basic principles).
http://www.xatik.com/2013/02/06/add-custom-form-woocommerce-product/
Note: that tutorial doesn't use the woocommerce admin panel but creates its own panel, the instructions I gave above, plus this tutorial, should get you just about anywhere you need to go.
It's a vague question and I've searched throughout the Google and come up short. I want to create a type of content called an Employee. He should have 2 pictures attached, some text, a Facebook profile (optional), etc. Can I create a content type to handle this? I've tried the Custom Post Type UI Plugin, but that still gives me a standard type of Post, just with a new category, essentially. That's not what I want. I want the Add / Edit post screen to have these options laid out. I can handle the static content just fine with Custom Fields. The hard part is the image uploads.
Any thoughts?
Wow, very easy to do with a plugin called Advanced Custom Fields
I am very new to Drupal and I need a bit of help. I am working with Drupal 6 (because that is what the site uses).
I was asked to make a View that would display a RSS feed of certain parts of the website and I don't understand how to do this. I know how to create a View and that it must be set as a "feed". But I am not clear about what to do from here. From the examples I have seen (and not entirely understood), it seems you might need to to modify the arguements or fields, but in which way?
Also, what exactly does the "attach to" in the feed settings do?
You will want to create a view, and add a display of type feed using row style: node.
The default behavior will assume you want to include all fields on the node in the feed.
However, you can control the fields that are included in the feed by going to Content Management > [Your content type] > Display fields > RSS. From here there are checkboxes which allow you to select fields for exclusion when being displayed as part of an RSS feed.
The "attach to" setting allows you to select a page or block view on which to display an RSS icon that links to this feed.
Depending on the content you want to include in the feed, you will want to set a filter, most likely on node: type, and node: published.
I'm implementing our school's website using WordPress as CMS. So far, it works well and I'm 80% done. Our website is basically 11 WordPress pages and a blog.
Now, there is one feature i'm not sure how to resolve. We want to have "testimonies" of past students to be displayed across WordPress pages, in a specific area of the page. They will either be videos or written text with an image.
They will be embedded on regular WordPress pages either a specific video for a specific page, or just random testimony video for a given page.
Is it possible to do that with WordPress? If so, how?
Thanks for any hints.
Alex
There are quite a few Wordpress plugins which handle testimonials gracefully:
http://wordpress.org/extend/plugins/search.php?q=testimony
You should be able to do this with categories. Create a testimony category and and then create a new template called 'testimony-page.php'. In that template, put a separate loop that pulls a random testimony from the database. Voila, page in a page.
If you feel like building this yourself, it can be handled with custom post types. Here is a great guide that will give you a lot of useful information: http://www.smashingmagazine.com/2012/11/complete-guide-custom-post-types/
I like to use this plugin:
http://wordpress.org/extend/plugins/more-types/
To manage my custom post types.
To query posts from a new post type, use something like:
query_posts({
'post_type' => 'testimonials'
});
So, if you wanted to add testimonials to your site, you'd query them like above with whatever parameters you need, and do a simple loop to output the posts.