dorjeduck
Forum Replies Created
-
Found one solution. Instead of adding the raw url, adding it as a html link does the job:
<a href="https://vimeo.com/245866557" rel="noopener" target="_blank">https://vimeo.com/245866557</a>
Thanks a lot for the reply and clarification.
Best & beyond
martin
Forum: Themes and Templates
In reply to: [GK Portfolio] size of front page >8MBGreat, thanks for your fast feedback and the solution.
Forum: Plugins
In reply to: [Import External Images] Can't import images which are queriesI could get this problem solved by making two modifications in the source: In the file import-external-images.php of the plugin, find the function is_external_file and change
$ext = substr( $file , -4 );
to
$file_spl = explode('?',$file)[0]; $ext = substr( $file_spl , -4 );
In the same file, find the function external_image_get_img_tags and change
$path_parts = pathinfo($uri);
to
$uri_spl = explode('?',$uri)[0]; $path_parts = pathinfo($uri_spl);
Good luck
Found the solution myself, I wrongly used the field_name instead of the field_key.
As stated in the documentation for update_field:
The problem with using $field_name is that if the reference does not already exist, ACF will not be able to find the field object and will not be able to save the value. This situation would occur if you had used code to insert a post.
Forum: Fixing WordPress
In reply to: Exporting displayed content of a blogPlenty of reasons, for example I want to repost content on social networks. I can do with copy and paste but there are links included which i want to shorten etc so being able to extract the content would help me greatly to partly automize what i do now manually.
Also once I have the full content extracted I could create word documents for various categories containing the content etc.
Hi Ajay,
just applied the fix and the daily popular are back – thanks a lot for the great plugin and quick fix.
martin
as expected – public list of popular posts now also empty – did anybody find a solution?
Forum: Themes and Templates
In reply to: custom field page like category pageok thanks
Forum: Themes and Templates
In reply to: custom field page like category pageThanks for the link Esmi. So do I understand you right that I have to code this myself. It seems such a common requirement that I was hoping to get this done without coding …
Forum: Plugins
In reply to: [Random Post Link] Limit to a dynamically set categoryhaven’t looked into the cookie thing with this addition yet … be happy
Forum: Plugins
In reply to: [Random Post Link] Limit to a dynamically set categoryOkay here is what i came up with quickly ….
firstly I just add the category as optional parameter to random_post_link, add it to the query string
function random_post_link($text = 'Random Post',$catcat = '') { printf('<a href="%s">%s</a>', get_random_post_url($catcat), $text); } function get_random_post_url($catcat) { $cat = empty($catcat) ? '' : '=' . $catcat; return trailingslashit(get_bloginfo('url')) . '?' . Random_Post_Link::query_var . $cat; }
and use this information
$cat_name = $_GET[self::query_var]; if (!empty($cat_name)) { $args = array_merge($args, array( 'category_name' => $cat_name, )); }
of course this could be improved on but for now it works for me …
Forum: Hacks
In reply to: thumbnail url -> full image urlsure i would have explained if this would be a general interesting case – yet right now it is just a bad hack so I cant see any benefit of elaborating on it … (basically i just changed the plugin NextGEN Facebook Open Graph for my very particular case …)
Forum: Requests and Feedback
In reply to: multilingual site support as core featureThank you very much esmi for your evaluation of the situation.
I played around with some of the free plugins a while ago and none really made me feel comfortable. Is there a particular plugin anybody can recommend? One problem I had with the plugins I tested was that the way to input language dependent content was never really intuitive, the “ease of use” for editors for which I like wordpress very much was pretty much gone, particular having in mind that “non tech” editor will add the content once the site is up. The heart of the problem seemed to me that with a plugin you just dont have the freedom to design multilingual input as you would have if it is handled as a core feature.
Any suggestion in which way to go with wordpress and multilingual sites very appreciated. Is running multiple wordpress installation probably a safe way to go?