Tag Info

New answers tagged

0

pre_get_posts alters all queries, back-end and front-end, new instances of WP_Query and the default main query. You should use pre_get_posts in conjunction with the conditional tags. The most important conditional tags here are: is_main_query() -> This is used to target the main query only, excludes all custom instances of WP_Query is_admin() -> Very ...


1

If you're trying to hide a post-format on one particular page, then the function below should work. <?php // Exclude post-format from one particular page function exclude_campaigns( $query ) { // is_page() allows for page ID, page title or page slug if( $query->is_main_query() && $query->is_page( INSERT_PAGE_ID_HERE ) ) { ...


0

You can make a custom field. You can utilize a plugin to doing it yourself in your theme. As for the using the <span>, it will not impact your SEO in any noticeable way. Options Advanced Custom Fields is a popular plugin for creating custom fields with a simple API for accessing the values. Create a custom metabox (what WordPress calls the boxes on ...


0

WordPress oEmbed uses Twitter cards which should be at least as and possibly more SEO friendly than Storify.


0

Use Storify to collect groups of related tweets and other content, then embed the groups on your blog.


1

You have a couple of conflicting arguments here, but what you want to do is completely possible. To keep something out of the RSS feeds, and considering it really is a different type of content from your blog posts, I'd recommend a custom post type called "Links" or something. The custom post type will have its own archive and RSS feed, separate from your ...



Top 50 recent answers are included