Support ForumDisplay Posts like Portfolios – Support Forum https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/feed/ Mon, 06 May 2024 04:01:42 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5703 <![CDATA[Display Posts like Portfolios]]> https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5703 Fri, 28 Nov 2014 01:45:21 +0000 milosholaya Hi,

I really liked the Boldial and got it right away because I liked the way portfolios are displayed (home-portfolio demo), and I wanted all of my content (posts) showing as portfolios are.

The problem is that if I upload all of my content (which will be mainly pictures) in a form of portfolio, I would have trouble with the way URLs and breadcrumbs look on a portfolio category and detail (as I would like clean and simple URLs: mywebsite.com/category-name/post-name; and breadcrumbs like: [home-icon] > category-name > post-name), and it would be a hustle to change that in code.

My question would be – is there an easy way to make regular posts, within post categories, to be displayed as the portfolios? Like this: https://themes.ishyoboy.com/boldial/home-portfolio/

Thank you,
Milosh

]]>
https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5704 <![CDATA[Reply To: Display Posts like Portfolios]]> https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5704 Fri, 28 Nov 2014 05:03:58 +0000 IshYoBoy Hi Milosh,

If we understand it correctly you would like to keep everything regarding the posts as it is, just change how the category page layout works.

– Blog overview page will remain as it is now
– Post detail pages will remain as it is now
– Tags Archive page will remain as it is now
– Author Archive page will remain as it is now
– Date Archive page will remain as it is now
ONLY Category Archive page will have the posts displayed as “cubes”

Is this correct? Or would you like to leave the whole Blog section as it is now and just display the latest posts on any page (e.g. homepage) with the same “cubes” layout as portfolio?

Please help us understand it completely so we could guide you. Thanks

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5707 <![CDATA[Reply To: Display Posts like Portfolios]]> https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5707 Fri, 28 Nov 2014 10:30:09 +0000 milosholaya Basically I would like both category archive and any page to display posts as the same “cubes” layout as portfolio. To explain it simpler, my website construction would be:

– Homepage – showing all latest posts in forms of “cubes” (like portfolio items by default)
– Category – showing posts within that category in forms of “cubes”
– Post page – remains as it is now (showing just an image)

Thanks

]]>
https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5742 <![CDATA[Reply To: Display Posts like Portfolios]]> https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5742 Mon, 01 Dec 2014 07:03:38 +0000 IshYoBoy Hi,

Thanks for the explanation and sorry for the longer response time. We were away for the weekend.

To achieve this you would have to “copy” the code of the portfolio shortcode template and then update it to work with the regular WordPress loop as in the template it is a ustom WP_Query. You will also have to remove the parts that are not necessary. E.g. Filter by category, etc as theses are already part of the main loop.

The code could be found in this file:
wp-content\plugins\ishyoboy-boldial-assets\ishyoboy-shortcodes\assets\backend\vc_extend\shortcodes_templates\ish_portfolio.php

You could maybe copy the “archive.php” file into a child theme and rename it to archive-post.php (The Template hierarchy shows why: https://codex.wordpress.org/images/9/96/wp-template-hierarchy.jpg).

Now add the code from the ish_portfolio template and update to use the main loop.

To add the posts to the homepage you would have to create a new shortcode or update the portfolio one to support the “post” post type as well. The latter could be easily managed by updating the “settings” window by adding an option for the post-type. We’re talking about theses files:

This could be done easily in a child theme. Just follow this guideline:

Override shortcode template in a child theme

Hope this helps. If you don’t feel like doing it, we could offer our services to add it for you for a flat hourly rate. Contact us at hello@ishyoboy.com for more information.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5760 <![CDATA[Reply To: Display Posts like Portfolios]]> https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5760 Mon, 01 Dec 2014 14:14:23 +0000 milosholaya Thanx, I’ve understood the part where I should change the portfolio shortcode to show posts on my homepage as “cubes”. It’s working: https://pigtelligent.com

But I don’t see what is going to make my categories show posts in a form of “cubes”.

I didn’t understand how to use the code from “…\shortcodes_templates\ish_portfolio.php” and how to add it to “archive.php” (i.e. “archive-post.php”) in child theme? Or maybe I didn’t understand that part well?

Do I have to use “ish_portfolio_categories.php” maybe?

Thanx

]]>
https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5773 <![CDATA[Reply To: Display Posts like Portfolios]]> https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5773 Tue, 02 Dec 2014 08:26:39 +0000 IshYoBoy Hey,

Nice job with the code for the shortcode on the homepage.

Maybe you could get inspiration from the file:
wp-content\themes\boldial\taxonomy-portfolio-category.php

This is the template which displays portfolio categories. What id does is that it gets all the settings for portfolio from “Theme Options” and converts them to attributes for the [ish_portfolio] and then display it as the content of the category.

You could do the same since the portfolio has already been changed to use “post” not “portfolio-post”. And you could hardcode all the values for the shortcode.

You could then add it to the archive file to target the “post” type only which is basically the blog.

Hope it’s clear ;)

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5782 <![CDATA[Reply To: Display Posts like Portfolios]]> https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5782 Tue, 02 Dec 2014 15:41:39 +0000 milosholaya I was working on it a few hours now… :) and I either don’t understand which exact values do I need to change in “taxonomy-portfolio-category.php” code, or there’s something else…

When I tested this and copied entire code from “taxonomy-portfolio-category.php” to “archive.php” (within child theme) I got the situation where post/blog category is showing the same as portfolio category – which is nothing :)

Maybe the problem for this workaround is that portfolio category is dead?
And portfolio category stopped showing “portfolio cubes” since I made changes in
“ishyoboy-boldial-assets\…\vc_extend\shortcodes_templates\ish_portfolio.php”
in order to make posts show instead of portfolios.

Can you please find a logic and solution for this? :)

My example category: https://pigtelligent.com/science
My example portfolio category: https://pigtelligent.com/portfolio-category/test

Thank you,
Milosh

]]>
https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5805 <![CDATA[Reply To: Display Posts like Portfolios]]> https://support.ishyoboy.com/forums/topic/display-posts-like-portfolios/#post-5805 Wed, 03 Dec 2014 11:59:50 +0000 IshYoBoy Hi Milosh,

We’d love to help, but this is quite a lot of work and it is not part of the standard theme support as this is a customization.

If you wish you can book our services and we could do the changes for you. Feel free to contact us on hello@ishyoboy.com for more details.

Feel free to dig in the code and tweak it.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>