Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)
  • I have the same problem ??

    Yes, there’s a plugin called “Faceted search” , but if you are using many languages it will show a list with all the translations… so it works fine, but only for WP with 1 language ??

    Happy blogging!
    M.

    I have the same problem and it appeared with upgrading the WP version.
    I’m looking for a solution now ??

    Thread Starter Ralev

    (@ralev)

    nevermind. I want to delete these topic, but I don’t see the button ??

    I have very similar issue when using “qtranslate” and redirect.
    Still no answer in the qtranslate forum…
    Hope I’ll find the solution here.

    Thread Starter Ralev

    (@ralev)

    Actually after some play with the plugin – it worked in this way:
    I’ve picked the Editor role and made a copy Editor2
    Then I’ve assign the additional “Edit Theme” capability with the checkbox.
    And it worked.

    One should just play on and on with the options in order to see what will work for his/her case. The plugin is great.

    Thread Starter Ralev

    (@ralev)

    Here’s a solution everyone can use >>>>>>>>>>>>>>>>>>>>>>>>>>>>>

    What I’ve done is to make second category plugin.

    <?php /*
         Category Template: skip-to-post
         Template URI: https://ralev.com/
         Description: redirects to the first post in cat
         */ ?>
    <?php
    	if(have_posts()) :
    		while (have_posts()) : the_post();
    		wp_redirect(get_permalink($post->ID));
    		endwhile;
    	endif;
    ?>

    and then call if with the plugin :
    “Idealien Category Enhancements”
    https://www.ads-software.com/extend/plugins/idealien-category-enhancements/

    Now for every created category with one post I can select from a drop-down menu ( in the category panel ) the secondary “skip” template ??
    Works like a charm with WP 2.9! ??

    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

    PS: if somebody write an automatic condition script that could be attached to the main category.php and checks if there’s just one post in the category and redirects… then it will be even better, so we don’t have to choose a template – it will decide automatically if it needs redirect ??

    PPS: thank you, “stiand” for your help! ??

    10x for the advice.
    I’ve just done something similar.
    What I’ve done is to make second category plugin.

    <?php /*
         Category Template: skip-to-post
         Template URI: https://ralev.com/
         Description: redirects to the first post in cat
         */ ?>
    <?php
    	if(have_posts()) :
    		while (have_posts()) : the_post();
    		wp_redirect(get_permalink($post->ID));
    		endwhile;
    	endif;
    ?>

    and then call if with the plugin :
    “Idealien Category Enhancements”
    https://www.ads-software.com/extend/plugins/idealien-category-enhancements/

    Now for every created category with one post I can select from a drop-down menu ( in the category panel ) if I want the secondary “skip” template ??
    Works like a charm with WP 2.9! ??

    Thread Starter Ralev

    (@ralev)

    Thank you, stiand!
    The redirect script works just fine.
    The thing is that now every time I want to make a new product / or my friend, the client… will have to make such a page and that’s why I want more automatic solution.

    I’ll read a few more days.. and then I think I’m gonna copy-paste all 40 products as “pages”… since this looks like the most easy way.

    Then… I’ll have to figure out a way for making their slug automatically skip the category and the child category word and produce simple address like : https://site.com/product1

    I still believe more in the potential of the post for better choice for the product pages so how can I expand the script you gave me in order to make it like:

    “”if there’s only one post in category (3) – redirect straight to post(4)”

    1 Products > 2 category > 3 category with product name > 4 post with product.

    the shop plugin is something I haven’t thought before ??
    10x

    PS: I was thinking for a plugin that will allow me easily to set a specific predefined template to the category ( as it’s the build-in theme selector for the single posts ), so this way I’m just gonna make one more category template which can show the full post, not only the excerpt…

    This will have 1 big disadvantage, though : SEO duplication problem …
    Or at least I’m with that impression as reading around.

    It’s good enough … to start ??

    but I’ll recommend buying a WP book that explains the most important points. Personally I’m not a php developer, but a designer… and most of the time I can figure out solutions for what bothers me. There are many WP tips and tuts in the Net.

    https://digwp.com/book/
    this is the book.
    I think it’s very worthed for 27 USD ??

    Good luck with the site, buddy!

    yes, I was thinking about that type of solution.
    thank you for the link.
    The problem with it is that my friend ( the client ) will have to make a new template ( dublicate ) every time he wants to post a new product…
    which is not exactly user-friendly ??

    Thread Starter Ralev

    (@ralev)

    Okey, I understand it’s essential to be understood in order to be helped ?? so I’m gonna explain more in detail…

    If you don’t put the post in a subcategory with the same name – there’s no way to see its name in the main drop-down menu.

    So this way I’m exposing the existence of the product without making the user to search it anywhere. It’s just visible from the first mouseOver.

    I guess there’s a way to make some very complex menu script…. but at this point it seems to me more easier to find an elegant solution to bypass the category subpage if there’s only one post in it.

    I’m starting to think that nobody around knows the answer ??
    I’m interested in the topic, too.

    Good luck, buddy!

    PS: if you’ve found an answer last week – pls, drop a line.

    c-bass – I understand you… but may be the solution is just to use the page system, not the post system to categorize the products…
    I’m struggling on the same problem…

Viewing 15 replies - 1 through 15 (of 19 total)