Title: backbone's Replies | WordPress.org

---

# backbone

  [  ](https://wordpress.org/support/users/backbone/)

 *   [Profile](https://wordpress.org/support/users/backbone/)
 *   [Topics Started](https://wordpress.org/support/users/backbone/topics/)
 *   [Replies Created](https://wordpress.org/support/users/backbone/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/backbone/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/backbone/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/backbone/engagements/)
 *   [Favorites](https://wordpress.org/support/users/backbone/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 47 total)

1 [2](https://wordpress.org/support/users/backbone/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/backbone/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/backbone/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/backbone/replies/page/2/?output_format=md)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] Since update 5.9.2 my top page is not filling completely on twenty twenty theme](https://wordpress.org/support/topic/since-update-5-9-2-my-top-page-is-not-filling-completely/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/since-update-5-9-2-my-top-page-is-not-filling-completely/#post-15465521)
 * Change inherit to 0
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] List items jumping out of group block when width reduced](https://wordpress.org/support/topic/list-items-jumping-out-of-group-block-when-width-reduced/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/list-items-jumping-out-of-group-block-when-width-reduced/#post-15462089)
 * [@media](https://wordpress.org/support/users/media/) (min-width: 700px) and (
   max-width: 1280px) {
    .entry-content ul { padding: 0; } }
 * Check these rules affecting this selector are in style.css
    Line 65 h1, h2, h3,
   h4, h5, h6, p, blockquote, address, big, cite, code, em, font, img, small, strike,
   sub, sup, li, ol, ul, fieldset, form, label, legend, button, table, caption, 
   tr, th, td { margin: 0; padding: 0; }
 * Line 471
    ul, ol { margin: 0 0 3rem 3rem; }
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] Hide pages from menu (source code)](https://wordpress.org/support/topic/hide-pages-from-menu-source-code/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/hide-pages-from-menu-source-code/#post-15462032)
 * You always have search unless you disabled it functionally.
    [https://yourdoman/search](https://yourdoman/search)
   [https://yourdomain/?s=socken](https://yourdomain/?s=socken) There is also API
   [https://yourdomain/wp-json/](https://yourdomain/wp-json/)
 * It’s a header nav.
    Menu Locations Desktop Horizontal Desktop Extended Mobile
 * If you’re still stumped, and don’t need the navigation. Remove it from the themes
   header.php
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] Since update 5.9.2 my top page is not filling completely on twenty twenty theme](https://wordpress.org/support/topic/since-update-5-9-2-my-top-page-is-not-filling-completely/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/since-update-5-9-2-my-top-page-is-not-filling-completely/#post-15461948)
 * /confidentialite-et-deontologie
 * EDIT style.css:
    1. Search/replace .privacy-policy rules with above rules. _Possible
   to just search/replace the current minified css with above rules, but that is
   not a good practice._ 2. Generate an updated minified CSS to replace current 
   minified CSS, (if not using a plugin to auto generate minified CSS.)
 * OR EMBED CSS OVERRIDE ON PAGE:
    1. Quick fix. Appearance > Customize > Additional
   CSS 2. ADD [@media](https://wordpress.org/support/users/media/) (max-width: 699px)
   and (min-width: 700px) {.privacy-policy {margin: inherit;}} 3. To save, click
   Publish button
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] Center logo and menu](https://wordpress.org/support/topic/center-logo-and-menu-6/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/center-logo-and-menu-6/#post-15455415)
 * [@media](https://wordpress.org/support/users/media/) (min-width: 1000px) {
    .
   header-inner { flex-direction: column; //add } }
 * You will need to adjust the margin and padding to fine tune.
 * [@media](https://wordpress.org/support/users/media/) (min-width: 1000px) {
    .
   header-titles-wrapper {} .header-navigation-wrapper {} }
    -  This reply was modified 4 years, 2 months ago by [backbone](https://wordpress.org/support/users/backbone/).
      Reason: missing bracket
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] Hide pages from menu (source code)](https://wordpress.org/support/topic/hide-pages-from-menu-source-code/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/hide-pages-from-menu-source-code/#post-15455407)
 * Two steps
 * Exclude Pages from Search Results (WP internal)
    [https://developer.wordpress.org/reference/hooks/pre_get_posts/](https://developer.wordpress.org/reference/hooks/pre_get_posts/)
 *     ```
       function search_filter($query) {
           if ( ! is_admin() && $query->is_main_query() ) {
               if ( $query->is_search ) {
                   $query->set( 'post__not_in', array( $post_id ) );
               }
           }
       }
       add_action( 'pre_get_posts', 'search_filter' );
       ```
   
 * If registered users is disabled, then setting the page to private would block
   it from showing in menus and Google (they still index it, just not publicly display
   it).
 * For custom page lists, add the page ID
    wp_list_pages{‘exclude=’7,17’);
 * To find the menu, which is likely a plugin or themes mobile menu, is to disable
   all plugins and reactivate one-by-one and test if hidden menu exists.
    The one
   you shared is non-descriptive besides the one instance of “Socken”
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] Telegram icon color](https://wordpress.org/support/topic/telegram-icon-color/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/telegram-icon-color/#post-15455339)
 * Simplest is to use a white outline telegram svg as a background image for the
   top as you have set the black for the bottom. If the same social menu is placed
   top and bottom with only a class name changing the color, then you match the 
   social buttons method with html inline svg which you can copy from here [https://icons.getbootstrap.com/icons/telegram/](https://icons.getbootstrap.com/icons/telegram/)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] Since update 5.9.2 my top page is not filling completely on twenty twenty theme](https://wordpress.org/support/topic/since-update-5-9-2-my-top-page-is-not-filling-completely/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/since-update-5-9-2-my-top-page-is-not-filling-completely/#post-15455306)
 * Privacy Policy page includes body class=”privacy-policy”.
 *     ```
       .privacy-policy {
         margin: 1.2rem 0 0;  //change to margin: 0; or margin: inherit;
       }
   
       @media (min-width: 700px)
         .privacy-policy {
           margin: 0 0 0 2.4rem; //change to margin: 0; or margin: inherit;
         }
       }
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] Creating the 2020 preview](https://wordpress.org/support/topic/creating-the-2020-preview/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/creating-the-2020-preview/#post-15451111)
 * You can change the block editor from visual to code to see the structure of the
   layout with class names.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] CSS issue on the privacy page](https://wordpress.org/support/topic/css-issue-on-the-privacy-page/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/css-issue-on-the-privacy-page/#post-15405818)
 * The page title is added as a body class. It’s one of the ways you can target 
   the page for conditional checks.
 * You could rename the slug/page title or add .privacy-policy class in the child
   theme.
 * From TwentyTwenty style.css
 *     ```
       .footer-copyright a,
       .privacy-policy a,
       .powered-by-wordpress a {
         color: inherit;
       }
       .privacy-policy,
       .powered-by-wordpress,
       .to-the-top {
         color: #6d6d6d;
       }
       .privacy-policy {
         margin: 1.2rem 0 0;
       }
       @media ( min-width: 700px ) {
         .privacy-policy {
           margin: 0 0 0 2.4rem;
         }
       }
       ```
   
 * Duplicate in “My Twenty Twenty Child Theme” style.css
 *     ```
       .footer-copyright a,
       .privacy-policy a,
       .powered-by-wordpress a {
         color: inherit; /* keep or edit to match child style */
       }
       .privacy-policy,
       .powered-by-wordpress,
       .to-the-top {
         color: #6d6d6d; /* keep or edit to match child style */
       }
       .privacy-policy {
         margin: 1.2rem 0 0; /* keep or edit to match child style */
       }
       @media ( min-width: 700px ) {
         .privacy-policy {
           margin: 0 0 0 2.4rem; /* keep or edit to match child style */
         }
       }
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] Scroll to Anchors works first click, next click scrolls to previous anchor](https://wordpress.org/support/topic/scroll-to-anchors-works-first-click-next-click-scrolls-to-previous-anchor/)
 *  Thread Starter [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/scroll-to-anchors-works-first-click-next-click-scrolls-to-previous-anchor/#post-15373619)
 * Self-resolved.
    Reinstalled 2020 v1.9 Removed Smooth Scroll from CSS Added JS
   function window.scroll with extra offset
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] How do you hide category link on just one post ?](https://wordpress.org/support/topic/how-do-you-hide-category-link-on-just-one-post/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/how-do-you-hide-category-link-on-just-one-post/#post-15370132)
 * template-parts/entry-header.php
 * find:
    `if ( true === $show_categories && has_category() ) {`
 * insert a post ID condition
 *     ```
       // Conditional examples
       $post_id = '11'; //assign post id you are targeting
       $ID = get_the_ID();//assign current post ID
       $ID === $post_id;  //show only if identical
       $ID !== $post_id;  //show if not identical
       $post_id = array( 11, 12, 13 ); //array of post IDs 
       in_array( $ID, $post_id ); //show only in array
   
       // Multiple conditional statement
       if ( true === $show_categories 
         && has_category() 
         && $ID !== $post_id ) {
       ```
   
 * `You can include category name/term_id/slug, or an array of them to check for
   in has_category($args) if you are targeting a specific category.`
    -  This reply was modified 4 years, 3 months ago by [backbone](https://wordpress.org/support/users/backbone/).
      Reason: typo
    -  This reply was modified 4 years, 3 months ago by [backbone](https://wordpress.org/support/users/backbone/).
      Reason: typo
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] Moving category link from above posts title to under post titles](https://wordpress.org/support/topic/moving-category-link-from-above-posts-title-to-under-post-titles/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/moving-category-link-from-above-posts-title-to-under-post-titles/#post-15370036)
 * Class
    `<div class="entry-categories">`
 * From Parent Twenty Twenty, duplicate this directory and file template-parts/entry-
   header.php and paste in Child theme.
    Move this code
 *     ```
       /**
        * Allow child themes and plugins to filter the display of the categories in the entry header.
        *
        * @since Twenty Twenty 1.0
        *
        * @param bool Whether to show the categories in header. Default true.
        */
       $show_categories = apply_filters( 'twentytwenty_show_categories_in_entry_header', true );
   
       if ( true === $show_categories && has_category() ) {
       	?>
   
       	<div class="entry-categories">
       		<span class="screen-reader-text"><?php _e( 'Categories', 'twentytwenty' ); ?></span>
       		<div class="entry-categories-inner">
       			<?php the_category( ' ' ); ?>
       		</div><!-- .entry-categories-inner -->
       	</div><!-- .entry-categories -->
   
       	<?php
       }
       ```
   
 * Placed between excerpt and post meta
 *     ```
       if ( is_singular() ) {
       	the_title( '<h1 class="entry-title">', '</h1>' );
       } else {
       	the_title( '<h2 class="entry-title heading-size-1"><a href="' . esc_url( get_permalink() ) . '">', '</a></h2>' );
       }
   
       $intro_text_width = '';
   
       if ( is_singular() ) {
       	$intro_text_width = ' small';
       } else {
       	$intro_text_width = ' thin';
       }
   
       if ( has_excerpt() && is_singular() ) {
       	?>
   
       	<div class="intro-text section-inner max-percentage<?php echo $intro_text_width; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- static output ?>">
       		<?php the_excerpt(); ?>
       	</div>
   
       	<?php
       }
   
       /**
        * Allow child themes and plugins to filter the display of the categories in the entry header.
        *
        * @since Twenty Twenty 1.0
        *
        * @param bool Whether to show the categories in header. Default true.
        */
       $show_categories = apply_filters( 'twentytwenty_show_categories_in_entry_header', true );
   
       if ( true === $show_categories && has_category() ) {
       	?>
   
       	<div class="entry-categories">
       		<span class="screen-reader-text"><?php _e( 'Categories', 'twentytwenty' ); ?></span>
       		<div class="entry-categories-inner">
       			<?php the_category( ' ' ); ?>
       		</div><!-- .entry-categories-inner -->
       	</div><!-- .entry-categories -->
   
       	<?php
       }
   
       // Default to displaying the post meta.
       twentytwenty_the_post_meta( get_the_ID(), 'single-top' );
       ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty] CSS Selectors](https://wordpress.org/support/topic/css-selectors-21/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/css-selectors-21/#post-15369981)
 *     ```
       /* style.css */
       html {
         font-size: 62.5%; /* 1rem = 10px */}
       body {
         font-size: 1.8rem;}
       .primary-menu li {
         font-size: inherit;}
       .primary-menu a {
         display: block;
         line-height: 1.2;}
   
       /* inline style */
       body:not(.overlay-header) .primary-menu > li > a {
         color: #cd2653;
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Co-Authors Plus] Help to Show Co-author plus on the frontend](https://wordpress.org/support/topic/help-to-show-co-author-plus-on-the-frontend/)
 *  [backbone](https://wordpress.org/support/users/backbone/)
 * (@backbone)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/help-to-show-co-author-plus-on-the-frontend/#post-14332378)
 * Byline output is usually located in the theme’s inc/template-tags.php, and/or
   you might see these inside files like single.php and author.php.
 * If trouble locating the byline output function in your theme, contact the theme
   author(s) for assistance/instructions for adding Co-Authors Plus
 *     ```
       // Display name(s) with no links
       if ( function_exists( 'get_coauthors' ) ) {
   
         // Output display names
         coauthors( null, null, null, null, true );
   
       } else {
   
         // Replace with your theme's byline code
         the_author();
   
       }
       ```
   
 *     ```
       // Display name(s) with links
       if ( function_exists( 'coauthors_posts_links' ) ) {
   
         // Output display names with links.
         coauthors_posts_links( null, null, null, null, true );
   
       } else {
   
         // Replace with your theme's byline code
         echo '<span class="author vcard"><a class="url fn n" href="' 
              . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '"
              . title="' . esc_attr( get_the_author_meta( 'display_name' ) ) . '">'
              . get_the_author_meta( 'display_name' ) . '</a></span>';
       }
       ```
   

Viewing 15 replies - 1 through 15 (of 47 total)

1 [2](https://wordpress.org/support/users/backbone/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/backbone/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/backbone/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/backbone/replies/page/2/?output_format=md)