Home Forums Square How to split date and comments

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1331
    bael
    Participant

    template-parts/content-summary.php

    For date and comments counter You used: <?php square_posted_on(); ?>

    I want to split this two things and move one of them to the bottom of post.
    I checked all theme-functions files, but without results.

    Can You tell me where can I find details for this function? Or can You tell me what scripts I need for that operation?

    #1453
    Hash
    Keymaster

    Hi,

    You will find the function square_posted_on() on file inc/template-tag.php file.

    You will have to take the comment counter code out of this function and then add it to a new function which can then be called at any other place.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.