You are missing a comma in the arguments for get_template_part
.
Instead of <?php get_template_part( 'news' 'video' ); ?>
it should be <?php get_template_part( 'news','video' ); ?>
Related Posts:
- get_template_part() Not Working in Loop
- Does get_template_part pull data once in a loop?
- How to get_template_part using AJAX?
- Problems with loop
- How to show “teaser” posts on blog / archive pages, otherwise full posts
- Detect if current page is front page within custom query
- Next Posts Prev Posts for Standard post format only
- How do I display an image before the first post of the loop when I’m using get_template_part?
- How do I make a variable available inside partials?
- how to replace get_template_part(‘loop’,’tag’) with explicit styled version?
- display post format text in loop
- Display post formats differently on index.php (loop in function)
- Get_template_part() problem with the_content()
- Problem with Front-Page.php loading recent posts
- How can have a conditional template tag based on the main loop within a secondary loop with new WP_Query(), using get_template_part()
- Video post format, extra content breaks video embed
- How to declare a variable in a loop and make it available in the template file
- Adding a second loop breaks everything
- Return only one post format in index.php [duplicate]
- get_template_part() to render single page Theme
- strange parse error when including a loop template within another template
- Jquery Slider for profile template
- Get excerpt using get_the_excerpt outside a loop
- Should I use loop in the single.php file?
- get_template_part from plugin
- how to upload image using wp_handle_upload
- wp_list_categories: get latest featured_image of category
- WordPress Alphabetical Glossary close div in loop
- How to make multiple Column in archive Page?
- Exclude filter on front page
- category__not_in — anyway to use category name instead of id?
- Filtering posts by multiple taxonomies
- Check if date of post is yesterday
- Exclude first 2 posts with meta_key from loop
- Make a custom loop inside single.php with pagination
- Why do I get `Call to a member function have_posts() on a non-object `? [closed]
- Help with Changing loop.php?
- Adding shortcode closing tag after a loop
- How can I modify the loop from a plugin without wiping out other filters?
- Complex query and posts pagination
- Move sticky posts down in main loop
- Why only one post (and no pagination) on this variation of the loop?
- Loop in Related Posts WordPress
- Conditional query that displays on Woo product attribute pages
- Custom post type appearing within the previous one on archive.php
- How to inject posts from certain category on home page
- Is there any problem if I use get_template_part like this?
- Custom Loop Using Shortcode in Custom Page Template
- Listing subpages title and content and styling the first iteration differently
- Showing sticky posts with get_posts()
- single.php – how to mark current page in the loop
- Cannot retieve the_content() and the_author() – both returning empty strings
- How to order by multiple fields using standard query_posts?
- Get 1 more post in loop
- Pagination not working in category listing [duplicate]
- get_template_part causes 500 error
- Make loop alphabetical
- How to check if a product is purchased within the last 365 days before displaying something
- How do I get my loop.php to properly paginate?
- Hiding a row in the loop if empty
- How to display first post
- Pagination on custom post type on front-page.php
- get_delete_post_link() inside Loop stubbornly returns nothing
- CPT while loop not working
- Comments_template doesn’t work
- Get markup for post without loading into the template
- Where to add offset?
- How to synchronize The Loop with the max post per page?
- How to add a byline to all the pages?
- Displaying member join date on page
- Ascending order has strange effects on wordpress loop
- get post images to link to external sources
- Set depth of pages to fetch
- Trying to get all links in my posts
- Can’t limit posts_per_page in loop
- Slug is changing when I use WP_Query in a metabox of a post
- How to execute a user loop with shortcode
- Custom loop not working in singular.php, working in other pages
- Loop Posts Outside of WordPress Installation
- Strange problem with wp_get_attachment_image_src database (db) query count
- How to include posts from one category, into a separate category of posts?
- how do i make this loop work
- Making a specific page wordpress compatable that is not index
- Can’t print out returned value
- change the_content images for different sizes (Desktop, tablet, mobile)?
- display only parent replies count in index.php
- using the loop on a page
- Home page loop with pagination problem
- WooCommerce custom loop pagination on front page
- Eliminate duplicates in a foreach loop [closed]
- Tag custom loop show posts
- While loop inside another while loop
- I want the first post on my home page to be lengthier than the rest (example included)
- Loop with Custom Post Type Taxonomies and Interstitial Code
- Question about custom plugin
- loop mix my child-category and parent-category
- Fix html inside a for loop [closed]
- Display all posts in a page code for template
- Insert multiple custom components after x-number of posts
- I make sticky post for my archive page for custom post type with ACF field and loop is not working