Support » Plugin: The Events Calendar » Widget Entry-title summary editing

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Karissa Skirmont

    (@karissa)

    So in {theme}\tribe-events\views\widgets\list-widget.php I ended up just changing

    ?>

    <li class=”tribe-events-list-widget-events”>
    <h4 class=”entry-title summary”>
    ” rel=”bookmark”><?php the_title(); ?>
    </h4>

    to be the h3 class:

    ?>

    <li class=”tribe-events-list-widget-events”>
    <h3 class=”entry-title summary”>
    ” rel=”bookmark”><?php the_title(); ?>
    </h3>

    Not sure it if that was the best way or how it would affect other themes (this is a multisite install) since this is the only one I’m using it on right now.

    Karissa, if you let us know what specifically you’d like the title to look like and move the list-widget.php that you created, maybe we can work this out in CSS overrides.

    Thread Starter Karissa Skirmont

    (@karissa)

    Ok so after the last update (and every update) I have to go in and change it and its starting to get frustrating.

    The reason it shouldn’t be h4 is that’s what the headers of the sidebar should be.

    Look on http://nsdgloria.com/area/ sidemenu “Upcoming Events” I have a background treatment for the h4 and now every event title is the same.

    I fixed it now but here was screenshots comparing it:

    View post on imgur.com

    Thread Starter Karissa Skirmont

    (@karissa)

    This has not been resolved! I just had to go in a fix it again and it’s very frustrating!

    Brook

    (@brook-tribe)

    Howdy Karissa,

    If you copied list-widget.php to {theme}\tribe-events\views\widgets\list-widget.php and made your changes to the copied file, not the original, then it should not be getting overriden by any updates to WordPress nor The Events Calendar. Please confirm that your theme override is working, may be test it out by adding a line like “hello” inside.

    Check out our themers guide if you have not already, lots of details there: http://tri.be/support/documentation/events-calendar-themers-guide/

    – Brook

    Plugin Contributor leahkoerper

    (@leahkoerper)

    It’s been a month, so in accordance with our forum guidelines I’m marking this thread resolved. Thanks for your support!

    ~Leah

    Thread Starter Karissa Skirmont

    (@karissa)

    Hmm WP didn’t notify me that there was a reply.

    I just had to update this again.

    Yes I have put it in that location as well but it doesn’t change anything.

    Brook

    (@brook-tribe)

    Sorry you did not get notified. That’s frustrating.

    Assuming you were able to get the “hello” to show up, you should be able to then change the title. The change you want does not require making a modification to the plugin at all, and so it will be kept between updates it done as per the themer’s guide.

    On the other hand, if you are losing the change when you update your theme that makes sense. You can fix this by switching over to a WP Child Theme: http://codex.wordpress.org/Child_Themes That is teh WP way of allowing you to keep theme changes even when you update the base theme.

    I understand your frustration here. But, from the sound of it your theme is not quite designed the standard WP way. WP makes no assumptions about the element itself that wraps the side bar title. It could be an <h4>, a <header>, or an <h1> as in the WP Example Theme. But they all share the “widget-title” CSS class. So, if your theme is styling all <h4>s, then either its CSS will need updating or you will need a theme override for our plugin and any other plugin that conflicts. Both things are possible via a child theme.

    I hope you can get this resolved. Cheers!

    – Brook

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Widget Entry-title summary editing’ is closed to new replies.