Support

Account

Home Forums General Issues Add a lot of custom fields to the_content Reply To: Add a lot of custom fields to the_content

  • Thank you Dennis!
    But neither works.

    I have still searching and find a thing probably can resolve this.

    First explain some things:

    I used a sports plugin who create a events template, but I need customize this templates and use ACF for this.

    The thing I find was this:

    public function event_content( $content ) {
    		if ( is_singular( 'sp_event' ) )
    			$content = self::add_content( $content, 'event', apply_filters( 'sportspress_event_content_priority', 10 ) );
    		return $content;
    	}

    (link to the rest of code)

    the plugin is loading things on the content, how i can add here my code? is possible?

    I tried to disable this and use only the code of sp-events.php but donĀ“t work.