Hello,
Love the theme. I created a childtheme by following the tutorial. This is all fine but i want to ad shortcodes to the textwidget in the page builder, for that i need to place some code in the functions.php file, but i don’t have one.
All i have in my stylesheet is:
/*
Theme Name: My Vantage Child Theme
Version: 1.0
Description: A child theme for Vantage, the premium business directory theme for WordPress.
Author: Your Name
Author URL: http://www.your-url.com
Template: vantage
*/
@import url(“../vantage/style.css”);
@import url(“../vantage/styles/blue.css”);
Do i need to add a functions.php file?
Anybody here a code wizard :-)?
Anybody?
Hi
It’s perhaps worth trying Black Studio TinyMCE: http://wordpress.org/plugins/black-studio-tinymce-widget/. Once installed it’s widget is called Visual Editor, I’ve successfully inserted many shortcodes into it’s HTML tab.
If you need custom functions then you’d create a blank file called functions.php and insert it into your child theme. You’d start out the file with:
And then insert your new function.
Try out my first idea though.