Maga Category Images
How to implement (3 posts)

  1. graphiclux
    Posted 4 years ago #

    I have the plugin installed and activated and added my images for each category.

    I have the categories showing up in the sidebar using a widget. How do i get the images to show up instead of just the category name?

    I am using the theme Ari 1.1.2.


  2. maga56
    Plugin Author

    Posted 4 years ago #

    Use this method in your php files where you want the image to appear

    <?php if($maga) : ?>
    <img src = "<?php echo $maga->getSpecificImage(categoryId goes here); ?>"/>
    <?php endif; ?>

    This will generate the image tag

  3. graphiclux
    Posted 4 years ago #

    OH i thought it would be able to dynamically add the image for each category, and not need to be specified. I could just manually add this in the code, this doesn't help with new Categories and image associated with them from an admin who doesnt know where to add specific code.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Maga Category Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic