Footer problems

  • Author
    Posts
  • #1263

    Andrew Misplon
    Keymaster

    No problem at all. I’ll work it up for you over the course of the evening. Chat in a little bit.

    #1264

    Andrew Misplon
    Keymaster

    If 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.

    #1268

    cloudontap
    Participant

    Hey 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!

    #1269

    Andrew Misplon
    Keymaster

    No problem, thanks for taking a look. I’ll have this submitted ASAP.

    #1270

    cloudontap
    Participant

    Awesome! Thanks. Wrote a review. 🙂 Have a great weekend!

    #1271

    Andrew Misplon
    Keymaster

    Much appreciated, thanks really awesome. You too, cheers for now 🙂

    #1300

    Philip
    Participant

    Hey 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

    #1301

    Andrew Misplon
    Keymaster

    Hi 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.

    #1304

    Philip
    Participant

    Hi 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

    #1318

    Andrew Misplon
    Keymaster

    Hi 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:

    Puro Themes Social Icons Menu

    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.

Viewing 10 posts - 16 through 25 (of 25 total)

You must be logged in to reply to this topic.

Scroll to top