• 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

Edit XML in HTML form and submit to self

Composer fails with kylekatarnls/update-helper on new homestead

How to edit Records using CodeIgniter

Change the alert text on add to cart action without selected variation in Woocommerce

Laravel 8 factory state afterCreating

How to increase the PHP upload limits [duplicate]

Composer Curl error 60: SSL certificate problem: unable to get local issuer certificate

How to loop a tree array with unknown depth and get array blocks?

protect my blog content

Doctrine ORM: Excluding Records Based on Values of Nested Relationships

PHP error: "The zip extension and unzip command are both missing, skipping."

Symfony 4: how to allow dynamic values for array nodes in bundle configuration?

PHP echo values of all sub keys [duplicate]

How to KeyBy where multiple items have the same key

How to put php code inside opening and closing shortcodes

About Contact Privacy policy Terms and conditions