• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Wordpress how to get the post thumbnail inside a figure tag

phpwordpresswordpress-themingthumbnailscustom-wordpress-pages


PHP Snippet 1:

<figure class="post_thumbnail">
    <?php if(has_post_thumbnail()) { echo the_post_thumbnail('full'); }; ?>
</figure>

Related Snippets

Must be of the type array, null given,

Laravel get user data with profile

Wordpress 'post_type_link' hides permalink

PHP: Insert marker every 3 iterations

Composer fails with kylekatarnls/update-helper on new homestead

How in Laravel run JavaScript code stored in php variable?

IlluminateDatabaseQueryException could not find driver [duplicate]

Why i get wrong output for html markdown?

Adding custom body class to the custom archive pages

Prestashop webservice API creating cart rules

Last order would be re-order in wooCommerce. How is it possible?

advanced custom fields wordpress custom class

Cache clear probem in Larave

JQuery content editable div and text box on submit not sending POST

Xdebug in Laravel is not working with VSCode

About Contact Privacy policy Terms and conditions