Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #19387

    Hello!

    I need to modify the newsbox widget. If i use this code

    Code:
    [widget widget_name=”avia_newsbox” widget_class_name=”newsbox” title=”” count=”5″ excerpt=”display title and excerpt”]

    I get the title, date & time and an excerpt. But I don’t want the date & time to be displayed..

    Where I can modify this? Also I don’t want the title to be clickable… I want to remove the

    tag from the widget.

    Where can I find it?

    Thanks a lot for help!

    #103513

    Hi prax,

    Kindly add this code inside Quick CSS(located inside Broadscope > Theme Options > Layout & Styling) or custom.css(can be accessed via ftp, located inside the css folder of the Broadscope theme’s folder):

    span.news-time {
    display: none;
    }

    Hope this helps. :)

    Regards,

    Ismael

    #103514

    Thanks for the answer… But this doesn’t work :(

    #103515

    Added it inside Quick CSS – and it worked!

    #103516

    Okay, next one… The title should not be clickable!

    I need to remove the a tag… Where exactly can I modify this widget?

    #103517

    Open up broadscopeframeworkphpclass-framework-widgets.php and replace:

    echo "<a class='news-link' title='".get_the_title()."' href='".get_permalink()."'>";
    echo "<span class='news-thumb'>";
    echo $image;
    echo "</span>";
    echo "<strong class='news-headline'>".get_the_title();
    echo "<span class='news-time'>".get_the_time("F j, Y, g:i a")."</span>";
    echo "</strong>";
    echo "</a>";

    with:

    echo "<a class='news-link' title='".get_the_title()."' href='".get_permalink()."'>";
    echo "<span class='news-thumb'>";
    echo $image;
    echo "</span>";
    echo "</a>";
    echo "<strong class='news-headline'>".get_the_title();
    echo "<span class='news-time'>".get_the_time("F j, Y, g:i a")."</span>";
    echo "</strong>";

    #103518

    ╔══╗

    ╚╗╔╝

    ╔╝(¯`v´¯)

    ╚══`.¸.´ Dude

    Thanks a lot, i’ll try it this evening..

    #103519

    Let us know if that didn’t work for you (it should but just in case).

    Regards,

    Devin

    #103520

    Worked! Thanks for your help…

    I wasn’t able to find those framework files… Searched all my folders

    for phrases like “news-link” but I didn’t find anything… I really don’t

    know why! But your answers helped! Thanks!

    #103521

    Hey,

    Glad it worked. :)

    Regards,

    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Need to modify the newsbox widget on a static site’ is closed to new replies.