Forums

[resolved] [Random-image-widget] Problems with the plugin (4 posts)

  1. Sruc
    Member
    Posted 1 year ago #

    Hello,

    I have a problem with this widget, i use this theme Cutline and, when i install the plug in, dissapear the category, archives and admin options. How can i solve this?

    Sorry about my english, I'm spanish.

    http://wordpress.org/extend/plugins/random-image-widget/

  2. Annys
    Member
    Posted 1 year ago #

    I would like to use this plugin in a different place on my website. Is it possible to do this without using the widget but by adding some code in one of the php files?

  3. mproulx
    Member
    Posted 1 year ago #

    @Annys: Yes, it's possible to do this. You would need to copy most of the code contained in the disp_random_image() function in the random-image.php file, but instead of using the built-in $args variables ($before_widget, $after_title, etc.) you would use your own formatting as necessary.

    Since this has been a popular request, I will make adding a single function that can be called within the page a wishlist item.

  4. Annys
    Member
    Posted 1 year ago #

    Thanx! It works. I don't really understand the arguments part (yet). I did get an error, about extracting something so I deleted that line in the php file. I hope I didn't screw up other stuff.
    About the wishlist... can you make it work with highslide or lightbox? ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic