WordPress.org

Forums

[resolved] Gigpress: Show Date and Venue only in sidebar (3 posts)

  1. therealdamo
    Member
    Posted 4 years ago #

    Hi

    I'd like to display only the date and venue in my Gigpress sidebar widget but City is a required field in Gigpress

    Can anyone help me overide this? (I don't mind having to fill in the field, I just don't want it displaying)

    Thanks

    Damien

  2. mrherbivore
    Member
    Posted 4 years ago #

    Hey Damien, you'll have to either hide it using some CSS, or customize the sidebar template directly to remove it.

    More info can be found in the documentation.

  3. therealdamo
    Member
    Posted 4 years ago #

    Thanks for the speedy reply!

    Sorted it by customizing the sidebar-list.php file.

    Taking out:

    <span class="gigpress-sidebar-city"><?php echo $showdata['city']; ?></span>
    </span>
    <span class="gigpress-sidebar-prep"><?php _e("at", "gigpress"); ?></span>

    [Please post code snippets between backticks or use the code button.]

    Thanks again!

    Damien

Topic Closed

This topic has been closed to new replies.

About this Topic