This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

nice names for post loops

8 years ago · Last reply by Andrew Misplon 8 years ago

I am trying to use the post loop widget to build some pages. I think it would work fantastic. One issue I have is with the naming convention. loop-content.php would show up in the post loop dropdown option as loop-content.php. Is there a way to give it a nice name so it could say “Single Project” instead of “loop-content.php”?

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Andrew Misplon Staff 8 years, 5 months ago

    Hi ThemeBuddies

    Thanks for reaching out.

    Check this out to remove all the partial’s you don’t want in there: https://github.com/siteorigin/siteorigin-unwind/blob/develop/inc/siteorigin-panels.php#L31-L59.

    And then check this out to get a readable name: https://github.com/siteorigin/siteorigin-unwind/blob/develop/loops/loop-blog-default.php#L3

    Hope that helps :)

  2. ThemeBuddies 8 years, 5 months ago

    Thank you Andrew. Works great

  3. Andrew Misplon Staff 8 years, 5 months ago

    Super, glad to hear that helped. All the best with your upcoming projects.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread