Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13206

    Hi,

    in the theme’s footer is hardcoded this widget:

    http://i46.tinypic.com/5l0v3n.jpg

    See the demo theme in the right footer column here:

    http://www.kriesi.at/themes/newscast/

    As soon as I add in the right footer column my own widget, too, this hardcoded one disappears.

    How can I use it with/in addition to my own widgets, i.e. prevent it from disappearing when adding own widgets?

    Thanks.

    #78256

    Hi colorit2,

    You’ll need to re-create it using a Text widget and html. Something like:

    <h3>Contribute to our Site!</h3>
    <p>Consectetur adipisicing elit tempor incididunt ut labore. Sed do eiusmod tempor incididunt ut labore. Consectetur adipisicing elit.</p>
    <p class="small_block"><img class="ie6fix noborder alignleft" src="http://www.**yoursite**.com/newscast/wp-content/themes/newscast/images/skin1/newspaper_add_32.png" alt="" />If you want to contribute tutorials, news or other stuff please contact us. We pay 150 for each approved article.</p>
    <p class="small_block"><img class="ie6fix noborder alignleft" src="http://www.**yoursite**.com/newscast/wp-content/themes/newscast/images/skin1/lightbulb_32.png" alt="" />Consectetur adipisicing elit. Sed do eiusmod tempor incididunt ut labore.</p>
    <p class="small_block"><img class="ie6fix noborder alignleft" src="http://www.**yoursite**.com/newscast/wp-content/themes/newscast/images/skin1/info_button_32.png" alt="" />This site uses valid HTML and CSS. All content Copyright &copy; 2010 Newscast, Inc</p>
    <p class="small_block"><img class="ie6fix noborder alignleft" src="http://www.**yoursite**.com/newscast/wp-content/themes/newscast/images/skin1/rss_32.png" alt="" />If you like what we do, please don't hestitate and subscribe to our <a href="http://www.kriesi.at/themes/newscast/feed/">RSS Feed.</a></p>

    Regards,

    Devin

    #78257

    Thanks, Devin.

    But where is it coded, this “either … or”:

    “Show either the icons and their texts, or own footer widgets”?

    Isn’t it possible to change then this “syntax” to not either-or, but to “show both”?

    #78258

    You can try to remove the if statement in footer.php. Replace:

    if(!isset($default_widget[$footer_widget]) && $k_option['includes']['dummy_footer'] != 2)
    {
    //calling the placeholding content defined at the bottom of this file
    display_placeholder($footer_widget);
    }

    with:

    //calling the placeholding content defined at the bottom of this file
    display_placeholder($footer_widget);

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

The topic ‘Keep the hardcoded footer widget – also when I add my own widgets’ is closed to new replies.