[wp-meta] [Making WordPress.org] #6338: List the documentation handbook on devhub
Making WordPress.org
noreply at wordpress.org
Thu Jun 2 11:19:48 UTC 2022
#6338: List the documentation handbook on devhub
---------------------------+-------------------------
Reporter: TJNowell | Owner: tellyworth
Type: enhancement | Status: assigned
Priority: high | Milestone:
Component: Developer Hub | Resolution:
Keywords: has-patch |
---------------------------+-------------------------
Changes (by robfelty):
* keywords: => has-patch
Comment:
I am at WCEU right now and looked into this. I talked to Milana Cap
@milana_cap on the documentation team, and we were able to determine that
all of the content on this page is controlled by widgets, except for this
box. The relevant code is in
meta.git.wordpress.org/wordpress.org/public_html/wp-content/themes/pub
/wporg-developer/page-home-landing.php
{{{#!php
<?php
<div class="search-guide inner-wrap section">
<?php if ( is_active_sidebar( 'landing-footer-1') ) { ?>
<?php dynamic_sidebar( 'landing-footer-1' ); ?>
<?php } else { ?>
<div class=" box"></div>
<?php } ?>
<div class="box">
<h3 class="widget-title"><?php _e( 'Contribute',
'wporg' ); ?></h3>
<ul class="unordered-list no-bullets">
<li><a href="https://make.wordpress.org/" class
="make-wp-link"><?php _e( 'Help Make WordPress', 'wporg' ); ?></a></li>
</ul>
</div>
<?php if ( is_active_sidebar( 'landing-footer-2') ) { ?>
<?php dynamic_sidebar( 'landing-footer-2' ); ?>
<?php } else { ?>
<div class=" box"></div>
<?php } ?>
</div>
}}}
I suggest that we make a new dynamic_sidebar 'landing-footer-3', so that
we can then modify the content there without having to make code changes.
I am attaching a diff which does this (leaving the landing-footer-2 as is,
though re-naming it "footer right", since it is actually on the right
side.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6338#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list