the block of code where is it in wordpress

where is this code in the wordpress, what file is this code in

<div id="widget-area" class="widget-area" role="complementary">
<aside id="text-1" class="widget widget_text"><h2 class="widget-title">Widget Title for First Text Widget</h2>
<div class="textwidget">Text within the text widget area.</div>
<aside id="text-2" class="widget widget_text"><h2 class="widget-title">Widget Title for Second Text Widget</h2>
<div class="textwidget"><p>Text for second widget text area.</p></div>
</div><!-- .widget-area -->

Thank you

  • Milan
    • WordPress Wizard

    Hello Orlando

    Hope you are well today and thanks for asking us. :slight_smile:

    I tried to search code you gave against my latest WordPress installation, but failed to find any such entry in its core files.

    But i was able to find similar entry in Twentyfifteen theme's sidebar.php file on line no. 40. You can see that they have written this bit of code after that line,

    <div id="widget-area" class="widget-area" role="complementary">
    				<?php dynamic_sidebar( 'sidebar-1' ); ?>
    			</div><!-- .widget-area -->

    Where middle statement renders widgets specified in sidebar area named "sidebar-1". So I think that code is actually combination of different widgets put on that sidebar area. :slight_smile:


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.