-
AuthorPosts
-
August 26, 2013 at 5:07 am #28433
Hi-
I am finalizing a real-estate site that uses Enfold. As part of the effort, I need to create HTML markup in order to provide links to houses between certain price ranges. To do this, I am using the Advanced Builder in Enfold and creating a textblock. I go into the TEXT tab and create my markup. I am creating a table with links in each cell. (note: I tried to include code here but it wasn’t coming through correctly… so please view source using the link provided below).
If I save the Textblock and then save the page, it works fine However, if I go back in and edit the page, without saving the textblock specifically (i.e. going into the textbox and re-saving it), nothing in the table shows. I viewed the source to try and see what was happening. It appears it is dropping the end-quote in the href.
So, instead of This is CNN …
I am getting This is CNN …
Which breaks the markup and causes the links to not appear.
I have saved a page that demonstrates this behavior. You can see the results:
http://parkcityproperty.com/neighborhoods/aerie/
Above the Homes, Condos, and Land buttons you should see links to homes that are 100K – 200K, 200K-300K,etc. but it’s blank (between two hr’s). If you view the source, you’ll see its missing the closing tags for the hrefs.
Does anyone have a workaround for the issue or a suggestion on how to make this work?
I am on version 1.91 of the Enfold Framework.
Thanks for the help!
August 26, 2013 at 5:41 am #137532Please try following – open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodestextblock.php and replace
return "<div class='avia_textblock {$custom_class}'>".ShortcodeHelper::avia_apply_autop(ShortcodeHelper::avia_remove_autop($content) )."</div>";
with
return "<div class='avia_textblock {$custom_class}'>".stripslashes(ShortcodeHelper::avia_apply_autop(ShortcodeHelper::avia_remove_autop($content)))."</div>";
August 26, 2013 at 1:33 pm #137533Dude-
Thanks for the reply. I edited the file but it didn’t seem to make a difference. My original message was getting long, so I may have left a piece or two out that may help.
When I edit the page and save it, if I go into the textbox and resave it, and then update the page, the href has the quotation at the end and works great.
However, if I edit the page, and just press Update (without going into the textbox and pressing save), the href’s don’t have the ending quotations and it breaks.
I have left the page in a broken state at:
http://parkcityproperty.com/neighborhoods/aerie/
The links are in the big white space in the middle of the page.
Thanks again for the help.
-Josh
August 26, 2013 at 1:41 pm #137534After I typed the reply above, I remembered a plugin called RAW that stops WordPress automatic formatting. I tried that and it seems to have done the trick.
Dude, I just wanted to check and see if RAW caused any know problems with Enfold/Avia?
Anyone else having the same problem:
1. Download the Raw Plugin and activate it
2. Add the following around your html:
Code:<!–raw–>
Your stuff here
<!–/raw–>Thanks
-Josh
August 27, 2013 at 5:39 am #137535Hi!
No, afaik it does not cause any problems/issues.
Regards,
Peter
-
AuthorPosts
- The topic ‘Href Drops Trailing Quotation Mark in Textbox’ is closed to new replies.