Event archive display issue - Words joined together

Hello,

This is how the events text displays in archive pages:

View eventOn August 15, 2012 from 7:00 pm to 8:00 pm55 South Town Centre Blvd. Unit 1110, Markham, Ontario, L6G 0B1CAD 11.30

The actual text for the event is:

This Satsang begins with a few minutes of silence; to quieten the...

How can I get the plugin to display the real preview or...

If it *must* show the date and time, how do I get it to fix the formatting?

1. Remove the words "View eventOn"

2. Properly parse the data it pulls from the database, so instead of displaying words joined together like this:

"...8:00 pm55..." and "... 0B1CAD..." (even "...eventOn...")

3. How to remove "CAD" before the cost and place a $ symbol instead

4. How can I get the plugin to show nice (smooth) icons?

Again to anyone that can help... Thank you! :slight_smile:

  • Roger

    Thanks Timothy,

    I changed the currency, but it's displaying as CAD - The site is still under wraps, but of the people that have looked at it (about a dozen or so), they have all said "what is CAD?" or "CAD 11.30, what's that?"

    Instead is should not display CAD, is should display the currency symbol (like $)

    So instead of CAD 11.30 it should display $11.30

    The icons are already displayed by Events+ I'd like to remove them and display instead:

    Date:
    Address:
    Cost:

    No icons.

    Finally, everything else displays okay, it looks like the plugin itself is calling the content from the database and parsing the words together, then displaying them. This happens in the events archive only.

    So...

    7:00 pm to 8:00 pm
    55 South Town Centre Blvd

    becomes

    7:00 pm to 8:00 pm55 South Town Centre Blvd

    and

    August 15, 2012 from 7:00 pm to 8:00 pm

    becomes

    View eventOn August 15, 2012 from 7:00 pm to 8:00 pm

    See how it's joining words together?

    See how it adding words? (View event On) should not display all WP posts make title the link and there's already a read more button.

    The words being parsed together only happens in the Events Archive.

    Thanks for helping!! :slight_smile:

  • Timothy Bowers

    Hey there.

    I do rather like the Alyeska theme. :slight_smile:

    Anyway, a CSS addition:

    input[type="submit"]{
    margin-right: 5px !important;
    }

    That sorts the buttons looking like they are having a group hug. :slight_smile:

    Now the other issue is because your theme is pulling the excerpt and not the content. There is a way around this in your custom functions.php file:

    function themeblvd_blog_content_default( $type ) {
    	if( $type == 'content' ) {
    		// Show full content
    		the_content( themeblvd_get_local('read_more').' →' );
    	} else if( 'incsub_event' == get_post_type() ) {
    		the_content( themeblvd_get_local('read_more').' →' );
    	} else {
    		// Show excerpt and read more button
    		the_excerpt();
    		echo '<div class="clear"></div>';
    		echo themeblvd_button( themeblvd_get_local( 'read_more' ), get_permalink( get_the_ID() ), 'default', '_self', 'small', 'read-more', get_the_title( get_the_ID() )  );
    	}
    }

    Its just how the content was pulled, with this function we check the post type and then the_content() rather than the_excerpt()

    I made the additions for you :slight_smile:

    Please check.

  • Timothy Bowers

    It doesn't really matter but I changed the function to do this instead:

    function themeblvd_blog_content_default( $type ) {
    	if( $type == 'content' || 'incsub_event' == get_post_type() ) {
    		// Show full content
    		the_content( themeblvd_get_local('read_more').' &rarr;' );
    	} else {
    		// Show excerpt and read more button
    		the_excerpt();
    		echo '<div class="clear"></div>';
    		echo themeblvd_button( themeblvd_get_local( 'read_more' ), get_permalink( get_the_ID() ), 'default', '_self', 'small', 'read-more', get_the_title( get_the_ID() )  );
    	}
    }

    Its the same really just a little tidier. :slight_smile:

    Take care.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.