[Resolved] انعكاس المقالات في قالب Mellow

Home Forums Support [Resolved] انعكاس المقالات في قالب Mellow

Home Forums Support انعكاس المقالات في قالب Mellow

  • This topic has 9 replies, 4 voices, and was last updated 2 years ago by Asem.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2275332
    Asem

    Hello

    تظهر المقالات الأخيرة من اليسار إلى اليمني بعد تفعيل خاصية (عرض التدوينات في شبكة بناء) بالرغم ان القالب يدعم اتجاه ظهور آخر مقال من اليمين حين إلغاء الخاصية.
    أريد بقاء ظهور آخر مقال من اليمين عند تفعيل خاصية (عرض التدوينات في شبكة بناء).

    Thank you

    #2275378
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the page in question?

    You can use the private information field:
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know 🙂

    #2275676
    Asem
    #2275682
    Asem

    Happens that when Activated feature “View posts in building network” in Settings the theme.

    Thank you.

    #2275877
    David
    Staff
    Customer Support

    Hi there,

    try adding this PHP Snippet to your site:

    add_filter( 'generate_blog_masonry_init', function( $args ) {
        $args['isOriginLeft'] = false;
    
        return $args;
    } );
    #2276540
    Asem

    In which file do I add it?

    #2276634
    Fernando
    Customer Support

    Hi Asem,

    You can add it through a plugin called Code Snippets or if you’re using the child theme, through functions.php.

    Adding PHP reference: https://docs.generatepress.com/article/adding-php/#code-snippets

    Hope this clarifies!

    #2276725
    Asem

    It working.

    Thank you

    #2276734
    Fernando
    Customer Support

    Glad that worked! You’re welcome Asem!

    #2276739
    Asem

    Thank you.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.