• 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

Updating and Synchronizing Woocommerce Subscriptions to Custom Date

How to loop sql table data inside a html table

unable to load your default controller on Codeigniter

Laravel-fopen: failed to open stream: Permission denied

Adding one microsecond to Datetime object in PHP

How to get multiple values with same key from an array PHP

PHPUnit (Phar) Fatal Error Only When Test Fails

Transform array, set each array element with parent key php

Attempt to read property "view" on null when sending password reset email

How to fix this error : Ask your hosting provider to use PHP 7.2.5 or higher for both HTTP and CLI?

PHP Print to Network Printer

How to change HTML structure inside WP <head>

How to get monthly wise data in laravel

How to get AJAX to post on second page?

How should I get started using PHPUnit as a testing framework for a bunch of functions and classes I have already made?

About Contact Privacy policy Terms and conditions