WordPress.org

Ready to get started?Download WordPress

Forums

WP Parallax Content Slider
Page slides not showing (2 posts)

  1. Mihail Semjonov
    Member
    Posted 1 year ago #

    Hi there
    I was making slideshow with your plugin and didn't found the solution for page slide (not post or custom post). They just didn't showed up.. I wanted to some of theme just show..
    so I made some changes and now when i add to page custom field
    key = "slider"
    value = true
    Then it show's that page..
    I'll paste changed rows, so you could compare them, starts from 207

    if($prlx_slider_content_type != 'page') {
                $args = array( 'post_type' => $typ, // If you wan't to choose custom types, you can set your own array here (eg. $typ = array('jobs'); )
    					   'orderby' => $prlx_sort,
    					   'order' => $prlx_order,
    					   'numberposts' =>  $prlx_slider_nb_articles,
    					   'cat' => $cat,
    					   'suppress_filters'=>0 ); // Added for WPML support
                $myposts = get_posts( $args );
            } else {
                $args = new WP_Query(array(
                    'post_type' => $typ, // If you wan't to choose custom types, you can set your own array here (eg. $typ = array('jobs'); )
                    'orderby' => $prlx_sort,
                    'order' => $prlx_order,
                    'numberposts' =>  $prlx_slider_nb_articles,
                    'meta_key' => 'slider',
                    'suppress_filters'=>0 ));
    
               $myposts = $args->posts;
            }

    Plese thing about adding custom field to page or post or whatewer so i could select page as featured and it will display in slideshow.
    If you already made that than how to find it ? where to change what i should output ?

    http://wordpress.org/extend/plugins/wp-parallax-content-slider/

  2. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    for a future release, I'm adding a new CPT called parallax_slide.
    You'll be able to create your slides via wordpress admin. It's still under developement. I've planned to release it in two weeks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.