categories below tags

Basic support is open to all members of Volatyl Themes but what about those who need a little more? That's what Volatyl Themes subscriptions are for. The Priority Support subscription gets you more detailed, personal support while the Advanced Development subscription not only includes Priority Support, but also grants you access to premium content only seen by subscribers. This premium content will help you take your Volatyl websites to the next level with advanced development techniques, integration tips, and more information on how to really put Volatyl to use. Check out the subscriptions!

The Affordable WordPress Framework Forums Basic Support categories below tags

This topic is: resolved

This topic contains 3 replies, has 2 voices, and was last updated by  sdavis2702 6 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4024

    Roberto Porcar
    Participant

    Hello!

    Can i achieve this structure without breaking too much?

    Post title

    date, author, comments

    excerpt/content

    category <- attention here! 🙂
    tags

    I found the post meta data at the volatyl_post_meta() function, in byline.php file.

    Could this be modified outside the volatyl core?

    This is not a must have for me, just wondering how to do this.

    #4027

    sdavis2702
    Keymaster
    Post count: 72

    Sorry for the delay! This is definitely possible.

    The way you override templates (this is the single post template) is explained here.

    Basically, you just need to create a folder in your child theme root called “templates” and copy the content-single.php file from Volatyl into that folder of your child theme.

    From there, WordPress will use your child theme’s version of that file instead of Volatyl’s. That means you can make all the changes you want to the HTML structure or the PHP.

    With your specific request, you’re wanting to take a portion of the volatyl_post_meta() output and move it somewhere else. That will actually be a little more involved but definitely still possible.

    What I would do is leave the volatyl_post_meta() function in place and turn off the categories byline option in the Volatyl Content Settings. Then, in the content-single.php file you copied into your child theme, find:

    // Show feed tags
    

    …and directly above it, add…

    // relocation of category listing
    echo '<div class="entry-meta"><span class="cat-title">' . __('Filed under:', 'volatyl') . '</span> <span class="meta-category">';
    the_category(', ');
    echo '</span></div>';
    

    Then you should be good to go form there with complete control over the categories. Let me know if this works for you.

    #4026

    Roberto Porcar
    Participant

    works like a charm!

    thanks, now i understand better the workflow.

    #4025

    sdavis2702
    Keymaster
    Post count: 72

    Awesome! Be sure to take a look at the other files in the templates folder for an idea of what else you can control. Let me know if you have anymore questions.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.