Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I tried all of the steps above with child theme and coded files as listed above. The child theme worked OK. However footer menu is displaying to the right of the site-info widget. I want the footer menu to be on a line below the site-info.

    How do I get the footer menu to display on a separate line below the site info footer?

    Thanks for you help

    Thread Starter tommyqr

    (@tommyqr)

    Thread Starter tommyqr

    (@tommyqr)

    Hi All,

    HERE IS THE LINK I USED TO DOUNLOAD A CHILD THEME THAT FIXED MY PROBLE.

    Hope it helps you.

    tommyqr

    (@tommyqr)

    I tried the above code and it did not work for me.

    Does the above code still work?

    Thank you for some ideas.

    Thread Starter tommyqr

    (@tommyqr)

    Thanks for your code idea above. As you suggested, it works great and it definitely eliminates one [for each].

    Great Idea. Thank you.

    I added some style to it and display the products in 3 columns.
    ‘<h2 style=”text-align:center; color: #ffffff; background-color: #005ce6;”> BRAND </h2>
    [for each=product_cat parent=brand]
    [loop type=product columns=”3″ pad=”0px 10px”]
    [if first] <font color=”blue” Font-size=”18px”><b>[each]</b></font>[/if]
    <b><u>[field title-link]</u></b> [field thumbnail-link] <font color=”black” font-weight=”normal”> [field image-description]</font>[field image-caption]
    [if empty] <font color=”blue” Font-size=”18px”><b> [each] </b> </font>
    <font color=”#45756″> Products Coming Soon </font>[/if]
    [/loop]
    [/for]’

    I noticed that the documentation was updated. Great. Now that I have had some experience with this great plugin I need to reread the documentation and see what other great things it can do.

    Thread Starter tommyqr

    (@tommyqr)

    Wow! Custom Content Shortcode plugin does work!! Hurray!!
    Thank you for your suggestions above. You are correct [if children] was not working correctly in a nested [for] loop. However your last suggestion WORKS. Hurray.

    Here is the code that work to display products by brand within the parent (brand) and to display ‘no products found’ if none exist for a specific child brand.

    ‘[for each=product_cat term=brand]
    [each]
    [-for each=child]
    [loop type=”product”]
    [if first] product: [each] [/if]
    <u>[field title-link]</u> [field thumbnail-link] [field image-description]
    [if empty][each]
    No products found[/if]
    [/loop]
    [/-for]
    [/for]’

    Thank you very much for helping me understand more about how to use the plugin.

    Thread Starter tommyqr

    (@tommyqr)

    I know there is a solution. I tried the code above, but I did not get any children to display.

    I tried several ways of coding, but have not come up with a solution y6t. Changing the location of the loop, if children and if. So far nothing I tried works. I want this to work because I believe Custom Content Shortcdes offers limitless opportunities. I have tried over ten other plugins but each has its limitations. I truly believe this plugin is very amazing.

    The following code displays the products of the brand, but it also displays the message (no products) for all brands even when they have products. I have tried several hours to find a solution, but it is time to find out what I do not understand about the plugin.

    Here is my latest code which at least displays products when they exist. I just do not know why the ‘no product’ message displays even when products exist and display.

    ‘[for each=product_cat term=brand]
    [each]
    [-for each=child]
    brand: [each]
    [loop type=”product”] <u>[field title-link]</u> [field thumbnail-link] [field image-description] [/loop]
    [if children]
    Product : [each]
    [loop <u>[field title-link]</u> [field thumbnail-link] [/loop]
    [else]
    No products for [each]
    [/if]
    [/-for]
    [/for]

    ‘[for each=product_cat term=horse-power]
    [each]
    [-for each=child]
    brand: [each]
    [loop type=”product”] <u>[field title-link]</u> [field thumbnail-link] [field image-description] [/loop]
    [if children]
    Product : [each]
    [loop <u>[field title-link]</u> [field thumbnail-link] [/loop]
    [else]
    No products for [each]
    [/if]
    [/-for]
    [/for]’

    Thank you for any ideas.

    Thread Starter tommyqr

    (@tommyqr)

    Thank you for replying.

    I tried your code. Here is what I have.
    ‘[for each=”product_cat” parents=”true” term=”brand”]
    [each]
    [-for each=child]
    [each]
    [-for-else]
    No products to display
    [/-for]
    [/for]’

    I need to go one more level deeper.

    I probably did not explain what I am trying to do well enough. Sorry for that.

    I have several parents (brand, type, etc)
    I have several children of each parent For the parent Brand I have Kenneth Cole, Ralph Loren, Kate Spade, etc.
    I have several children of each child. (Kenneth Cole shirt xxx, Kenneth Cole Shiny Shoe xx, etc)

    I am looking to check for no products for each brand name. (I want to say ‘No products (for Kate Spade) if I do not have any yet.

    I tried some other code to get the ‘no product’ message at the child of the child, but have not been able to get 3 levels deep yet.

    Is Custom Content Shortcode designed to handle three levels deep? (Brand, Brand Name, Product of Specific Brand). If so what do you suggest I try?

    Thanks for your kind help

Viewing 8 replies - 1 through 8 (of 8 total)