• Resolved Roelf Keulder

    (@roelfk7)


    Hi @hemant-ahir,

    I saw you posted 9 Months ago about the custom post types not working and you got it working. Can you please help me

    I enabled custom post types in the settings,
    I get the following error: Fatal error: Call to undefined function get_favorites_button() on the frontend

     </div>
       </li>
        <?php echo get_favorites_button($post->ID, $site_id); 
        the_favorites_button($post_id, $site_id)
        ?>
       <li 

    I think I might have a syntax error but I dont know where to look at it asI am a newb to php development in wordpress

    Thanks

  • The topic ‘Not working with custom post types’ is closed to new replies.