Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1369816
    alanjonesonline
    Participant

    Hi there,

    I’m hoping you can help. My site is no longer displaying and I’d like to get it back. This is the message it gives me:

    Parse error: syntax error, unexpected ‘<‘ in /home/s1073474/public_html/wp-content/themes/x-child/functions.php on line 8

    Any help appreciated.

    Cheers.

    http://www.alanjonesonline.com

    #1370023
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1370090
    alanjonesonline
    Participant
    This reply has been marked as private.
    #1370184
    Friech
    Moderator

    Hi There,

    Thank you for the credentials, but would you mind checking the site? Its completely down at the moment.

    http://image.prntscr.com/image/df735081e7d0460b9c397905404b3b3b.png

    #1370199
    alanjonesonline
    Participant
    This reply has been marked as private.
    #1370216
    Friech
    Moderator

    Hi There,

    I Did go ahead and resolve the syntax error on your child theme’s functions.php file.

    Hope it helps, Cheers!

    #1370962
    alanjonesonline
    Participant

    Hi Friech,

    Brilliant! Thank you. Much appreciated.

    Alan

    #1371006
    Joao
    Moderator

    Glad to hear it,

    Joao

    #1392476
    alanjonesonline
    Participant
    This reply has been marked as private.
    #1392929
    Paul R
    Moderator

    Hi Alan,

    I went ahead and remove the code.

    May I know what you are trying to achieve with that code.

    Thanks

    #1395379
    alanjonesonline
    Participant
    This reply has been marked as private.
    #1395743
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! Do you want to display the tags at the bottom of each single blog post? If that is the case, assuming that you already have your child theme active and ready, please insert this following code in your child theme’s functions.php file.

    // Custom tags
    // =============================================================================
    function display_tags(){ ?>
    
    	<?php if ( has_tag() ) : ?>
    	  <footer class="entry-footer cf">
    	    <?php echo get_the_tag_list(); ?>
    	  </footer>
    	<?php endif; ?>
    	
    <?php }
    add_action('x_after_the_content_end', 'display_tags');
    // =============================================================================

    We would loved to know if this has work for you. Thank you.

    #1395982
    alanjonesonline
    Participant

    Hi there

    Thank you! That worked great and the tags now appear on each post.

    Is it possible to make three small changes to the appearance:

    1. Tags to appear centred (not left)
    2. A heading reading ‘Tags’ in <h6> centred on the line above the tags
    3. Tags to appear as ‘flat square’ or ‘transparent square’ buttons, size ‘small’

    Any help is appreciated.

    Cheers.

    #1396004
    alanjonesonline
    Participant

    Hi there

    If I could please add one more request to the list.

    4. Tag link colour – rgb(39, 39, 39), tag link colour hover – rgb(153, 153, 153)

    All this would be fantastic.

    Cheers.

    #1396148
    Christian
    Moderator

    Further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/. Thanks for understanding.

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