Colleen

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Variable Layouts #1453227
    Colleen
    Participant

    Sorry– I kept trying both plugins off and on to see if I could get it to work either way and must’ve forgotten that I was able to get it with the regular (not Plus version) of the plugin.

    I think my alternative way mentioned above will suffice, but I appreciate the time.

    Thanks,
    Colleen

    in reply to: Variable Layouts #1452357
    Colleen
    Participant

    Hi Cliff,

    Apologies for the rather vague post.

    I changed my image widget template (using the “sp_template_image-widget_widget.php” filter) with the following, so as to utilize the image as a background image and break out the title/text of the widget from the image (see attached):

    echo $before_widget;
    echo '<div class="square"></div>';
    if ( ! empty( $title ) ) { echo '<div class="square"><div class="content"><div class="table"><div class="table-cell">'.$before_title . $title . $after_title; }
    if ( ! empty( $description ) ) {
    echo '<div>widget_options['classname'] ) . '-description" &gt;';
    echo wpautop( $description );
    echo '</div>';
    }
    echo '</div></div></div></div>';
    echo $after_widget;

    My end goal was to alternate the code, so if the widget was an even instance, show the background image portion of the code first, THEN the description, and if it was an odd instance of the widget, show the text THEN the image.

    But, I have a feeling it’s a pretty custom request and was just hoping you might point me in the right direction.

    However, I may have found another way to achieve my alternating layout, by coding in a class for even widgets, then targeting the even widgets with specific CSS styles.

    I think I’m set, but if you did have any tips, I wouldn’t turn them down! Thanks to you and the team for all the great products.

    in reply to: Removing /event/ from single event slug #1170381
    Colleen
    Participant

    Thanks Josh,

    It’s weird, because I thought the first function would do the trick too, but what ends up happening (without the second “pre_get_posts” filter) is that /permalink redirects to /event/permalink, so it goes the other way. Strange.

    Thanks for the help; I think I might be out of luck for now, but at least there is a redirect in place. Despite it going the other way, I suppose the good news is that my client’s event pages from their previous site will be routed properly.

    Colleen

    in reply to: Search bar in List View not firing #1168214
    Colleen
    Participant

    After many hours of trial and error, I stumbled on the fact that it was a jquery conflict (as in, jquery wasn’t loading in the right order). I moved it to the footer and problem solved. Phew!

    in reply to: Multisite (two sites) and different domains #1167167
    Colleen
    Participant

    Hey Hunter,

    I’m a dummy and didn’t put the API key in the right site. No WONDER it wasn’t working. I had it in the root site’s settings and not the subsite’s settings. Please disregard my previous post, as I’m all sorted out now. Thanks for the help on creating the API key!

    in reply to: Multisite (two sites) and different domains #1166736
    Colleen
    Participant

    This reply is private.

    in reply to: Multisite (two sites) and different domains #1166733
    Colleen
    Participant

    Thanks Hunter,

    I went ahead and created the API key as outlined in the link you sent, but unfortunately the problem is still persisting. It seem strange that the maps loads fine on my root domain but not my mapped (subsite) domain (maybe it’s not weird, but this is a bit outside my wheelhouse so I have no idea).

    The subsite loads the map for about a second and it’s got the proper geolocation, then goes away and is replaced with the the error message.

    Does it take a while for the API to kick in, even after saving it through the Event Calendar settings?

    I’ll send the links via PM, and maybe that will help?

    Thanks for any direction you can provide,
    Colleen

    in reply to: Change Event Categories title in WP admin #1139706
    Colleen
    Participant

    Hi Nico,

    So sorry for the confusion on my end– I completely goofed. The solution DOES work; I just didn’t have the pro version active on my test site. I was only using the free version of The Events Calendar. I activated the pro version and it worked like a charm!

    Thanks again for all of your help with this one,
    Colleen

    in reply to: Change Event Categories title in WP admin #1138879
    Colleen
    Participant

    Shoot! That didn’t seem to do it. I have the snippet in my theme’s function.php file and I changed out %s Taxonomy to just test but no luck on changing the title of the meta box.

    Colleen

    • This reply was modified 7 years, 8 months ago by Colleen.
    in reply to: Change Event Categories title in WP admin #1138091
    Colleen
    Participant

    Hi Nico,

    Thanks for getting back to me! I am looking for just a back-end change only, not the every instance. Any direction you can provide would be awesome. Thanks so much!

    Colleen

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