<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Advanced Coding]]></title><description><![CDATA[Share & discuss custom code, and Oncord's APIs.]]></description><link>https://community.oncord.com/category/3</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 22:58:08 GMT</lastBuildDate><atom:link href="https://community.oncord.com/category/3.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Aug 2024 01:05:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Post category titles and posts display logic]]></title><description><![CDATA[@Ben
We currently have a tutorial on how to list post-category values. You can check it out here:
Show Categories for a Post
This guide will show you how to display all the categories associated with a post. If you only want to display the primary category, you can use the following code:
\Components\Website\Posts\Categories::getColumn($post['post_category_id'], 'post_category_title')

To check if there are posts in a category, you can use this code:

&lt;logic:if test="$post"&gt;
     &lt;p&gt;West End:&lt;/p&gt; 
     &lt;data:postrepeater paging="true" pagingrows="6" templatetype="list" postcategory="3" /&gt;
&lt;/logic:if&gt;```
]]></description><link>https://community.oncord.com/topic/24/post-category-titles-and-posts-display-logic</link><guid isPermaLink="true">https://community.oncord.com/topic/24/post-category-titles-and-posts-display-logic</guid><dc:creator><![CDATA[kimguevarra]]></dc:creator><pubDate>Fri, 02 Aug 2024 01:05:58 GMT</pubDate></item><item><title><![CDATA[Posts not flexing after minor code edit]]></title><description><![CDATA[@kimguevarra Yep, that was it. One little word in the CSS! Thanks for the advice!
]]></description><link>https://community.oncord.com/topic/23/posts-not-flexing-after-minor-code-edit</link><guid isPermaLink="true">https://community.oncord.com/topic/23/posts-not-flexing-after-minor-code-edit</guid><dc:creator><![CDATA[Ben]]></dc:creator><pubDate>Mon, 22 Jul 2024 05:11:53 GMT</pubDate></item><item><title><![CDATA[Cascading masonry gallery styling]]></title><description><![CDATA[Thanks Scott ... your answer would help explain the lack of straightforward solutions out there on the web!
Glad to hear you're looking at implementing it once the standards are established. 
]]></description><link>https://community.oncord.com/topic/18/cascading-masonry-gallery-styling</link><guid isPermaLink="true">https://community.oncord.com/topic/18/cascading-masonry-gallery-styling</guid><dc:creator><![CDATA[Ben]]></dc:creator><pubDate>Thu, 23 May 2024 02:04:01 GMT</pubDate></item><item><title><![CDATA[Under construction settings/code]]></title><description><![CDATA[@StephenBlignault Thank you for your detailed response; that certainly looks like the type of solution I was after. Hadn't thought of using two design templates, but that makes perfect sense. Appreciate the insight and code!
]]></description><link>https://community.oncord.com/topic/9/under-construction-settings-code</link><guid isPermaLink="true">https://community.oncord.com/topic/9/under-construction-settings-code</guid><dc:creator><![CDATA[Ben]]></dc:creator><pubDate>Wed, 10 Apr 2024 05:50:25 GMT</pubDate></item></channel></rss>