• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

Portfolio Post Order

Home › Community Forums › Ally Theme Support › Portfolio Post Order

Tagged: ally, portfolio page, post order

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 6 months ago by BossLady.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 15, 2013 at 3:52 pm #5868
    BossLady
    Customer

    Hi guys,

    I thought I’d pass this along if anybody needs it.

    I’m using Ally as a catalogue-only site and using the portfolio as the catalogue pages. Each category has its own page (great tutorial, thanks!) but I would like to display them alphabetically. In the page_portfolio.php I located the //Easter Egg under //Add Custom Loop and added ‘orderby’=>’title’, ‘order’=>’ASC’ to the end of $args line. So that line now looks like this:

    $args = array('cat' => $include, 'category__not_in' => $exclude, 'showposts' => genesis_get_option('ally_portfolio_cat_num'), 'paged' => $paged, 'orderby'=>'title', 'order'=>'ASC');
        $query_args = wp_parse_args($cf, $args);

    Crossed my fingers, saved the file, and, lo-and-behold, it worked!

    Hope this is helpful ๐Ÿ™‚

    July 15, 2013 at 9:35 pm #5873
    Eric
    Customer

    Yes this was definitely helpful! Thanks!

    I’ll make sure Wes sees this and tests it. I think he should add this to the tutorial pages if it works out ok. When I get some time I’m going to try this myself.

    Thanks again!


    I create awesome sites for awesome people! Contact me if interested โ€“ ericsanchez1585@gmail.com

    July 15, 2013 at 9:45 pm #5874
    BossLady
    Customer

    Cool! Definitely let me know if you find something “buggy.” Otherwise I’ll wind up in here for support wondering why something is “off.”

    July 16, 2013 at 9:20 pm #5888
    BossLady
    Customer

    Hey, by the way, here’s the site I did it on. Got it live this afternoon, client has quite a few broken internal links to fix. 89 products converted to posts. Yikes. She can handle that part.

    http://butterflyprojectjewelry.org

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now โ†’

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us โ†’

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2023 ยท Appfinite ยท Built With The Genesis Framework