In my site:
https://www.gattezzadifoligno.it/pagina-di-test
I obtain error messages using this command:
[jeherve_post_embed url=”https://www.gattezzadifoligno.it” wpapi=false number=”1″]
]]>Hi, recently, not all images are displayed.
Instead all the images are displayed usig the option display content=true.
Can you help me?
Thank you.
Hey all, I’m trying to get my posts to display alphabetically, currently I’m with:
[jeherve_post_embed category=”Character Skills” include_images=”false” include_credits=”false” order_by=”title” order=”ASC”]
but it’s still going Z-A, instead of A-Z. Any ideas? thanks.
]]>Hi,
filtering by category containing single quote mark, I have no result;
example: category=”L’INPRESSIONE”.
Thank You
Sergio
Please, what is the format for the “before” and “after” parameters in the shortcode?
I have made many attempts but without finding the solution.
Note that I use wpapi = false.
Can you give some examples?
Thank you.
Sergio
Why this example
[jeherve_post_embed wpapi="true" url="https://mysite.com/" include_excerpt="false" include_content="true" include_credits="false" include_title="false" tag="centralnye-banki-stran-mira" number="1"]
gets nothing as a result, but this example does
[jeherve_post_embed wpapi="true" url="https://mysite.com/" include_excerpt="false" include_content="true" include_credits="false" include_title="false" tag="centralnye-banki-stran-mira"]
By tag centralnye-banki-stran-mira
I have only one post on donor site, but second example gets more than one.
P.S. Sorry 4 my English
]]>I seem to be getting the Error unable to load blog data using this short code.
[jeherve_post_embed url=”https://canadianminingmagazine.com/wp-json/wp/v2/posts” wpapi=”true” include_content=”true” number=”1″]
]]>Hello Jeremy!
First of all, it great plugin and thank you for your great work!
Please, can you help me understand, if retrieved post count is too large for one page (for example 100 posts), can I use pagination for it? For example 10 post per page?
Thank you one more time!
]]>Hi,
The documentation says the following regarding the tag param:
Only return posts belonging to a specific tag name or slug.
It’s the slug part I’m interested in. But when I specify a slug for a specific post, no filtering takes place.
Using wpapi=true
Any thoughts?
]]>Hi,
with your information on my first topic post are not excluded
i added two other shortcodes for different legal sites and changed tag names etc.
Here is what i have now:
The shortcodes:
I copied the working shortcode and changed the tag. The not working one is:
[jeherve_post_embed url=https://gastrobrains.de wpapi=true include_title=false include_excerpt=false include_content=true tag=conduct]
On gastrobrains.de i have added a page in category=Rechtliches and set the tag to conduct.
May there be a problem when using more of the shortcodes on a site?
Thanks and regards
Antonio Cambule
Hi there,
I use this shortcode:
[jeherve_post_embed url=https://gastrobrains.de wpapi=true include_title=false include_excerpt=false include_content=true category=Rechtliches tag=impressum]
I expect to see only the “legal” (called impressum) post from gastrobrains.de
on my site under onlinespeisekarte.de/impressum.
The post is shown, but under that also all other posts (i have three).
I thought to exclude it using the category, but that didn’t work, after that
i also added a tag to the post and included as parameter into the shortcode.
The result stays the same. All posts are shown.
Can you help please?
Thanks and regards
Antonio
Hello and thank you for the plugin.
I’m currently developing a site on my dev machine to which I’m pulling posts from another site I own which is obviously live.
Both use the AVADA theme.
1. Is there anyway to use an AVADA native class for displaying the post, and if yes, how can I do this?
2. Both sites are in Hebrew. The title and the image are displayed just fine but no authors or excerpt are displayed although defined correctly in the short code
3. I’ve managed to style the post to display in 4 columns across the screen. However, as the titles vary in length the images are not aligned. How can I position the title BELOW the image?
4. I’m not vary interested in using the jet-pack plugin. Is there another way to define the image sizes?
Thank you and I really hope there’s a way to use AVADA’s native styling for this as this would probably solve most of these issues
Hi,
is it possible to pull custom posts based on category if defined as cat_partner in functions on another website?
Also, don’t think the order is working properly with order_by as it always shows posts Z-A
Thanks
]]>Hi,
I really love your plugin however my other WP is now using a more secure method for rest-api usage. So now your plugin unable to pull it into my other wp website. Any idea on how to pull it with basic authentications? Any help will be much appreciated.
]]>Hi Jeremy,
Wondering if you might be able to help?
We have two (very similar) web sites:
LakePath.com (real estate listings)
LeLacAppelle.com (housing development)
They are both running:
WordPress 4.9.8
Latest JetPack and All other Plugins
REST API Post Embeds v1.4.1
Same TwentyFourteen Theme/Child (with a few minor exceptions)
Same Plugins (with a few minor exceptions)
Overview/Issue:
LakePath pulls in Blog Posts from LeLac in the left sidebar. You helped me set it up for randomizing the posts every 10 minutes and it’s been working very nicely.
However, the Posts that I’ve excluded in the Widget Code continue to be displayed. I noticed this some time ago (maybe 4+- months ago), but never looked into it, so I don’t think it’s because of any recent WordPress or Plugin Updates.
When you get a chance, can you take a look at the Widget & Child/Function Code below and let me know what I’m missing?
As always, thanks in advance for any insight you might provide.
John
****************************************************************************
ON LakePath.com Site:
WIDGET: Recent Posts From Le Lac Appelle… The Lake Is Calling
[jeherve_post_embed url=”lelacappelle.com” wpapi=true include_images=”true” order_by=”rand” number=”5″ image_size=”202,114″ include_credits=”false” include_excerpt=”false” category=”Lake Moments” exclude=890,1427,1580,1884]
CHILD THEME FUNCTION.PHP:
/* JRN Note Changes default cache of 10 minutes to refresh posts */
/* was 3. changed to 10 on 6/24/17 8:20am */
function jeherve_custom_api_embeds_caching() {
return 10 * MINUTE_IN_SECONDS;
}
add_filter( 'jeherve_post_embed_posts_cache', 'jeherve_custom_api_embeds_caching' );
/* JRN Note Jeremy had me add to fix rand sort */
add_filter( 'rest_post_collection_params', 'my_prefix_add_rest_orderby_params', 10, 1 );
function my_prefix_add_rest_orderby_params( $params ) {
$params['orderby']['enum'][] = 'rand';
return $params;
}
*******************************************************************
ON LeLacAppelle.com Site:
WIDGET: Not used at LeLac
CHILD THEME FUNCTIONS.PHP:
/* JRN Note Changes default cache of 10 minutes to refresh posts */
/* was 3. changed to 10 on 6/24/17 8:20am */
function jeherve_custom_api_embeds_caching() {
return 10 * MINUTE_IN_SECONDS;
}
add_filter( 'jeherve_post_embed_posts_cache', 'jeherve_custom_api_embeds_caching' );
/* JRN Note Jeremy had me add to fix rand sort */
add_filter( 'rest_post_collection_params', 'my_prefix_add_rest_orderby_params', 10, 1 );
function my_prefix_add_rest_orderby_params( $params ) {
$params['orderby']['enum'][] = 'rand';
return $params;
}
]]>
Hello,
Thanks for the great plugin. It is really helpful.
Is there a way to open the posts in a new browser tab or window when clicking on the headline or image?
best regards
Stefan
Is there a way to specify a page id and only get that page as the response?
]]>I’m getting:
“Error in the response. We cannot load blog data at this time.”
My shortcode is:
[jeherve_post_embed url=”https://zf.knjiznica-kutina.hr/wp-json/wp/v2/” wpapi=”true” type=”dvd” number=”3″ include_credits=”false”]
On site where I want to pull posts from are custom post types (added show_in_rest) and I putt <link href=”https://zf.knjiznica-kutina.hr/wp-json/” rel=”https://api.w.org/”> in head section.
Am I missing something here or what.
P.S. Plugin works fine with wordpress.com site.
Thanks in advance.
Luko
Is there more info on available options when using the jeherve_post_embed_post_loop shortcode?
I am trying to pull in the author name, date and a different image size.
Thanks so much!
]]>I’m able to use this plugin to pull in the post information from the site I want to, but how do I choose a different type of data? I’ve not been able to pull in anything at all from it. I tried type=”page” and type=”pages” but it still only returns the posts. I’m actually trying to pull data from a custom post type, I successfully registered with the REST-API and can see when pulling a types request in PostMan, but I can’t get anything but posts to display from this.
]]>Hi,
it looks like the selection of a specific post type does not work when using wpapi=”true”. I tried it with Jetpack and it works, with wpapi it shows only posts, no matter what I define in Type. Can you confirm this?
Furthermore the question, if it’s possible to display custom fields?
]]>Hello,
Thanks in advance for any help you can provide. Been using the plugin for a while and noticed this week that a new blog post from one of my sites is not displaying on the other site. The plugin works and I can see posts from January 22nd, 2017 and from October 14, 2016. The code is currently configured to display 3 posts total. I have a newer post from January 27th, 2017 that is live on the source site, and on the site it should display, it’s not pulling over. See https://www.mg33.com if you’re interested – the January 27th post should display to the left of the “2017 Presidential Protests” and there should be three posts across that row.
Can’t figure out what’s caused it to stop updating, but still pull through older posts. Thanks in advance for any suggestions on fixing this.
Michael
]]>I am working on a woocommerce dropship store. My suppliers has REST API enabled on their website: https://api.entrenue.com/help/products
This give me the ability to get products directly to the website with my API.
Can I set this up in wordpress using your plugin? Please show me how; this is my first time working with APIs.
]]>Hi,
i use the REST API Post Embeds Plugin on few sites. It works great. Now i have encrypted the sites with https..
the issue is that the pages, where i have a widget with blog posts (shortcode) from our blog are not really secured.
I know also why…the featured image url of the displayed post in the widget begins with https://…
So is it possible to request the image by https://??
Thanks in advance^^
slotty
here one of such pages with a widget where a blog post is shown
https://industrialpartners.de/ip_pro_cat/production/
Hi Jeremy,
We have two sites, both running version 1.3.3 successfully since that version’s release (LakePath.com and LeLacAppelle.com)
We updated to version 1.4.0 on both sites today (Sunday 11/20/16) and it resulted in the error below.
I tried clearing our Cache (SiteGround SuperCacher at both web sites) & WebBrowser Cache to no avail.
I then rolled back LakePath to ver 1.3.3 (didn’t even flush the SiteGround cache), and all was well again at LakePath. For consistency, I then rolled back LeLacAppelle to ver 1.3.3.
Here’s a screenshot of how it works on LakePath with ver 1.3.3: https://snag.gy/1l0zMc.jpg
ISSUE: On LakePath, in place of the LEFT COLUMN, where the Posts/Images are brought in from LeLacAppelle, here’s the error (repeated for each/every imported post):
Warning: array_slice() expects parameter 1 to be array, object given in /home/nadeauap/public_html/lakepath/wp-content/plugins/rest-api-post-embeds/rest-api-post-embeds.php on line 326
Please let me know if you need me to update the plugin to 1.4.0 and/or make any other changes to assist in troubleshooting this issue. Otherwise, I’ll remain at ver 1.3.3 until you advise.
Thanks in advance for all of your help and insight !
John
]]>Hello,
I’ve got the plugin and the Rest API plugin running, and I’m trying to embed posts from the same site onto a custom page. It’s running successfully for external sites, and I’ve customized the display of featured image and title from those sites. Now, I want to pull three latest blog posts from the same site so they match the format of the external site feeds.
I tried using the shortcode but it’s not working. Is there any limitation to using REST API to embed posts from the same site?
Thanks – Michael
]]>Hello,
I am currently trying to get this plugin to function, and I can successfully access the posts on the WP site I’m trying to pull from, using a REST browser plugin. I am confused about how I get the posts to actually show up on another site though. I’ve used a shortcode, and it only ends up displaying a 1px box with a link that says Source: https://www.URL.com/wp-json/wp/v2/posts, but no content. If I go to that link, I can see all the code for posts.
My ultimate goal is to load blog posts from two external sites among the blog posts of one site (ex: site B and C blog posts display interspersed among site A’s blog posts on Site A). I am assuming this will involve modifying the get_posts code in my theme, and replacing it with code that pulls posts from site A, B, and C, which all have the Rest API enabled, and use the existing masonry grid post display code to display it. Just really confused about how to get there. If you have any advice on any of these questions, they’d be most appreciated.
]]>Jeremy,
Hope all is well, I’m putting together a new wordpress site using the divi theme. I was wondering if you would be available to discuss some potential customization for your blog feed plugin, the idea is to have the imported posts styled a specific way (to fit the Divi theme styling)
]]>Hello,
I used your plugin for embedding post from the news site from here:
https://news.milanocard.it/
to here:
Using jetpack, it is giving the english post correctly, and I managed to use it like I would.
But, I now need german and french post:
https://news.milanocard.it/?lang=de
WPML was used to get multilanguage working.
I am using this tag to (try to) embed the german post, but it’s not outputting nothing:
[jeherve_post_embed url="news.milanocard.it" jeherve_post_embed_base_api_url="https://news.milanocard.it/wp-json/wp/v2/posts?lang=de" wpapi="true" number="12"]
German embed page is empty: https://www.milanocard.it/de/post-embed-de
But JSON is OK: https://news.milanocard.it/wp-json/wp/v2/posts?lang=de
Can you please help me?
]]>Hi Jeremy,
your plugin stopped working at my site…after everything worked well for days
jetpack api works but i want to use it with the wp-api as you know cause of the language feature
https://ipblog.directdesign-ffm.de/wp-json/wp/v2/posts
returns the posts..but they stopped to be displayed
here an example…i can see only the credits
that`s my shortcode…[jeherve_post_embed url=”https://ipblog.directdesign-ffm.de” wpapi=”true” number=”1″ ]
https://industrial.directdesign-ffm.de/rest-api/
and here the jetpack version (it works)
[jeherve_post_embed url=”https://ipblog.directdesign-ffm.de” number=”1″ ]
https://industrial.directdesign-ffm.de/jetpack-api/
i removed all the custom filters from the functions.php and reinstalled the plugin for new..but nothing helped
i use wp 4.5.2 on both sites and wp-rest-api Version 2.0-beta13
any help would be great^^
cheers
martin