• 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

laravel controller function parameters

Insert a DIV after the 6th product only once in WooCommerce category archives

How to Install Composer Require doctrine/dbal

How to install LDAP in Docker php-fpm alpine

disable two buttons after clicking another button

Artisan, creating tables in database

woocommerce change position of price

PHP usort() order in case of equality

Laravel 5.2: Unable to locate factory with name [default]

How to set time with DateTime modify?

How can I make good efficent AJAX live forms with just jQuery and

Install mysql client in docker image

"Unable to load dynamic library 'pdo_sqlsrv.so' "Cenos7 PHP7.2.10

Undefined Array Key error when uploading image on php

Timber: Single post pagination does not work (wp_link_pages)

About Contact Privacy policy Terms and conditions