Okay
  Public Ticket #3582407
Display only selected CD on a parallex page
Closed

Comments

  • Lenka started the conversation

    Hi, I am developing a website using your theme. 

    I would like to display only selected albums on the parallex page. The albums will have category "leader".

    I have created a custom page (archive-album.php) in my child theme and I wanted to add the following to your original code. 

    'tax_query' => array( array( 'taxonomy' => "playlist-category", 'field' => "slug", 'terms' => "leader" ), )

    However, it doesn't seem to work. Is there a way to filter albums and display albums the ones with a specific category?

    Attached files:  Screenshot 2024-02-11 at 23.34.33.png
      Screenshot 2024-02-11 at 23.41.25.png

  •  665
    Alexandre replied

    Hi Lenka,
    You can use the native archive category playlist URL, something like http://lubos.local/playlist-category/leader.
    Creating a new playlist archive template is a bit beyond the scope of our support, but I recommend you take a look at the taxonomy-album-category.php; maybe you will see what you are doing wrong.

    Thanks,


    Alexandre from the Sonaar.io Crew