Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #981354

    Hello
    I have a page with 2 code block elements…
    One of the code block element on the page does not save the code upon element ‘SAVE” and page update.
    Why is that happening??

    • This topic was modified 6 years, 5 months ago by tallypeled. Reason: the code for the code block element was gone
    #982059

    Hey tallypeled,

    Best regards,
    Victoria

    #982123

    Hello
    Thanx for your reply.
    1. whats that got to do with the issue at hand?
    2. what are the errors you see??
    3. why does the other ‘code block’ element function?
    4. why does this NOT interfere with the English page?
    Thank you

    #982127

    P.s. fixing the code did nothing!

    #982451

    Hi tallypeled,

    The html is broken and so it does not show up.

    Your code

    
    <;"div style="direction: rtl; height: auto; line-height: 18px; text-align: center>
    

    has to be

    
    <div style="direction: rtl; height: auto; line-height: 18px; text-align: center;">
    

    Best regards,
    Victoria

    #982490

    This is the code I have:

    <div style="direction: rtl; height: auto; line-height: 18px; text-align: center;">
    <p style="font-size: 14px;"><span style="color: #000000;">ראשון, שני ושלישי 9:30 - 17:30</span></p>
    <p style="font-size: 14px;"><span style="color: #000000;">רביעי וחמישי 9:30 - 19:00</span></p>
    <p style="font-size: 14px;"><span style="color: #000000;">שיש וערבי חג 9:00 - 13:00</span></p>
    </div>

    I don’t know where you get this error from but it is NOT onsite!!
    Now why do I get the feeling we’re getting nowhere with this???

    #982491

    P.S. STILL THAT DOES NOT EXPLAIN WHY THE CODE BLOCK ELEMENT DOES NOT SAVE THE CODE, DOES IT NOW???

    • This reply was modified 6 years, 5 months ago by tallypeled.
    #982492

    P.P.S. YOU GET YOUR CODE RIGHT ALIGNED THAT IS WHY YOU SEE THIS AS AN ERROR.
    ANY ONE WHO WORKED WITH RTL KNOW THAT THIS CAN HAPPEN,
    IF YOU LEFT ALIGN YOUR CODE THIS SHOULD DISAPPEAR….

    #983149

    Hi,

    Can you please do not use caps, as we do the best we can to help you out?
    Instead of pasting the code inside the codeblock, better create a shortcode that outputs that HTML.
    Nothing can go wrong that way.

    https://codex.wordpress.org/Function_Reference/add_shortcode

    Best regards,
    Basilis

    #983228

    Hi

    Sure…
    Still you did not relate to the question at hand!!!
    What would you do in my place???
    2 support team members answered this question all together 3 answers,
    Non of which even related to the question/ issue/ bug…
    You both did not do anything to help me resolve the issue as it is.
    Instead, to refer to other things as causing the problem and wasting my time!
    I removed all code blocks and still that specific code block does not save the code at all!!!
    Does any of your team understand about this???
    All that is left for me to do is wonder….
    I am very disappointed by your support!!!

    #983551

    Shalom,

    Sorry for the confusion. I believe the issue is RTL related. I tried adding following code to bottom of Functions.php file of your child theme

    function av_hide_alb() {
      echo '<style>.rtl .avia-style textarea {
        direction: ltr;
    }</style>';
    }
    add_action('admin_head', 'av_hide_alb');

    However it did not save. Could you please post FTP logins here privately as well?

    Best regards,
    Yigit

    #984182
    This reply has been marked as private.
    #984244

    Hi,

    I added the code and now code block elements are left to right. Could you please check your page once again?
    If you are still experiencing an issue, please elaborate so we can make sure that we are on the same page.

    Best regards,
    Yigit

    #984252

    Hello

    I am sorry I don’t understand what you did or what you mean by “code block elements are left to right”?
    Even the code you added seems wrong…
    The issue was that the specific code block on that page (RTL) did not save the code…
    It still does not save the code..please refer to my first post on this issue here…
    You can see that this code block on the English version (LTR) of ‘Contact Us’ page is functioning properly.
    Thanx

    • This reply was modified 6 years, 5 months ago by tallypeled.
    #986958

    Hi,

    The problem in the page is the a tag (see in private content).

    If you copy the fb code to the first codeblock it works and if you replace the a with div in the code below it is also saved. If you wrap it in div the a tag is removed and an empty div is saved.

    Strange, but it could be somehow language related – as the english version works correct.

    As a workaround you can create a shortcode and output this link in the shortcode. This should fix the problem.

    If you need assistance with that we can help you.

    Best regards,
    Günter

    #987640

    Thank you
    No option but to take your recommendation..
    I created a shortcode – it worx.

    #987727

    Hi,

    Glad Günter could help!

    Let us know if you have any other questions or issues and enjoy your weekend!

    Best regards,
    Yigit

Viewing 17 posts - 1 through 17 (of 17 total)
  • The topic ‘Code block element not saving code’ is closed to new replies.