Shortcode API    | Codex, how to program SC's



• https://codex.wordpress.org/Shortcode_API • https://wordpress.stackexchange.com/questions/213768/featured-image-shortcode • /wp-admin/edit.php?s&post_status=all&post_type=shortcoder • /wp-admin/admin.php?page=xyz-wp-insert-code-snippet-manage • /wpbb-shortcodes/ • /wp-admin/admin.php?page=whws-user-meta-panel/ -› WHWS Display User Meta Shortcodes, expamples: whwsmeta meta=”first_name” “role” “account_status” : |  |  |
How do I enable post thumbnails on my theme? • https://aaha.co/toys/wordpress-post-featured-image-shortcode/ The code you have to add is: if (function_exists(‘add_theme_support’)) { add_theme_support(‘post-thumbnails’); set_post_thumbnail_size(50, 50, true); //Sets the default image to 50x50px and crops it add_image_size(‘post-hero’, 590, 150, true); //Adds the large style images } To add the second custom sized image to the post, I use [ post_thumbnail size=”post-hero” ]. -› Currently installed in functions.php | Not used. // INSERT THE FEATURED IMAGE BY SHORTCODE https://wordpress.stackexchange.com/questions/213768/featured-image-shortcode add_shortcode(‘thumbnail’,’thumbnail_in_content’); function thumbnail_in_content( $atts ) { global $post; return get_the_post_thumbnail( $post->ID ); }in progress

Acf_post_content