nice names for post loops
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
3Hi 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 :)
Thank you Andrew. Works great
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.