Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Portfolio Category Archive Sorting #372344

    Elliot,

    I think I’ve figured it out:

    I changed to code you have me from:

    add_filter( 'pre_get_posts', 'angular_customization_portfolio_order' );
    function angular_customization_portfolio_order( $q ) {
    	if ( $q->query_vars['post_type'] == 'portfolio' ) {
    		$q->set('order', 'DESC');
    		$q->set('orderby', 'modified');
    	}
    }

    to:

    add_filter( 'pre_get_posts', 'angular_customization_portfolio_order' );
    function angular_customization_portfolio_order( $q ) {
    	if ( $q->is_archive ) {
    		$q->set('order', 'DESC');
    		$q->set('orderby', 'modified');
    	}
    }

    Thanks for all of you help, Elliot–I appreciate it! Happy Holidays!

    Regards,
    Scott

    in reply to: Portfolio Category Archive Sorting #372335

    Elliot,

    I’ve updated to 4.1 and still no change. I added a column in admin to display the date modified for portfolio items and on the “Portfolio Items” admin page, the items are displaying in the correct order, but the changes aren’t extending to the taxonomy/archive pages.

    Is there any additional information I can supply you with that might help figure this out?

    Regards,
    Scott

    in reply to: Portfolio Category Archive Sorting #372278

    Elliot,

    I’m testing on a local copy in MAMP. I loaded a fresh instance of Enfold, updated it to the most current version (3.04), and disabled all plugins. It still isn’t having any effect.

    Should I be updated to WordPress 4.1 (I’m running 4.01)? I’ve been holding been holding off until the plugins I’m using are verified to work.

    Does it present a problem if the portfolio categories that are being used for the archives have subcategories? In most instances, there are two layers of subcategories, as below:

    Portfolio Category A
    -> Subcategory A
    -> Sub-subcategory A
    -> Sub-subcategory B
    -> Subcategory B
    -> Sub-subcategory A
    -> Sub-subcategory B
    Portfolio Category B
    -> Subcategory A
    -> Sub-subcategory A
    -> Sub-subcategory B
    -> Subcategory B
    -> Sub-subcategory A
    -> Sub-subcategory B

    Thanks for all the help!

    Regards,
    Scott

    in reply to: Portfolio Category Archive Sorting #372230

    Hi Elliot,

    I added your code to the bottom of the child theme’s functions.php file and it’s still a no go. I’d already changed those items in the $atts array and in archive.php and taxonomy-portfolio-categories to ‘DESC’ and ‘modified’, with no effect. I’ve been playing around with it a little more, and it seems like none of the orderby parameters are having any effect on the order in which the portfolio entries are being displayed. Is it possible that there’s a default setting being implemented somewhere else that’s preventing changes to the arrays in archive.php and taxonomy-portfolio-categories.php from taking effect?

    Regards,
    Scott

    in reply to: Portfolio Category Archive Sorting #371928

    Manual re-ordering works, but automatic order does not. I’m trying to have it re-order automatically. Is this just not possible to achieve through enfold’s theme files?

    in reply to: Portfolio Category Archive Sorting #371734

    It looks like the post that’s referenced is the for the Angular theme, and not Enfold.

    in reply to: Portfolio Category Archive Sorting #371711

    Hi Andy,

    I just went into my theme folder, and the loop file that is referenced in the post your linked me to doesn’t exist. loop-portfolio-single.php is the closest thing I see, but the lines of code mentioned in the linked post aren’t there.

    in reply to: Cannot Delete Slides in Layerslider #331178

    Some additional information that might or might not be helpful in diagnosing the issue: I’m using a child theme.

    Also, as a follow-up question: is it normal that IDs for new Layersliders seem to be taking the IDs of deleted Layersliders into account? For example:

    The sample Laysliders that were included have IDs 1 and 2, I kept these to use for reference. I created a number of new Layersliders to get a feel for how to use the plugin and then deleted them, as they either weren’t working as I wanted or because opted not to use them (they used IDs 3 through 8). The ID for the first Layerslider I decided to keep is 9. I’ve deleted a few other Laysliders since then, and the numbering for new IDs continues jumping, taking the deleted Layersliders into account as new IDs are created.

    Is the normal behavior, or is it indicative of a problem? Thanks again!

    Scott

    in reply to: Mega Menu options not visible #325349

    Hi Josue,

    Thank you for your reply, and for including the video. I’d actually already figured out how to enable the Mega Menus.

    I was under the impression that I would be able to access an additional settings panel under the Dashboard’s “Appearance” tab–that a full-featured menu customization plugin was baked into Enfold. Something along the lines of Mega Main Menu or UberMenu. Was incorrect in that assumption?

    I’m trying to figure out if there are further menu settings built into Enfold (that are just hiding somewhere) or if I need to purchase a plugin for any customization beyond what’s shown in the video you provided.

    Thanks again!

Viewing 9 posts - 1 through 9 (of 9 total)