How to create custom Tag

Hello, I have a client requesting for this custom tag. In the bottom of the pages. How to do that?

my website is : https://vibesintegrated.design/journal/

Thank you

Hi Sutriano,

Thanks for reaching out.

You mean the gallery thumbnails? You could do that through Essential Grid or The Grid plugin which is bundled with the theme. Please check them here


And you could also create or edit their skin to make them similar to that sample,

https://www.themepunch.com/essgrid-doc/item-skin-editor/
https://theme-one.com/docs/the-grid/#skin_builder

Though, if it’s not post related then you could use those grids with custom source. https://www.youtube.com/watch?v=7uVeminVh3M

Hope these helps :slight_smile:

1 Like

Yes gallery thumbnails @Rad. However, I am also asking how to create this custom tag (Red Box) beside the gallery thumbnail.

Thank you very much

Hello Sutriano,

Thank you for the clarifications.

I have checked your site and I found out that you are using Integrity stack. Tags are part of the post Meta. You can enable it in X > Theme Options > Bog > Content. It is actually displayed at the bottom of the post content as shown here:

If you want to customize the display of the tags, then since what you are trying to accomplish requires a template customization, we would highly to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released.

Once you have your child theme active and ready, please follow these steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file

<?php

// =============================================================================
// VIEWS/INTEGRITY/_CONTENT-POST-FOOTER.PHP
// -----------------------------------------------------------------------------
// Standard <footer> output for various posts.
// =============================================================================

?>

<?php if ( has_tag() ) : ?>
  <footer class="entry-footer cf">
    <?php echo get_the_tag_list('<p>Tags: ','/','</p>'); ?>
  </footer>
<?php endif; ?>

3] Save the file named as _content-post-footer.php
4] Upload this file to your server in the child theme’s folder wp-content/themes/x-child/framework/views/integrity.

You will need to create the folder path since it does not exist in your child theme yet.

Hope this helps. Please let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.