-
AuthorPosts
-
July 4, 2018 at 10:08 pm #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, 4 months ago by tallypeled. Reason: the code for the code block element was gone
July 6, 2018 at 1:48 pm #982059Hey tallypeled,
Best regards,
VictoriaJuly 6, 2018 at 4:33 pm #982123Hello
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 youJuly 6, 2018 at 4:42 pm #982127P.s. fixing the code did nothing!
July 7, 2018 at 1:56 pm #982451Hi 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,
VictoriaJuly 7, 2018 at 3:01 pm #982490This 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???July 7, 2018 at 3:02 pm #982491P.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, 4 months ago by tallypeled.
July 7, 2018 at 3:04 pm #982492P.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….July 9, 2018 at 3:42 pm #983149Hi,
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,
BasilisJuly 9, 2018 at 5:15 pm #983228Hi
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!!!July 10, 2018 at 9:58 am #983551Shalom,
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,
YigitJuly 11, 2018 at 12:16 pm #984182This reply has been marked as private.July 11, 2018 at 3:07 pm #984244Hi,
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,
YigitJuly 11, 2018 at 3:15 pm #984252Hello
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, 4 months ago by tallypeled.
July 18, 2018 at 1:16 pm #986958Hi,
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ünterJuly 19, 2018 at 10:19 pm #987640Thank you
No option but to take your recommendation..
I created a shortcode – it worx.July 20, 2018 at 8:31 am #987727 -
AuthorPosts
- The topic ‘Code block element not saving code’ is closed to new replies.