Forum Replies Created

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • in reply to: Toolbar bug on RTL sites #475318

    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' );
    in reply to: Toolbar bug on RTL sites #474965

    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.

    in reply to: Toolbar bug on RTL sites #473233

    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

    in reply to: Toolbar bug on RTL sites #472566

    Yes.
    Site is running version 3.2.3.
    The bug still exists on long posts, on RTL websites.

    in reply to: Toolbar bug on RTL sites #472092

    It happens on every long post. Even if I just hit Enter.
    Try setting an RTL website and see for yourself.

    in reply to: Post Format: Link bug #465710

    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.
    in reply to: Post Format: Link bug #464642

    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:
    Screenshot

    in reply to: Post Format: Link bug #464511

    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.

    in reply to: Post Format: Link bug #463893

    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&#8221; target=”_blank”>PAGE TITLE
    instead of PAGELINK

    And it all happens because the post format is Link.

    in reply to: Post Format: Link bug #463246

    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.
    in reply to: Post Format: Link bug #462789
    This reply has been marked as private.
    in reply to: Post Format: Link bug #462629
    This reply has been marked as private.
    in reply to: Post Format: Link bug #462296
    in reply to: Portfolio post navigation #312830

    Awesome! :)
    This should be added to the code snippets.
    Very useful.
    Have a great day.

    in reply to: The % signs on the PO file has to escaped #291795

    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.

    in reply to: Isotope v2 and RTL #290353

    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!

Viewing 16 posts - 1 through 16 (of 16 total)