• Resolved cwelle

    (@cwelle)


    Hello everyone,

    I am trying to transfer my static logo design site to WP and am not sure that what I have in mind is a proper way to do it. I am new to WP and definitely need advice from more experienced users.

    I thank you in advance for reading this.

    The trickiest part is the portfolio, which contains more than 2000 images, which equals 50-100 thumbnail portfolio pages. When clicked on a logo on a portfolio page I need it to go to its own page with larger preview and additional logo info. The logo portfolios are usually broken down to categories but can be also viewed by date with the latest works on the first page etc and this is the way I want it too. Additionally each logo has its own tags/keywords so the whole thing (in case you haven’t seen it before) looks close to a microstock photography site but without shopping cart and lightbox.

    This is where I need your advice. It looks to me that the most natural way to handle the portfolio part would be to have each logo as a post. I can use featured image (in this case it would be the same thing as larger preview image, just smaller) for thumbnails and keywords/tags and categories are already there by default. I created 10-15 posts like this and managed to list the thumbnails on the portfolio page using code from the codex example but there are several questions that popped up and I am not sure if they could be resolved, so before I move on I need to ask:

    1. Is it possible to add pagination to thumbnail pages (featured images)?

    2. Is it possible to have search feature that instead to go through all pages goes only through individual logo pages (posts) and lists their featured images (thumbnails) in search results?

    3. Is there a better or easier way to handle portfolio?

Viewing 8 replies - 1 through 8 (of 8 total)
  • 1. Is it possible to add pagination to thumbnail pages (featured images)?

    Pages work differently than Posts. Posts can be paginated.

    2. Is it possible to have search feature that instead to go through all pages goes only through individual logo pages (posts) and lists their featured images (thumbnails) in search results?

    Yes, with a custom-search.php file.

    3. Is there a better or easier way to handle portfolio?

    Are you using the default WP Gallery? There are some very good plugins that allow you to upload and manage files better (imho) and many pro grade portfolio templates out there.

    And, just a thought? Is it really necessary to have 2000 images to show your work? Could you pick 100 of your best examples? Do you have SEO working at old site? Is that telling what images are viewed most?

    Moderator keesiemeijer

    (@keesiemeijer)

    What example from the codex did you use and on what template file do you want pagination?

    2. Is it possible to have search feature that instead to go through all pages goes only through individual logo pages (posts) and lists their featured images (thumbnails) in search results?

    See this example of how to use the post types you want for the search results (attatchment is a post type):
    https://codex.www.ads-software.com/Plugin_API/Action_Reference/pre_get_posts#Include_Custom_Post_Types_in_Search_Results

    https://www.ads-software.com/support/topic/query-posts-based-on-if-has-post-thumbnail

    or create your own search results page with a query (for logo posts):
    https://codex.www.ads-software.com/Creating_a_Search_Page
    https://codex.www.ads-software.com/Function_Reference/WP_Query

    Thread Starter cwelle

    (@cwelle)

    Thank you for your reply.

    Pages work differently than Posts. Posts can be paginated.

    In that case portfolio pages should be also posts, right?

    Are you using the default WP Gallery? There are some very good plugins that allow you to upload and manage files better (imho) and many pro grade portfolio templates out there.

    I tried couple of gallery plugins but couldn’t find any that opens thumbnails to separate pages – they all either enlarge thumbnails or open image previews.

    As for portfolio themes I checked lots of them but couldn’t find anything close enough to what I need. I am very open to suggestions regarding this.

    And, just a thought? Is it really necessary to have 2000 images to show your work? Could you pick 100 of your best examples? Do you have SEO working at old site? Is that telling what images are viewed most?

    I want our clients to see all our work so we don’t get accused of fraud – if we showcase only the best we got and they end up with something that isn’t that great they are almost certain to feel bad about the whole thing. Also various people have various tastes and it is very often that clients ask for logos similar to something that we created before and are not particularily proud of but still decided to keep it in the portfolio.

    Thread Starter cwelle

    (@cwelle)

    Keesiemeijer, the template is the default one – twentyone (I don’t care about the look of the site until it’s fully functional)

    I used this code, from https://codex.www.ads-software.com/Function_Reference/get_the_post_thumbnail

    <?php
      $thumbnails = get_posts('numberposts=0');
      foreach ($thumbnails as $thumbnail) {
        if ( has_post_thumbnail($thumbnail->ID)) {
          echo '<a href="' . get_permalink( $thumbnail->ID ) . '" title="' . esc_attr( $thumbnail->post_title ) . '">';
          echo get_the_post_thumbnail($thumbnail->ID, 'thumbnail');
          echo '</a>';
        }
      }
    ?>

    With 2000 thumbnails ahead I would need pagination for this

    Thank you for the search related links! I thought that there must be a way to create custom search feature

    Thread Starter cwelle

    (@cwelle)

    So the remaining question is if I have a bunch of posts listed as thumbnails, is it possible to have pagination for them and if yes do I need to custom code it or there is a plugin that works with this kind of loop?

    I understand on #3…

    Yes, posts are easy to paginate, I like WP-PageNavi (one of the the most used plugins) – Even better when they are grouped by category (and tags too).

    As for commercial themes, WP lists some vendors, perhaps take some time and contact them…

    Moderator keesiemeijer

    (@keesiemeijer)

    I would just give all logo posts (with a featured image) a category “logo”. The archive pages have pagination by default.

    And create a category template for the logo category where you only show the featured images of the posts.
    https://codex.www.ads-software.com/Template_Hierarchy#Category_display

    Thread Starter cwelle

    (@cwelle)

    Thank you for fast and good support, guys! Now I can get back to work (and learning) the way I planned.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Building large logo portfolio site, need advice’ is closed to new replies.