• 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

Limit login attempts in Laravel 5.7

PHP: Convert any string to UTF-8 without knowing the original character set, or at least try

PHP Print to Network Printer

How to redirect to another page and call a Function there on Angular ng-click

wordpress : How to specify the cause "This site can’t be reached"

loop through an anchor id

Phpunit partial mock + proxy Entity

Create a zip file and download it

Adding custom body class to the custom archive pages

Cannot pass null argument when using type hinting

CodeIgniter extend CI_URI undefined method

(Cache::lock()) -> get() -- Under what conditions does it return false?

hidden INPUT value not available in $_POST

"There is no active transaction" when refreshing database in Laravel 8.0 test

Attempted to call an undefined method named "get" of class "MailController"

About Contact Privacy policy Terms and conditions