WordPress.org

Forums

All-in-One Event Calendar
[resolved] Change content of subscription button (4 posts)

  1. Maraki
    Member
    Posted 2 years ago #

    Working on the file: class-ai1ec-exporter-helper.php

    $content = apply_filters( 'the_content', $event->post->post_content );
    $content = str_replace(']]>', ']]>', $content);

    I would like the content to just be the URL pointing to the single-view event.

    How can i do this?

    thanks,
    Andy

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

  2. Ula Szczepaniak
    Member
    Posted 2 years ago #

    @neodjandre,

    Please try with this code.

    $content = apply_filters( 'the_content', get_permalink( $event->post_id ) );
    $content = str_replace(']]>', ']]>', $content);

    Is this the answer you are looking for?
    Regards
    Ula

  3. Maraki
    Member
    Posted 2 years ago #

    yes that should be what i am looking for.. thanks, will give it a go.

  4. Richard
    Member
    Posted 2 years ago #

    @neodjandre: That is great to hear. Do not hesitate to let us know if you require anything else.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All-in-One Event Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic