WordPress.org

Ready to get started?Download WordPress

Forums

Maga Category Images
How to implement (3 posts)

  1. graphiclux
    Member
    Posted 2 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.

    http://wordpress.org/extend/plugins/maga-category-images/

  2. maga56
    Member
    Plugin Author

    Posted 2 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
    Member
    Posted 2 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.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic