- This topic has 24 replies, 3 voices, and was last updated 9 years, 8 months ago by Andrew Misplon.
Tagged: bottom bar footer padding
- AuthorPosts
- April 23, 2015 at 5:07 pm #1263
Andrew MisplonKeymasterNo problem at all. I’ll work it up for you over the course of the evening. Chat in a little bit.
April 23, 2015 at 8:59 pm #1264
Andrew MisplonKeymasterIf you’re feeling up for it, proceed to Appearance > Editor (normally you shouldn’t edit here unless in a child theme) and edit functions.php. This is normally not advised, one tiny error here will cause the theme to not render.
Locate the following function:
/** * Display the top bar text. */ function ultra_top_bar_text_area(){ $phone = wp_kses_post( siteorigin_setting('text_phone') ); $email = wp_kses_post( siteorigin_setting('text_email') ); if ( siteorigin_setting('text_phone') ) { echo '<span class="phone">' . $phone . '</span>'; } if ( siteorigin_setting('text_email') ) { echo '<span class="email"><a href="mailto:' . $email . '">' . $email . '</a></span>'; } } add_action('ultra_top_bar_text', 'ultra_top_bar_text_area');
And replace the entire function with the following:
if( ! function_exists( 'ultra_top_bar_text_area' ) ): /** * Display the top bar text. */ function ultra_top_bar_text_area(){ $phone = wp_kses_post( siteorigin_setting('text_phone') ); $email = wp_kses_post( siteorigin_setting('text_email') ); if ( siteorigin_setting('text_phone') ) { echo '<span class="phone"><a href="tel:' . $phone . '">' . $phone . '</a></span>'; } if ( siteorigin_setting('text_email') ) { echo '<span class="email"><a href="mailto:' . $email . '">' . $email . '</a></span>'; } } add_action('ultra_top_bar_text', 'ultra_top_bar_text_area'); endif;
Ideally this change shouldn’t be made without having FTP or File Manager access to your server. If something does go wrong you’ll need to navigate to /wp-content/themes/ on your server and delete the “ultra” folder to restore access to the site.
April 24, 2015 at 2:47 pm #1268
cloudontapParticipantHey Andrew,
I looked for the first code section you mentioned, and it already is different. I think I’m going to heed your warnings about the theme getting messed up and just wait for the update. Thank you for giving me the information to try, though!
April 24, 2015 at 3:51 pm #1269
Andrew MisplonKeymasterNo problem, thanks for taking a look. I’ll have this submitted ASAP.
April 24, 2015 at 3:59 pm #1270
cloudontapParticipantAwesome! Thanks. Wrote a review. 🙂 Have a great weekend!
April 24, 2015 at 4:04 pm #1271
Andrew MisplonKeymasterMuch appreciated, thanks really awesome. You too, cheers for now 🙂
April 29, 2015 at 11:01 am #1300
PhilipParticipantHey Andrew,
first of all, thank you for creating such a great theme and providing it for free!
I got a little footer issue as well, in fact i don’t know how to add a customized footer at all (like the “cloudontap” did on his website http://ccd.336.myftpupload.com/ above)Do I have to go in the themes code and add some html or css? If so, could you please write a little step by step guide?
Or is there a setting and I just didn’t find it?Thank you very much in advance,
Philip
April 29, 2015 at 2:43 pm #1301
Andrew MisplonKeymasterHi Philip
Thanks for your support, glad to hear you’re finding Ultra useful.
Footer widgets can be added from Appearance > Widgets > Footer. The footer will automatically split into columns as widgets are added. Two widgets will equal two columns etc.
Below the footer is the bottom bar. You can control your site’s copyright text from Appearance > Theme Settings > Footer. You can also set a social links menu if you’d like to display icons to your social network profiles. Apologies for the documentation not being ready. Puro, my first theme uses the same social links menu so you can check the docs for it here if you’re interested: https://purothemes.com/documentation/puro-theme/social-menu/.
In the above thread we worked through some color customisations. Most of the code provided was CSS. You can add your own CSS by using a plugin like Simple Custom CSS: https://wordpress.org/plugins/simple-custom-css/. Remember that all WordPress themes overwrite themselves during theme updates so it’s best not to make any changes via Appearance > Editor under normal circumstances.
If you’d like to create a new topic at the bottom of this page: https://purothemes.com/support/forum/ultra-theme/ and perhaps let me know what footer aspects you need a hand with, I’ll be sure to jump in ASAP.
Thanks.
April 30, 2015 at 3:06 pm #1304
PhilipParticipantHi Andrew,
I’ve added a few footer widgets now and it seems to work perfectly.
I just didn’t find that option in the backend menu.Thank you very much and keep up the good work,
Philip
April 30, 2015 at 6:14 pm #1318
Andrew MisplonKeymasterHi Philip
Awesome, really glad to hear you’re making progress. When you say you didn’t find that option, could you perhaps let me know which option you’re referring to?
If you’re referring to the social icons menu, a built in method for display your social network icons, then please see my tutorial here:
I’ve also just added a video walk through at the bottom of the page. The video is using my first theme Puro, but besides choosing which social icon menu location to use, it’s the same as Ultra.
- AuthorPosts
You must be logged in to reply to this topic.