Homepage | Widget HTML | Not working
-
Hi,
I would like to embed an HTML pricing table on the home page. However, whenever I insert the shortcode into an HTML widget on the homepage nothing shows up at all.
Is this a known issue?
Site is: cvrocket.net
-
Hello,
Currently Zerif is made to work only with the customized pre-set widget types,but I’ve added some custom html widgets and it worked.
In which section are you trying to add the widget?Regards,
MariusHi,
Thanks for responding.
I tried it in the ” Our Team ” section.
Yes, it seems like it will only post widget titles in that section, I’ll add this to our suggestion lists and see what we can do about it, but I don’t have an exact answer for you. It might be easier to add the html code you need between sections in front-page.php
Marius
Thanks very much Marius.
I think that adding that functionality to your theme would be great, both for user experience and perhaps for marketing purposes.
Will try manually add the code to front-page.php and let you know if it works out.
I have tried to insert some HTML code but it doesn’t appear to be working. Maybe I’m putting the code into the wrong place, but I either don’t understand enough about embedding HTML in PHP files or it just plain doesn’t work.
Hello,
To insert HTML in PHP files, make sure you’re not trying to insert between php tags. If so, then first you need to close the tag with `?>’
Add your HTML then code reopen php tags with<?phpFor example:
<?php ---------X lines of code------ ---------Y lines of code------ ?>would become:
<?php ---------X lines of code------ ?> ---------HTML CODE ----------- <?php ---------Y lines of code------ ?>I hope you managed to understand what I meant 🙂
Regards,
Marius
The topic ‘Homepage | Widget HTML | Not working’ is closed to new replies.