Skip to content
IT Nursery
  • Home
  • Programming
    • PHP
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress

post-formats

Exclude Post Format from next_post and prev_post

by IT Nursery

Is there a way to exclude a specific Post Format from next_post and prev_post? I want my asides to show up in the … Read more

Tags navigation, post-formats

Hide meta box based on post format

by IT Nursery

I’m currently using a version of this function – post formats – how to switch meta boxes when changing format? which hides all … Read more

Tags metabox, post-formats

Strip shortcode from specific post types (formats)

by IT Nursery

I am trying to remove the shortcode from a specific post type, in this case link. I used this code on my functions.php … Read more

Tags custom-post-types, post-formats, Shortcode

Displaying all Video Post Formats to Page

by IT Nursery

I am creating a video-archive page for all the posts_format with video. Currently, I have: <?php $format = has_post_format(‘video’, $post_id); ?> <?php if($layout … Read more

Tags post-formats, template-hierarchy, videos

Filter the first from Quote Post Format

by IT Nursery

I want to get the first blockquote from the post (even if the user writes only one, or more than one) in the … Read more

Tags post-formats

How to generate a featured image from a video embeded in a metabox

by IT Nursery

I have a metabox that allows me to add videos from Youtube and Vimeo on posts with video post format. I am now … Read more

Tags metabox, post-formats, post-thumbnails, videos

How does WP detect format type (and can I make use of this)?

by IT Nursery

When I make a post with a theme that supports (all) post formats, WordPress will suggest the format type it thinks best fits … Read more

Tags core, php, post-formats

How to change post format from Aside to Image for all posts?

by IT Nursery

I have a blog where all the posts had the post format Image. This morning I see that somehow they have all been … Read more

Tags MySQL, post-formats

How can I achieve something like has_post_format( ‘standard’ )?

by IT Nursery

In opposite to get_post_format, the conditional has_post_format() function returns a boolean value and should be the perfect function for a conditional check like: … Read more

Tags conditional-tags, post-formats

How to create an archive for all posts that do not have a post format?

by IT Nursery

The title says it all. I need working pagination, correct post count etc. Basically a new page for posts but with a filter … Read more

Tags homepage, post-formats, pre-get-posts
Post navigation
Older posts
Page1 Page2 … Page5 Next →

Important Tag

.net admin ajax android arrays bash c categories comments CSS custom-field custom-post-types custom-taxonomy customization database filters functions git hooks HTML images ios java javascript jQuery menus multisite MySQL node.js permalinks php plugin-development plugins posts python Shortcode sql string theme-development themes uploads users woocommerce-offtopic wp-admin wp-query

Recent Posts

  • INSTALL_FAILED_DUPLICATE_PERMISSION… C2D_MESSAGE
  • How to sort by meta value?
  • WPF text Wrap vs WrapWithOverflow
  • How to retrieve the list of all posts ever published via the feed?
  • how to use javascript Object.defineProperty

android c categories CSS custom-post-types custom-taxonomy customization database functions git HTML images java javascript jQuery multisite MySQL php plugin-development plugins posts python string theme-development wp-query

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Content from: Stack Exchange

Important Link

  • About
  • Privacy Policy

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery