I am using merge tags to display RSS feed items in a MailChimp template. I use the following merge tag to display the content summary
*|FEEDITEM:CONTENT_TEXT|*
But it only shows about 8 to 10 words. I want to increase the length of summary to about 25 words. Is there anyway to define content summary length in MailChimp? Or will I have to modify my RSS feeds?
Actually, I discovered later that this text is fetched from or tags of RSS/Atom. You need to edit the RSS/Atom to modify this.
Related
I want to add some text to 'title' on admin/content page, based on content type.
for ex. if any article title is 'this is test article'. I want it to be displayed on this page like 'this is test article SOME EXTRA TEXT'.
I want to do it for 3 4 content type. for every content there will be different extra text.
How can I achieve it ??
Easier and yet more powerful solution would be to create your own content overview page. Create a page view that will list content. Use table format and set some back-end path to that page so you'll get the admin theme for it and it will look (almost) identical to original one. Or, make it even better - add more filtering options, make content sortable by other colomns (except for "Updated" field")...
When you do that for every field you'll have many options including most powerful one - to execute some php code on original content to generate different one...
And you can edit admin menu, to add your new page to it (eventually replace original one).
I have strange request to deal with. We have large piece of articles need to be added into drupal as article. Different paragraph within that article is tagged with keywords.
Now I cant find a way to do so in wysiwyg editor. I can only tag whole article with taxonomy term.
Any direction or suggestion, how can i tag specific paragraph by different keywords within an article.
You have a module called Field Group and it allows you to group some number of field. You can also make those groups repeatable.
https://www.drupal.org/project/field_group
Maybe there is some other module doing same thing, not sure about that.
Anyway, you can make groups of 2 fields, one wysiwyg area for one paragraph and other taxonomy reference, for tagging that paragraph. And you can put that group to be multiple (repeatable) so you can unlimited number of groups (paragraphs) per page.
You can also add some other field(s) in that group if they are paragraph related.
I'm not sure if this is a general web design or Wordpress question.
I have a simple demo here to illustrate my question.
http://www.ttmt.org.uk/forum/wp/
It's just a simple 2 column responsive layout.
My simple question is how do I spilt the content between the two columns.
The page will be a Page in Wordpress and not posts (I think).
I wanted to create a page in Wordpress and place the text on the content area
There is one content area in Wordpress, is there a way to split this content
so I can say this is the left column, this is the right column.
The text will all be on the same subject but I need to split it between two columns.
Thanks in advance for any help.
If you are asking for how to make three columns out of the existing two than have a look here. If you are looking for a way to make it possible to enter the content in a way that you are able to output the different columns in different places in the theme, than there are a lot of ways.
In general you need some kind of »container« for each column, so you could start by adding div-containers by using the plain text editor when creating a post or page. You can also use the custom fields to enter more columns. There are also plugins available (I never used one for this) and last but not least: you can create your plugin and hook into the page/post-edit page and add additional fields to the input field. With such a plugin you also create a custom post type and hook only into its editing form.
The solutions range from »cheap and fast« to »rather complex« and it depends how comfortable the editing should or has to be. If it is only for you than simple hacks in the editor might satisfy your needs, but if it is for a client who is not that good in html you should consider something »stronger«.
I think this is design issue rather than Wordpress. Wordpress fetch content as a single item and displays it. If you want to display the content in multiple columns then you can use jQuery plugins like http://www.vanderlee.com/martijn/?page_id=229
You could split your content into column using the column shortcodes plugin from wordpress.org
In wordpress, there is settings for the feed to show Summary or Full. I want to show only content summary at Feeds. But the default summary is still too long for me. And there's another way to add excerpt at each of the post. For that option, I can't use it either because I am running multiple author blog and most of the people don't know how to add excerpt and my posting form is custom form which is not allowed to add excerpt. I tried to search at google and wordpress plugins, but still haven't get any clue yet.
Is there anyway to limit characters at feed display ? Or is there any plugin out there ? Like at feedburner, I can activate summary feeds and limit the characters.
Please kindly help me out again. Thank you.
put the following in the theme's functions.php file:
add_filter('excerpt_length',create_function('$a','return 25;'));
Where 25 is the number of words you'd like to appear in the excerpt.
If you want the normal excerpt length on the regular page but the short one in the feed, use:
if(is_feed()){
add_filter('excerpt_length',create_function('$a','return 25;'));
}
I don't know whether that will work for sure with all feeds, so I'd suggest just using it without the is_feed() check.
I like giving my users the full text RSS feed, but I also have a few sites which pull the RSS feed and link to us from it. They want me to provide the excerpt/blurbs for the articles rather than the full text. Can anyone give me some direction on how to make this happen?
It should be possible. Wordpress has multiple feed types (see WordPress Feeds) and there are hooks for each feed type (see Feed Actions API). This suggests that you should be able to set up one feed type as a partial feed, and another as a full-text feed. Basically, you'd just be re-writing one of these feed types to ignore the setting you indicated on the "Reading Settings" admin screen.
I bet this could be done w/ a pretty simple plug-in.