- Fixed deprecated WP_Widget constructors in all widget files - Changed $this->WP_Widget() to parent::__construct() in: * widget-social.php * widget-fblikebox.php * widget-googleplus.php * widget-tabs.php - Fixed old-style constructor methods to __construct() in: * widget-ad125.php (mts_Ad_Widget -> __construct) * widget-ad300.php (mts_ad_300_Widget -> __construct) - Fixed for loop syntax error in widget-tweets.php (for(i; -> for($i = 1;) - Enabled registration for ad125 and ad300 widgets - Added new 'After First Paragraph' widget area for in-content ads All widgets now compatible with PHP 8.4 and editable in WordPress admin. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
800 B
PHP
28 lines
800 B
PHP
<aside class="sidebar c-4-12">
|
|
<div id="sidebars" class="g">
|
|
<div class="sidebar">
|
|
<ul class="sidebar_list">
|
|
<?php if ( ! dynamic_sidebar( 'Shop Page Sidebar' )) : ?>
|
|
<li id="sidebar-search" class="widget">
|
|
<h3><?php _e('Search', 'mythemeshop'); ?></h3>
|
|
<?php get_search_form(); ?>
|
|
</li>
|
|
<li id="sidebar-archives" class="widget">
|
|
<h3><?php _e('Archives', 'mythemeshop') ?></h3>
|
|
<ul>
|
|
<?php wp_get_archives( 'type=monthly' ); ?>
|
|
</ul>
|
|
</li>
|
|
<li id="sidebar-meta" class="widget">
|
|
<h3><?php _e('Meta', 'mythemeshop') ?></h3>
|
|
<ul>
|
|
<?php wp_register(); ?>
|
|
<li><?php wp_loginout(); ?></li>
|
|
<?php wp_meta(); ?>
|
|
</ul>
|
|
</li>
|
|
<?php endif; ?>
|
|
</ul>
|
|
</div>
|
|
</div><!--sidebars-->
|
|
</aside>
|