Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I just updated to 4.1.4 at https://fiddlersmusicbar.com/livemusic/. The default view is list and it used to display body text or excerpts in the list view. As of this morning, it no longer does that. All it has now is the event info and the Find Out More link. How do I restore this to show body/excerpt text and featured image please?

    I’m using a plug-in called Improved Include Page to bring in data from a Page and it’s the combination of that and the udpate to the Events Calendar plugin that’s caused the breakage.

    Failing that, is there a way to roll back to a previous version of the Events Calendar plugin?

    Thread Starter camuel

    (@camuel)

    It worked! Thank you, thank you, thank you!

    Thread Starter camuel

    (@camuel)

    Thanks momnt. Can you tell me what the Custom Post Type name is? I’ve to replace “product” by your Custom Post Type name.

    Thread Starter camuel

    (@camuel)

    Here’s number 2 from the web page linked to above:

    You can add Markdown support when registering the post type, like so:

    // Register Custom Post Type
    function custom_post_type() {

    $labels = array(
    ‘name’ => _x( ‘Products’, ‘Post Type General Name’, ‘text_domain’ ),
    );
    $args = array(
    ‘label’ => __( ‘product’, ‘text_domain’ ),
    ‘supports’ => array( ‘title’, ‘editor’, ‘publicize’, ‘wpcom-markdown’ ),
    );
    register_post_type( ‘product’, $args );

    }
    // Hook into the ‘init’ action
    add_action( ‘init’, ‘custom_post_type’, 0 );

    Thread Starter camuel

    (@camuel)

    Just looking through this and I’m getting a bit out of my depth…

    There are 2 options to add Markdown support to a specific Custom Post Type on your site:

    You can add Markdown support to an existing post type thanks to the add_post_type_support() function. To do so, add the following code to a functionality plugin:
    add_action(‘init’, ‘my_custom_init’);
    function my_custom_init() {
    add_post_type_support( ‘product’, ‘wpcom-markdown’ );
    }
    You’ll need to replace “product” by your Custom Post Type name.

    Where would I add this code? Would I have to edit the code of the Events Calendar plugin? If so, can someone talk me through this please?

    Thank you

    Thread Starter camuel

    (@camuel)

    Interesting Geoff. Thank you for the pointer. I just Googled that and found a post with instructions:

    https://jetpack.me/support/markdown/

    It says:

    You’ll need to replace “product” by your Custom Post Type name.

    So what would the ‘Custom Post Type’ name be for the Events Calendar custom posts?

    We’re getting closer!

    Thread Starter camuel

    (@camuel)

    Thanks for getting back to me Brook. I’m afraid the link you sent doesn’t contain a solution. I just posted a new Event and you can see that the Markdown hyperlinks aren’t working at all…

    https://camsmusic.net/live/fiddlers-ncw-1/

    It’s fine on pages and posts, just not events. Any ideas?

    Thread Starter camuel

    (@camuel)

    Never mind, I found a support link that explained it and now it’s working. Look before you leap, young Jedi.

    https://codex.www.ads-software.com/Changing_The_Site_URL

Viewing 8 replies - 1 through 8 (of 8 total)