slotty7130
Forum Replies Created
-
Forum: Plugins
In reply to: [hCaptcha for WP] hcaptcha elementor formgreat, thank you very much:)
Forum: Plugins
In reply to: [REST API Post Embeds] secured image urli have fixed the issue…i changed all urls in the blog to https^^
Forum: Plugins
In reply to: [REST API Post Embeds] wp rest api version stopped workingi use fastest cache plugin on both sites…but deactivated it…
now i first deactivated all plugins on the main site ..except your plugin…but nothing helped…
then i deactivated all plugins on the blog site except the rest api plugin…now it works again…^^
after that i start to activate the plugins again..but i think you`re right..it might be caused by the cache plugin on the blog site
thank you for your help:)
cheers
martinForum: Plugins
In reply to: [REST API Post Embeds] retrieving wmpl poststhank you:))
Forum: Plugins
In reply to: [REST API Post Embeds] retrieving wmpl postsi found a little bug in your last solution
my main blog domain (in german) is https://ipblog.directdesign-ffm.de (without language add)
your hook works only if there`s a lang attribute
if i ad an lang=”de” to the shortcode then the source link gets https://ipblog.directdesign-ffm.de/de , which doesn`t work anymore (404)
removing include_credits=”false” and lang shows only “source:”maybe less work for you to modify the core files with the 2 features: attributes for target and custom credit link^^..i mean, just now it`s something that i need..but i can imagine that these features could be also intersting for other users^^
cheers
martinForum: Plugins
In reply to: [REST API Post Embeds] retrieving wmpl postsah, that`s cool…works:)
but i forgot to mention that i have to open all blog permalinks in a blank window….also the custom post links…so i did the same with the title and featured image in the core code
'<h4 class="post-embed-post-title"><a href="%1$s" target="'.$atts['target'].'">%2$s</a></h4>' '<div class="post-embed-post-thumbnail"><a title="%1$s" href="%2$s" target="'.$atts['target'].'"><img src="%3$s" alt="%1$s"/></a></div>'
therefore i thought it would be great to have a target attribute…maybe there`s also a cool hook solution for that
but thank you very much for your help^^
cheers
martinForum: Plugins
In reply to: [REST API Post Embeds] retrieving wmpl postsups..the code is cutted..hehe…i set the target to target=”‘.$atts[‘target’].
Forum: Plugins
In reply to: [REST API Post Embeds] retrieving wmpl postsworks great with
function jeherve_rest_api_embeds_target( $out, $pairs, $atts, $shortcode ) {
if ( isset( $atts[‘target’] ) && ” != $atts[‘target’] ) {
$out[‘target’] = $atts[‘target’];
}return $out;
}add_filter( ‘shortcode_atts_jeherve_post_embed’, ‘jeherve_rest_api_embeds_target’, 10, 4 );
and
$credits .= sprintf(
_x( ‘Source: %1$s‘, ‘Site URL’, ‘rest-api-post-embeds’ ),
$atts[‘source’]
);could be a nice additional option to take the 2 new parameters into the core^^
cheers
Forum: Plugins
In reply to: [REST API Post Embeds] retrieving wmpl postsnow that i can retrieve the posts from the proper language..i would like to define also the right language “source:” link at the bottom
i looked at your filter code and difined a new attribute
function jeherve_rest_api_embeds_urlsource( $out, $pairs, $atts, $shortcode ) {
if ( isset( $atts[‘source’] ) && ” != $atts[‘source’] ) {
$out[‘source’] = $atts[‘source’];
}return $out;
}add_filter( ‘shortcode_atts_jeherve_post_embed’, ‘jeherve_rest_api_embeds_urlsource’, 10, 4 );
it works but i had to modify the core code:( as i don`t know how to achieve this by hooking
i added also a target=”_blank” to the link…as the site owner wants to open all external links in a blank window
$credits .= sprintf(
_x( ‘Source: %1$s‘, ‘Site URL’, ‘rest-api-post-embeds’ ),
$atts[‘source’]
);it would be also a great feature to have the target of the permalinks as attributes… only as a feature suggestion^^
your plugin is great
cheers
martinForum: Plugins
In reply to: [REST API Post Embeds] retrieving wmpl postsYOU`RE A GENIUS!!
works great^^
thank you very muchcheers
martinForum: Plugins
In reply to: [REST API Post Embeds] retrieving wmpl postshi jeremy,
thank you very much for that fast response and possible solution^^
but i can`t get it to work
i added your code into my functions.php and added the shortcode into my page
[jeherve_post_embed url=”https://ipblog.directdesign-ffm.de/” wpapi=”true” ?number=”1″ lang=”en”]i hope i did it the right way
here the url of the stage site with the feed…it shows the german post instead of the english
https://industrial.directdesign-ffm.de/en/there are 3 german and 1 english posts on that draft blogsite
when i call
https://ipblog.directdesign-ffm.de/wp-json/wp/v2/postsi get the 3 german posts as json
when i call
https://ipblog.directdesign-ffm.de/wp-json/wp/v2/posts?lang=eni get only the one english post (as wanted)
what might be wrong?
cheers
martinForum: Plugins
In reply to: [WP e-Commerce Shop Styling] WP Editor is not showing the Visual tabgreat, 2.9 fixed the issue with “WP E-Commerce shop styling PDF invoice upgrade
thank you:)
Forum: Plugins
In reply to: [WP e-Commerce Shop Styling] WP Editor is not showing the Visual tabthe visual editor works now but another problem i noticed is that the content is shown in one line (without breaks) in the text view (code view) when the plugin (main plugin) is activated
Forum: Plugins
In reply to: [WP e-Commerce Shop Styling] WP Editor is not showing the Visual tabhi,
yes that was the issue…i had another similar one with si-captcha plugin
i fixed it with a .htaccess file inside of the plugin folder
<Files editor.js.php>
allow from all
</Files>now the visual editor works again..also at the plugin page in the whole email forms^^
but i have another issue with the “WP E-Commerce shop styling PDF invoice upgrade” extension after updating “WP E-Commerce shop styling” to 2.8
i get a white screen after pushing the purchase button on the checkout pagewhen i deactivate “WP E-Commerce shop styling PDF invoice upgrade” then everything works
so i returned to “WP E-Commerce shop styling” 2.4 for the first… there it works
do both plugins (2.8 and upgrade 1.0) work at you together?
Forum: Plugins
In reply to: [WP e-Commerce Shop Styling] WP Editor is not showing the Visual tabhi, yes
https://directdesign-ffm.de/ftp/mce_error.pngUncaught TypeError: $ is not a function(anonymous function) @ post.php?post=2151&action=edit:203
tinymce.min.js?ver=4203-20150730:4 GET https://www.lotusrestaurant.com/wp-content/plugins/wp-ecommerce-shop-styling/js/editor.js.php?wp-mce-4203-20150730 403 (Forbidden)e @ tinymce.min.js?ver=4203-20150730:4(anonymous function) @ tinymce.min.js?ver=4203-20150730:4a @ tinymce.min.js?ver=4203-20150730:2r.loadScripts.p @ tinymce.min.js?ver=4203-20150730:4r.loadScripts @ tinymce.min.js?ver=4203-20150730:4r.loadQueue @ tinymce.min.js?ver=4203-20150730:4t @ tinymce.min.js?ver=4203-20150730:9S.render @ tinymce.min.js?ver=4203-20150730:9r @ tinymce.min.js?ver=4203-20150730:10(anonymous function) @ tinymce.min.js?ver=4203-20150730:10a @ tinymce.min.js?ver=4203-20150730:2a @ tinymce.min.js?ver=4203-20150730:10i @ tinymce.min.js?ver=4203-20150730:2m @ tinymce.min.js?ver=4203-20150730:2o @ tinymce.min.js?ver=4203-20150730:2
tinymce.min.js?ver=4203-20150730:4 Failed to load: https://www.lotusrestaurant.com/wp-content/plugins/wp-ecommerce-shop-styling/js/editor.js.php