Hi Curtiss, The error log is getting spammed with these two PHP warnings. Can you push a fix for these please? Thanks!
Creating default object from empty value in /var/www/html/wp-content/plugins/post-content-shortcodes/classes/class-post-content-shortcodes.php on **line 970**
Creatingdefault object from empty value in /var/www/html/wp-content/plugins/post-content-shortcodes/classes/class-post-content-shortcodes.php on **line 988**
I was trying to debug some errors I’m seeing come through on debug.log. When I looked at the GitHub repo for the plugin, I noticed that the version there says 1.0.1.2 (while WP plugin repo has 1.0.1.1)
$ wp plugin list
| post-content-shortcodes | active | version higher than expected | 1.0.1.2 |
also, here’s the error lines that are popping through debug.log
[PCS Debug Message]: Adding the admin_init action
[PCS Debug Message]: Stepping into the _get_options method
[PCS Debug Message]: Attempting to load text domain from post-content-shortcodes/lang
**and upgrading the the version on GitHub didn’t seem to fix the issue. creating a /lang directory and copying over the .pot file did though.
###
love the plugin! it’s funny how simple it really is, and yet this is one of the only ones i can find that does what it does. thank you for your help!
I would like to display a list of these articles, all of which are tagged with “divorce”. What is the code? Thank you!
]]>Hi Everyone,
first of all, special thanks to the developer(s). Great job.
Using [post-content id=83 ] I can show the content of the post with id=83 but how to show the title of it along with it?
I looked at the FAQs but I could not find any short-code to show me how properly use the “show_title” and/or “post-content-shortcodes-title”.
I tried the followings but none of them was successful:
[post-content id=83 show_title]
[post-content id=83 show_title = true]
[post-content id=83 show_title = “true”]
[post-content id=83 post-content-shortcodes-title]
I appreciate your help in advance.
BR
Golzar
Im trying to add multiple instances to a single page and its basically stopping output of the code (no error as such).
e.g.
[post-content id=”938″ shortcodes=”true”]
[post-content id=”939″ shortcodes=”true”]
Is this not intended to be added multiple times in the same page?
Thanks
]]>Hello,
When I try to import a post, the content always embedded between <P></P>.
If the post is “hello” the result of the post imported will be “<p>hello</p>”.
There is way to remove this <p> ?
(I test it with multiple themes and in the database there is no html code)
Best Regards
Nexus
Hello.
I have a page created using beaver builder and an embedded gravity form.
Unfortunately, the content will NOT display when using your Post Content shortcode on another page.
Your help is appreciated.
thank you
]]>Hi,
I am using this shortcode [post-content id=25] but it returns the post content with <p> tag, Is there any way to get post content without any p tag.
Thanks
]]>We recently upgraded to 4.9.5 WordPress and updated to PHP 7.2.2 and kept MySQL at version 5.7.17
Now when changing the published date on a post to be current time (newest post) causes the post not to display. When I move the post publish date to be at least second oldest or older the post will then display. intext:”Plugin: Post Content Shortcodes”
]]>I can get it to list posts in a category just fine, example posts of a category “Blue”
[post-list post_type=”Shirts” category=”Large”]
How do I show posts that have two categories?
Let’s say I want to show posts that have both of these categories: “Large, Blue”
I’ve tried the following to no avail:
[post-list post_type=”Shirts” category=”Large,Blue”]
[post-list post_type=”Shirts” category=”Large Blue”]
How do I show those?
]]>Hi
I’ve started getting this message before displayed content.
Notice: Trying to get property of non-object in /homepages/15/d29273965/htdocs/richardbeard2009/wordpress/wp-content/plugins/post-content-shortcodes/classes/class-post-content-shortcodes.php on line 538
It has appeared since the last upgrade though I can’t be sure it’s connected.
I had been placing the shortcode in the custom html widget – it has been working well for about a year.
I’ve deactivated the widget.
I’m pretty sure everything is installed to correct version.
Any thoughts?
]]>Hello,
I’m getting the following error message when using the ‘Post Content Widget’:
Warning: html_entity_decode() expects parameter 1 to be string, array given in /home/codingbe/public_html/wp-content/plugins/post-content-shortcodes/classes/class-post-content-shortcodes.php on line 396
The content still appears after the error message though. Everything was working fine last week. So I suspect I got the error message when I did the upgrade to v1.0.1.
By the way, I’m a big fan of this plugin!
Thanks,
Sher
I have no idea if it is the plugin or the theme but the two do not work together at all. The page just stops rendering.
]]>I noticed the plugin author hasn’t been active on the forums for 8 months and the plugin hasn’t been updated for 9. I hope it has hasn’t been abandoned.
I would like to show posts from different subsites through each other AND I would like to be able to show the post date. Is this already possible or can I request these features?
]]>Otherwise, great plugin! Thank you so much.
]]>About the post content widget:
How do I change the language / text of “read more”? My WordPress language files include a proper Dutch translation, but the widget still shows “read more”..
Thanks & regards,
Erik
]]>I used ACF to make a custom gallery field group for a custom post type. I want to insert that gallery into other blog posts by using this shortcode. But the shortcode only seems to take the content from the WYSISYG editor and not anything else, custom fields, etc. Any clue on what I should do?
]]>Hi,
Currently working on 4.8.1 with Siteorigin. Unfortunately the plugin is not working inside the Pagebuilder. I would love to keep using this great plugin.
Do you have plans to support 4.8.1?
/Bart
Hello can you tell is there possible to display posts with “search keyword” not a tag!!! i need to plugin search whole content for example on keyword “John Rooney”,in posts there is no such a tag,but in content is,so it is possible?
]]>Great product. I ran across a weird issue that I’m sure no one else will get.
I have an article – name is “type-of-wheat” When I used the command [post-content post_name=types-of-wheat show_excerpt = true] it only show the full text. Note: the article name starts with “type-of”.
When I changed the name to “wheat” and used [post-content post_name=wheat show_excerpt = true] it works fine.
So…. you must be parsing the word “type” I guess, found it and then ignored the except command.
Again.. not anything to worry about, but your parsing may have an error.
]]>Hi,
I am currently using your plugin, and it works very well! I have been searching for a plugin that could display one full post on a static frontpage and yours are the only one I found that actually work. I do this by running the “post list widget” through a widget on my static frontpage. But when I check “Display comments with the post?” nothing happens, even though there are comments with the post. See my frontpage here https://www.danicachloe.dk
Is there someway to fix so that it will show comments after the post? It is the only piece missing for it to be perfect.
I am running the “The Voux” Theme on WordPress 4.8.
Thank you in advance.
]]>I installed this plugin on my blog network test server and received an error in class-post-content-shortcodes.php on line 693. The $args[‘tax_query’] was failing. I tried various iterations of shortcode switches, but could never get rid of the error in the text widget I was placing the shortcode in. The posts displayed fine, it just showed the error above. I commented out the line and the error went away.
Not sure if it’s looking for something that is no longer there, or if I’m doing something wrong. Just thought I would bring it to your attention, just in case.
Thanks for the plugin. Saved me a bunch of time this morning.
]]>hello
is it possible to show post comments too? i used shortcode post content id=1525 and it doe not include the comments inder the post.
Hello,
Is there a shortcode to produce a list of posts written only by a specific author?
Thanks!
https://www.ads-software.com/plugins/post-content-shortcodes/
]]>Hi,
I′m trying to use your plugin in a multisite environment. The content of my posts use shortcodes to display certain kinds of content (gallery, form…). When I try to include this post via this plugin the text of the post is shown but all content from within the shortcodes is filtered out.
I also tried to change the default argument for “shortcodes” to true. I tried this via shortcode [post-content blog_id=2 id=11 shortcodes=1] and also in the file (class-post-content-shortcodes.php) itself.
Am I using this in a wrong way? Or is this issue related to my WordPress version (4.5.2)?
Thanks a lot!
https://www.ads-software.com/plugins/post-content-shortcodes/
]]>Can the plugin echo certain parts only of the original posts?
For example: if i want to show a paragraph of one post into the other, can i wrap it in a div tag or iframe or so and use the plugin to show this part only, not the whole post?
thanks
https://www.ads-software.com/plugins/post-content-shortcodes/
]]>Hi Curtiss,
is there possibility to add a filter in functions.php so that the plugin is only loaded when a user is logged in?
Background is that I use MemberPress as a member plugin. When integrating your short codes in a protected post, the post loses the basic restriction as it loads other posts into the restricted one.
So the simplest way would be to load Post Content Shortcodes plugin only when a user is logged in.
Thanks for any hint!
Kind regards from Prague,
Dan
https://www.ads-software.com/plugins/post-content-shortcodes/
]]>Hi,
I’m not able to show a post with all it’s images, all I get is the blank text. I’m using this shortcode:
[post-content post_name="ipex_u-fl-und-hirose_ms-156" show_image=true show_title=true]
Am I doing something wrong?
Thanks for any help!
https://www.ads-software.com/plugins/post-content-shortcodes/
]]>With list of posts please?
https://www.ads-software.com/plugins/post-content-shortcodes/
]]>Hello, just wondering if there’s a way this plugin could display a single random post from a category. My idea is to use it to display a random tip, each time the page is refreshed a new one will appear.
https://www.ads-software.com/plugins/post-content-shortcodes/
]]>