• Resolved jaydokie

    (@jaydokie)


    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. 250×250 size) offset by the post excerpt to insert an ad. Thanks.

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

Viewing 1 replies (of 1 total)
  • Plugin Author victor_jonsson

    (@victor_jonsson)

    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” )

Viewing 1 replies (of 1 total)
  • The topic ‘Using filter arlima_streamer_colors’ is closed to new replies.