<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nicole Dominguez</title>
    <description>The latest articles on DEV Community by Nicole Dominguez (@sodevious).</description>
    <link>https://dev.to/sodevious</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F318252%2F4b56ec05-d4eb-40a5-9163-f33be68d36df.jpeg</url>
      <title>DEV Community: Nicole Dominguez</title>
      <link>https://dev.to/sodevious</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sodevious"/>
    <language>en</language>
    <item>
      <title>How to Add a Link to Reusable Blocks in the Wordpress Admin Menu</title>
      <dc:creator>Nicole Dominguez</dc:creator>
      <pubDate>Wed, 21 Apr 2021 20:12:30 +0000</pubDate>
      <link>https://dev.to/sodevious/how-to-add-a-link-to-reusable-blocks-in-the-wordpress-admin-menu-5i4</link>
      <guid>https://dev.to/sodevious/how-to-add-a-link-to-reusable-blocks-in-the-wordpress-admin-menu-5i4</guid>
      <description>&lt;p&gt;Sharing this little snippet because it took me way too much time to find this solution!&lt;/p&gt;

&lt;p&gt;Wordpress offers the ability to save blocks as "reusable blocks" with Gutenberg. Often, users may want to manage or import these blocks. To access this page users have to open a post or page, click through to a block, open the options panel, click "Manage Reusable Blocks", etc. To make this easier, this function will add a &lt;code&gt;Reusable Blocks&lt;/code&gt; submenu link in the Pages section of the Wordpress admin.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function add_reusable_blocks_link () {
  add_posts_page( 'Reusable Blocks', 'Blocks', 'edit_posts', 'edit.php?post_type=wp_block', '', 1);
}

add_action('admin_menu', 'add_reusable_blocks_link');
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
  </channel>
</rss>
