• 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

jQuery Ajax Post with data

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

Pagekite error: FAIL: localhost:8080 is down

Phpunit partial mock + proxy Entity

PHP mail sending empty mails

How to override header set in Apache config with more specific header in a virtual host

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

Cannot connect to own websocket server when on secured domain

Best way to scrolldown onpageload

Shopify password update using Shopify API

How to add automatically collapse/expand in content wordpress (single.php)?

Laravel Pagination links() not working

Submitting a form with ajax in Wordpress

Remove categories with all childs derived from parent category

Laravel Nova, route not found

About Contact Privacy policy Terms and conditions