• Resolved OrigamiMartin

    (@origamimartin)


    I reaaaally need help. Ive been trying to implement this code for categories images on my website “origami.directory” but its nearly impossible ;S I have no clue of what im doing wrong. If someone have made it work. PLEASE contact me via the contact form on my website and send me a message. I would appreciate it A LOT! Or if someone rather answer me here its super okay to! I just need some help! ??

    https://www.ads-software.com/plugins/categories-images/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    PLEASE contact me via the contact form on my website and send me a message.

    That level of support isn’t offered like that in these forums.

    Can you describe what you’ve tried?

    Thread Starter OrigamiMartin

    (@origamimartin)

    I have a category list, both in the sidebar (in widgets) and on the front page. But non are showing any images, even though I think I did it the right way (pasted the codes to the right places + having the plugin installed and active. I only made it work so the images would be shown in the posts. But they were super large and too wide for the page.

    What im trying to do is showing all my Categories on the front page. And if you click one of those links you come to that category with images of its subcategories. And I need images for those categories. Hope you understand and can help! thanks!
    / Martin

    Plugin Author Muhammad

    (@elzahlan)

    Hey

    You can simply use the following code (with your style of course), you can use this code in home page template, for example:

    <ul>
     <?php foreach (get_categories() as $cat) : ?>
     <li>
     <?php z_taxonomy_image($cat->term_id); ?>
     <a href="<?php echo get_category_link($cat->term_id); ?>"><?php echo $cat->cat_name; ?></a>
     </li>
     <?php endforeach; ?>
    </ul>

    if you still have problems just tell me and I will do my best to help.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I need help to implement this on my website’ is closed to new replies.