• Resolved gyhmarlok

    (@gyhmarlok)


    Hello, I have created a number of categories and sub categories for them separately. How can I customize the view so that when a user opens the first category, the sub categories will appear immediately first? Now it prints all the videos in the main category and below them at the bottom of the page prints Sub Categories. How I can change the location of Sub Categories to the top? And can the Sub Categories heater be changed or deleted?

Viewing 1 replies (of 1 total)
  • Plugin Contributor wpvideogallery

    (@wpvideogallery)

    Sorry, there is not any setting available at the moment to swap the subcategories and videos position. But, still this is possible by editing our source code.

    1. Open /wp-content/plugins/all-in-one-vidoe-gallery/public/videos.php

    2. Locate the function named “run_shortcode_category”.

    3. Find the lines below,

    $content .= $videos;
    $content .= $sub_categories;

    4. Change them as,

    $content .= $sub_categories;
    $content .= $videos;

    5. Save the changes and check now.

    To change the subcategories header, you must edit the following line inside the same function,

    $_attributes[] = 'title="' . __( 'Sub Categories', 'all-in-one-video-gallery' ) . '"';

    Hope this solved your issue!

    But, your changes will be removed when you upgrade to our future versions. I have taken note of this now. So, we will have an option for this in the future. Please be patient.

Viewing 1 replies (of 1 total)
  • The topic ‘Categories’ is closed to new replies.