Widget PHP code isn’t working

So I have a custom post type, and a php code widget that is connect to said post type and updates every time there is a new post in that type, but it’s supposed to redirect when the display on the site is clicked on to the link in the simple redirect section of the custom post type, however it hasn’t been working the past few weeks. It looks like so:

‘print_issue’, ‘post_count’ => 1 ) );

$query->the_post();

printf(‘

‘, get_field(‘link’), get_the_post_thumbnail_url() );

wp_reset_query();

?>

Any ideas?

Read more here:: Widget PHP code isn’t working

Leave a Reply

Your email address will not be published. Required fields are marked *