Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Got the CSS working as well now in lib/css/wpnb_frontEnd.css. Find:

    .wpnbnews ul li a{float:right}.pluga1c2r{display:none!important}.

    and change to:

    .wpnbnews ul li a{float:left}.pluga1c2r{display:none!important}.

    Good luck, feel free to comment / ask questions etc.

    So, I’ve done some hacking and stuff myself in order to get things the way I want it. I dislike the popup and wanted to have a regular page for my news. This is what I did:

    1. Edit the file wp-news-bulletin.php
    2. Go to the function called ‘widget’
    3. The following code is changed from line 340

    echo '<li>'; 
    
                    $link = site_url() . "/wpnb_news/" . get_page_uri(get_the_ID()) . "/";
    
                    if(get_option('wpnb_boxImg')=='on')
                    {
                            the_post_thumbnail('thumbnail');
                    }
                    switch(get_option('wpnb_boxLetters'))
                    {
                            case 100:
                            echo '<a href="' . $link . '">' . wpnb_trunCate(get_the_title(), 100, '...', false, true) . '</a>';
                            break;
                            case 300:
                            echo wpnb_trunCate(get_the_excerpt(), 300, '...', false, true);
                            break;
                            case 500:
                            echo wpnb_trunCate(get_the_content(), 500, '...', false, true);
                            break;
                    }

    As I only use the 100 characters I have not modified the 300 and 500 character but feel free to do so.

    The only issue I’m still facing right now is that the

      (the entries for the news items) is aligned to the right. I want it to be on the left, but my guess that’s a CSS issue which I will look into later.

    Hope this helps someone!

    Hi,

    My news item pops up, but I would rather see it as a “new page”, is this possible? If so, how can I do this?

    Thanks!

    Thread Starter IT Nerdbox

    (@it-nerdbox)

    Great, I got an update today and the problem is indeed resolved!

    Thanks a lot!

Viewing 4 replies - 1 through 4 (of 4 total)