Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #913249
    Jennifer S
    Participant

    If you scroll to the bottom of this page, http://www.theantgroup.com/contact/, you’ll see a standard footer message that asks folks to contact us. It include some linked text – and that linked text links to the same page you’re current on (http://www.theantgroup.com/contact/).

    I know you guys have a mechanism to assign specific sidebars to specific pages. Is there such a mechanism for footers? I want that footer on every page on the site, EXCEPT for http://www.theantgroup.com/contact/ – because it’s redundant there.

    How can I accomplish this? Thanks!

    PS – everything is current. πŸ™‚

    #913656
    Friech
    Moderator

    Hi There,

    Thanks for writing in! Hiding your top footer only on the contact page would be an option? If so, You can add this under Custom > CSS in the Customizer.

    .page-id-26 .x-colophon.top {display: none;}

    Else, you need to modify the wp-footer template to have an alternative footer for the contact page.

    Hope it helps, Cheers!

    #914165
    Jennifer S
    Participant

    That worked perfectly – thank you!

    #914509
    Darshana
    Moderator

    Glad we were able to help πŸ™‚

    #997707
    Jennifer S
    Participant

    Hi again! You mentioned I’d need to modify the wp-footer template if I wanted to add a custom footer to a page. I’d like to add a custom footer to my Projects page. http://www.theantgroup.com/projects/

    How exactly do I modify the wp-footer template?

    Thanks!

    #997892
    Rupok
    Member

    Hey there,

    Thanks for writing back! We can just point out that but can’t assist on such customization. Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

    Thank you for your understanding.

    #997936
    Jennifer S
    Participant

    Ok, I understand – thanks though! πŸ™‚

    #997941
    Jennifer S
    Participant

    Follow up question – I want to add some content to my top level portfolio page. I want to say “More Projects Coming Soon” – but if I add blocks to the page via Cornerstone, they don’t appear.

    So if I can’t do it via footer, how can I get some text to appear at the bottom of my portfolio page beneath the portfolio items? Thanks!

    http://www.theantgroup.com/projects/

    #998174
    Jade
    Moderator

    Hi Jennifer,

    Thanks for writing in.

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    add_action('x_after_view_global__script-isotope-portfolio', 'enable_content_p'); //portfolio
    
    function enable_content_p () {
    $page = get_page( get_the_ID());
    echo '<div class="portfolio-page-content">'.apply_filters( 'the_content' , $page->post_content ).'</div>';
    }

    Cheers!

    #998180
    Jennifer S
    Participant

    I always use a child theme – learned my lesson the hard way early on in my wordpress days. πŸ™‚

    Thank you, as always! πŸ™‚

    #998395
    John Ezra
    Member

    You’re most welcome! πŸ™‚

  • <script> jQuery(function($){ $("#no-reply-913249 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>