View difference between Paste ID: CH6KZEUE and 8AxeJQ4D
SHOW: | | - or go back to the newest paste.
1
<?php
2
3
/**
4
 * Portfolio Fullscreen Slider – change post type
5
 */
6
add_filter( 'arts/elementor/rubenz_widget_portfolio_fullscreen_slider/query_args', 'custom_rubenz_widget_portfolio_fullscreen_headings_slider_query_args' );
7
function custom_rubenz_widget_portfolio_fullscreen_headings_slider_query_args( $args ) {
8
  $args = array(
9
    'post_type' => 'page', // page, post, arts_portfolio_item, etc
10
  );
11
12
  return $args;
13
}