Wordpress rss-feed is not showing ful text of a post - wordpress

I have built a custom theme using understarp theme and I am unable to see summary or full text of my post in my RSS-feed. it starts showing text only when I add something in the excerpt field and still it shows only the content of excerpt field.
is it possible to show the full text of a post in RSS feed or no?

problem was, we were adding some ads HTML in the content of my posts using "the_content" filter and we were returning the updated content only in an "if" statement. I noticed there was no return statement for "else" so that's why it was giving me empty content

Related

Using WPBakery ( Visual Composer) and Advanced Custom fields, I want to create or use an object that displays custom images

I'm currently working on a Wordpress website using the Advanced custom fields and WPBakery aka visual composer plugins.
While I manage to use these two plugins to post custom text, I have problems with images.
What I have tried so far is:
use acf in plain text, but as expected this only displays the link, not the image
using an image building block, but that won't work because there does not seem to be an option to link the image to a custom field
using ACF-VC integrator and linking it to the custom field, this also only displays the image
using an advanced custom field, also does not work.
using raw html, also does not work.
(Screenshot of the 5 methods:
and their output when creating the blog post: )
The only working solution I found so far is to insert this line in the single.php file:
<img src="<?php the_field('associated_image'); ?>" alt="" />
When doing that, this is what the blog post shows. As you can see, it is the correct image that is displayed, and it has pulled the image from the link in the custom field.
Some additional information:
The custom image field is configured as a text field, as we pull automatically
an image link from a file, so I can configure it to an image field, as we do not pull an image
One constraint that I have is that I should make use of WPBakery if possible and not work to much with raw php files, as it is very important that the work done should be easily maintainable, especially by people without an understanding of php.
What can I do to solve this problem? One possibility might be to add a function and shortcode in the functions.php file, but I do not manage to do that, as I have no real understanding of php.
I hope the formating of this post is at least acceptable, and if anyone is interedsted in helping I can provide additional details of course
You can use the ACF shortcode to echo out the value of your custom field. So you can create a new text block element in Page Builder, then switch to the text tab (above the editing field to the right), and insert the following code
<img src="[acf field='field_name']">
When Page Builder outputs its content, it'll pass through the function 'do_shortcode()', where ACF will work its magic.

WooCommerce Product Search plugin

I have installed the WooCommerce Product Search in my site and all works fine, but there is a small issue with the result page shown.
The result page used is the same than the one used as the main shop page, so the issue is that one slider and info should not be shown in the result page. This content has been put into the description textarea within the Edit Page using short codes.
I have the archive-product.php file open and do not know to avoid this.
I think I should use the is_search() function to check if page should renders on one way or another, but do not know what part of the code treat the info from the page description.

how to limit post content in wordpress blog

I want to limit the content of post on wordpress blog home. So after specific amount of words content should be limited and there would be a link saying Read More..
Plz guide me how it can be done in php wordpress theme
There is a tag in the WordPress editor which you can use to specify the cutoff point on a blog/page excerpt.
You just have to click this button where you want the cutoff to happen
Then within your template, you just need to add the first parameter to the_content() and it will show the content up till that cutoff. If the parameter is not set, it will show all the content.
For example:
the_content('Show more...'); // shows content till the cutoff then shows the text supplied
the content(); //shows all the content
Read more about the more tag here: http://codex.wordpress.org/Customizing_the_Read_More

Keep formatting when posting content from a textarea to wordpress

I'm using USP-Pro to let users post to a Wordpress blog. I have a textarea input in which they should put the main post content - the one that appears in the Wordpress admin editor. I'd like to keep the text formatting once they submit the form so I'm using CKEditor for that textarea.
CKEDITOR.replace('usp-content');
Checking the textarea with Firebug while I input the text shows that there actually is some HTML code inside, but when the form is submitted, in the editor I just see the raw text, without any formatting, which is pretty annoying because I lose all the spaces, the new lines and so on.
EDIT:
After various attempts I discovered that the problem is in the Wordpress function wp_strip_all_tags, inside the file wp-includes/formatting.php. I tried to comment it and it actually posted the content correctly with all the html in place.
Of course I can't just comment the whole function. How can I tell Wordpress to not use it when submitting such posts?

Wordpress Stripping links and text formatting on Blog Front Page

The summary page of blog posts (Blog Front Page) is not showing the right formatting of copy as per the full blog post.
For example, look at "Article in the Vancouver Sun..." in second article here: http://socialinnovationbc.ca/news/
and then see it in the full post here: http://socialinnovationbc.ca/2011/11/collaboration-innovation-key-to-social-ills/
It has removed the link, plus the formatting.
Any ideas how to stop it doing that?
Never seen this issue in Wordpress before.
Thanks
WordPress by default strips html and short-codes while the excerpt is shown. One work around is to add the html in the excerpt text area field for the post. Any html added to the excerpt metabox would not be filtered.

Resources