<?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[Display category in project page]]></title><description><![CDATA[<p dir="auto">Hey there!</p>
<p dir="auto">I was wondering if there was a way to display the categories of a project in the project's page.</p>
<p dir="auto">Best case scenario would be to give it a specific div so I can style each category.</p>
<p dir="auto">Do you think it would be possible? That could be done with some PHP code right? or should I manually write the project categories for each project? (preferably not hehe)</p>
<p dir="auto">Best,</p>
<p dir="auto">Frank</p>
]]></description><link>https://laythemeforum.com/topic/7684/display-category-in-project-page</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 08:55:14 GMT</lastBuildDate><atom:link href="https://laythemeforum.com/topic/7684.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 25 Feb 2022 13:28:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Display category in project page on Sun, 17 Apr 2022 12:25:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/richard">@<bdi>Richard</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/armin-unruh">@<bdi>Armin-Unruh</bdi></a> ,<br />
Do you think I should write a custom jquery script that translates each number to it's actual category name? and then for each category, display it as a button?</p>
<p dir="auto">Or is there a way easier way that I'm not aware of?<br />
my first obvious solution was to PHP get-category, but I see that it is impossible in Laytheme, right?</p>
]]></description><link>https://laythemeforum.com/post/29273</link><guid isPermaLink="true">https://laythemeforum.com/post/29273</guid><dc:creator><![CDATA[franksvamp]]></dc:creator><pubDate>Sun, 17 Apr 2022 12:25:06 GMT</pubDate></item><item><title><![CDATA[Reply to Display category in project page on Sat, 26 Feb 2022 16:10:15 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/user/richard">@<bdi>Richard</bdi></a> ,</p>
<p dir="auto">indeed I get an array with the "catid" values.</p>
<p dir="auto"><img src="/assets/uploads/files/1645889833598-screen-shot-2022-02-26-at-16.36.10.jpg" alt="Screen Shot 2022-02-26 at 16.36.10.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">However I'm struggling to get the category names out of the id.</p>
]]></description><link>https://laythemeforum.com/post/28647</link><guid isPermaLink="true">https://laythemeforum.com/post/28647</guid><dc:creator><![CDATA[franksvamp]]></dc:creator><pubDate>Sat, 26 Feb 2022 16:10:15 GMT</pubDate></item><item><title><![CDATA[Reply to Display category in project page on Sat, 26 Feb 2022 05:17:59 GMT]]></title><description><![CDATA[<h3>Dear Frank</h3>
<h6><a class="plugin-mentions-user plugin-mentions-a" href="/user/franksvamp">@<bdi>franksvamp</bdi></a></h6>
<p dir="auto">Sorry that i cant go deeper into custom coding at the moment but in my opinion this would be best ( i'm not always right, and i'm sure you already knew this 🌝 )</p>
<p dir="auto">I hope some other users speak up too!</p>
<p dir="auto">For example the category data (id's) is stored in the <code>body</code> of your project:</p>
<p dir="auto"><img src="/assets/uploads/files/1645852019928-screen-shot-2022-02-26-at-6.05.35-pm-resized.png" alt="Screen Shot 2022-02-26 at 6.05.35 PM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">You could use these to your advantage, or use jQuery to return values of categories as well</p>
<blockquote>
<p dir="auto"><a href="https://laytheme.com/documentation/custom-javascript.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://laytheme.com/documentation/custom-javascript.html</a></p>
</blockquote>
<p dir="auto">See what you get in the developer console when this is added:</p>
<pre><code>&lt;script&gt;
window.laytheme.on("newpageshown", function(layoutObj, type, obj){
	console.log("layoutObj", layoutObj);
	console.log("type", type);
	console.log("obj", obj);
});
&lt;/script&gt;
</code></pre>
<hr />
<h5>Best</h5>
<h5>Richard</h5>
]]></description><link>https://laythemeforum.com/post/28632</link><guid isPermaLink="true">https://laythemeforum.com/post/28632</guid><dc:creator><![CDATA[Richard]]></dc:creator><pubDate>Sat, 26 Feb 2022 05:17:59 GMT</pubDate></item></channel></rss>