WordPress.org

Forums

Article List Manager (arlima)
[resolved] Using filter arlima_streamer_colors (2 posts)

  1. jaydokie
    Member
    Posted 2 years ago #

    Vic, having problems adding the topic color code in the theme (Twenty Plus Pro) functions.php file. When I insert it into the functions.php, it hangs trying to save. The code starts off with <?php and doesn't have an end code (e.g. </php>). I placed the exact code you gave in the subject help. Also, I see there is a widget format. I can't see any info or instructions on this. I was able to insert a banner into the front page using the full teaser that I can use to space out any ads, but it would be nice to insert a box area (e.g. 250x250 size) offset by the post excerpt to insert an ad. Thanks.

    http://wordpress.org/extend/plugins/arlima/

  2. victor_jonsson
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Jay!

    1) php code ends with ?> But have you seen the latest version of Arlima, that was released yesterday? After that you have upgraded the plugin you navigate to the new admin page named "Settings". There you will be able to add those streamer colors you want to be able to choose from in the list manager.

    Regards to the code examples. It's not always possible to insert the exact code. It depends on how the code looks like in the file that you're about to insert your code into. PHP code should be placed between <?php and ?>

    2) The widget format is meant to be used when you have a list that's only displayed in a widget. It is practically the same as the default template except that you can't toggle the font size nor display child articles.

    3) There is a code example in the wiki that inserts ads after every third article (https://github.com/victorjonsson/Arlima/wiki/Filters-and-actions scroll down to the filter "article_end" )

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic