• 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

google content api for shopping

PHP Discord OAUTH2 code sample not working

How to disable widget block editor of WordPress?

Set quantity minimum, maximum and step at product level in Woocommerce

Results page in other window

Adding hreflang tags automatically in WordPress subdirectory multisite

wp_remote_get() not passing authentication

Get keys from associative array [duplicate]

Symfony redirect if already loggedin from login page

Yii2 select2 database exception number of bound variables does not match number of tokens

Add rows to Single product Additional information table in WooCommerce 3.6

PHP returning an error message and false

How can I stop a symfony process which is listening on http://127.0.0.1:8000

How to install php_imagick on wamp64

Laravel database insert with combining array and string

About Contact Privacy policy Terms and conditions