Support » Plugin: Network Latest Posts » [Plugin: Network Latest Posts] 'wrapo=' and 'wrapc=' do not work

Viewing 2 replies - 1 through 2 (of 2 total)
  • sergeyzimin

    (@sergeyzimin)

    Fix:
    html_entity_decode($begin_wrap)
    html_entity_decode($end_wrap)

    By the way I didn’t get why is there
    if( ( !empty($begin_wrap) || $begin_wrap != ” )
    because $begin_wrap can not be empty anyway:
    function network_latest_posts($how_many=10, $how_long=0, $titleOnly=true, `$begin_wrap="\ n
    <li>"</li>`
    , $end_wrap=””, $blog_id=’null’, $thumbnail=false, $cpt=”post”, $ignore_blog=’null’, $cat=’null’, $tag=’null’, $paginate=false, $excerpt_length=’null’, $display_root=false, $auto_excerpt=false, $full_meta=false, $size = ‘thumbnail’ ) {

    Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    Hi Sergey,

    This will disappear in the next version, it is a nasty hack and it turned out to be more confusing than helpful for most of the people.

    Instead of this, I added a new parameter called display_style which accept this values: olist (ordered list), ulist (unordered list), block, inline (inline blocks). That way I can control the tags used and there will be CSS styles provided for each one of those types, so people can get something styled by default or create their own styles using CSS instead.

    Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Network Latest Posts] 'wrapo=' and 'wrapc=' do not work’ is closed to new replies.