January 29, 2014 at 12:09 am #216099
DevinJanuary 29, 2014 at 1:25 am #216159
i tried several plugins, but can’t get it to work. it either just shows the text, or i can’t even insert it in the backend because the avia layout builder won’t let me.January 29, 2014 at 1:34 am #216165
You can use a custom [shortcode], this tool comes handy for that: http://generatewp.com/shortcodes/
JosueJanuary 29, 2014 at 1:56 am #216179
JosueJanuary 29, 2014 at 10:55 am #216301January 29, 2014 at 11:09 am #216311
Please try this plugin: http://wordpress.org/plugins/insert-html-snippet/ – I know some users already use it with Enfold and it works fine for them.
PeterJanuary 29, 2014 at 5:27 pm #216483
i also tried this one and it doesn’t work. i just can’t insert any code.
can someone please give me some support? i would provide you with admin access and i could even pay you something! i need to solve this as soon as possible.
what i try to achieve: i have a json file on the server with data in it. now i need to publish this data in a page inside a table. anyone who can help me out?January 29, 2014 at 5:42 pm #216496January 29, 2014 at 5:52 pm #216510
Can you post a link to your website please (where you embedded the js code with: http://wordpress.org/plugins/insert-html-snippet/ ). Maybe the code doesn’t work because you didn’t create an html element with the id “display”?
PeterJanuary 29, 2014 at 6:24 pm #216533
the URL is http://mobilerevolution.ch/new/
the table should be displayed right above the map.January 29, 2014 at 7:14 pm #216555
It looks like the script is in fact loading but its not executing because of an error. Have you tried it on a regular html site/page and verified it works there? You can also try going through the regular WordPress visual editor and verify it works there before adding to a text element in the avia layout builder.
DevinJanuary 29, 2014 at 7:16 pm #216559
i already tried going through a regular page with wordpress visual editor, but it doesn’t show.
what else could i try?January 29, 2014 at 7:31 pm #216575
The js code is part of the website source code and it’s not a problem with the theme or the “insert-html-snippet” plugin. You can check the source code of the page by yourself – i.e. search for
I think it doesn’t work because you didn’t create a div with the id “display”. I suggest to replace
and then the code should work…
PeterJanuary 29, 2014 at 11:21 pm #216667
it still doesn’t show the content. i placed the div tag in front of the script tag. i also tried putting the script inside the div tag. no success. do i have to define the div tag “display” with some css?
You must be logged in to reply to this topic.