Forum Replies Created
-
AuthorPosts
-
Thanks, it seems to work with this code:
.wp-editor-expand div.mce-toolbar-grp { min-width: initial; }
And I load it using an external CSS:
function royeyal_admin_style() { wp_register_style( 'admin-rtl', get_stylesheet_directory_uri().'/css/admin-rtl.css', false, '20150719' ); wp_enqueue_style( 'admin-rtl' ); } add_action( 'admin_enqueue_scripts', 'royeyal_admin_style' );
Yes.
The issues persists only on the Enfold theme, and without any plugin activated.
The issue is gone when switching back to Twenty Fifteen theme with all the plugins activated.Hi there
Yes, I’ve deactivated all the plugins, and the bug still persists.My bet is the way you inject the shortcodes button into the bar.
I’ve attached login details.
Thank you
Yes.
Site is running version 3.2.3.
The bug still exists on long posts, on RTL websites.It happens on every long post. Even if I just hit Enter.
Try setting an RTL website and see for yourself.No reply yet… Great.
No response in the forum yet. Want to reproduce the problem? Here:
1. Create a post with a Link Post Format
2. Add a word with non-latin characters
3. Make that word a link.
4. Create a page that displays posts.
5. Make sure you are using small thumbs.The Enfold theme isn’t using the get_url_in_content function, just like the twentyfifteen theme is using. Somehow, the thumb’s URL is getting screwed.
I would have fixed the problem myself, but I can’t find where loop-index.php is calling the Link Post Format.
Please tell me where can I find the Link Post Format code for small thumbnail link, and I will fix it myself.function twentyfifteen_get_link_url() { $has_url = get_url_in_content( get_the_content() ); return $has_url ? $has_url : apply_filters( 'the_permalink', get_permalink() ); } endif;
- This reply was modified 9 years, 5 months ago by roy_eyal.
That plugin screws the all the website from RTL to LTR, so I had it removed.
But why does the language matter?
There’s a list of posts.
JUST CLICK ANY OF THE POST THUMBNAILS PLEASE – you’ll see for yourself.http://www.afikim38.com/index/contractors/page/2/
Screenshot:
What? no no no…
Why are clicking on the sidebar?
I said every thumbnail on each POST is linking to a 404!
It’s every featured images on the RIGHT.
Please click every post thumbnail, on you’ll see you’re getting a 404.Hey there
I think that maybe you got it wrong.
every thumbnail links to a broken link:
http://www.afikim38.com/index/contractors/Every href points to:
http://www.afikim38.com/index/engineers/<href=”PAGELINK” target=”_blank”>PAGE TITLE
instead of PAGELINKAnd it all happens because the post format is Link.
Haha :)
Well, you can use Google Chrome auto translate page feature.
The image comes from the Featured Image of the post.
The bug is this:
The link has all this HTML inside, instead of the just the target URL (http://www.efgad.co.il/).http://www.afikim38.com/index/engineers/<href="http://www.efgad.co.il/" target="_blank">PAGE TITLE</a>
- This reply was modified 9 years, 5 months ago by roy_eyal.
This reply has been marked as private.This reply has been marked as private.Sure:
http://www.afikim38.com/index/engineers/
Click the thumbnail, and instead of opening the link, you’ll get a 404.
This is the title link:
http://www.efgad.co.il/
This is the thumbnail link:
http://www.afikim38.com/index/engineers/%3Ca%20href=%22http://www.efgad.co.il/%22%20target=%22_blank%22%3E%D7%90%D7%A4%D7%92%D7%93%20%D7%91%D7%A0%D7%99%D7%99%D7%9F%20%D7%95%D7%A1%D7%91%D7%99%D7%91%D7%94%3C/a%3EAwesome! :)
This should be added to the code snippets.
Very useful.
Have a great day.Thanks, but it doesn’t work with poEdit.
I’m trying to translate the file to Hebrew so I can copy it to a child theme.
Please try poEdit.
And escaping the % sign on the original po file wouldn’t hurt.Thanks!
To make it work, I had to do further mods.
1.) I removed the minified isotope.js on avia.js
2.) d/l isotope.pkgd.js
3.) load it on the function you gave me:function wp_change_aviajs() { wp_dequeue_script( 'avia-default' ); wp_enqueue_script( 'avia-default-child', get_stylesheet_directory_uri().'/js/avia.js', array('jquery'), 2, true ); wp_enqueue_script( 'isotope-child', get_stylesheet_directory_uri().'/js/isotope.pkgd.js', array('jquery'), 2, true ); } if (is_rtl()): add_action( 'wp_print_scripts', 'wp_change_aviajs', 100 ); endif;
4.) on line 1815, change default from true to false
// default options Outlayer.defaults = { containerStyle: { position: 'relative' }, isInitLayout: true, isOriginLeft: false, isOriginTop: true, isResizeBound: true, isResizingContainer: true, // item options transitionDuration: '0.4s', hiddenStyle: { opacity: 0, transform: 'scale(0.001)' }, visibleStyle: { opacity: 1, transform: 'scale(1)' } };
5.) on avia.js (line 1130) I’ve added the code “isOriginLeft: false”:
container.isotope({ layoutMode : 'fitRows', itemSelector : '.flex_column' , filter: '.'+selector, isOriginLeft: false}, function()
Thanks! -
AuthorPosts