### Plugin Installation Steps Source: https://context7_llms Instructions for installing and configuring the Website LLMS.txt WordPress plugin. This involves uploading files, activating the plugin, and accessing its settings. ```shell Upload the plugin files to /wp-content/plugins/website-llms-txt ``` ```WordPress Activate the plugin through the ‘Plugins’ screen in WordPress ``` ```WordPress Use the Settings->LLMS.txt screen to configure the plugin ``` -------------------------------- ### WordPress Get WordPress Button Source: https://context7_llms Illustrates the HTML structure for a 'Get WordPress' button, used in both mobile and desktop header contexts. It links to the WordPress download page. ```html
Get WordPress
``` -------------------------------- ### Jetpack Stats Initialization Source: https://context7_llms Initializes the Jetpack statistics tracking queue (_stq) with view and click tracking data. This snippet is crucial for collecting website analytics via Jetpack. ```javascript _stq = window._stq || []; _stq.push([ "view", JSON.parse("{\"v\":\"ext\",\"blog\":\"108986944\",\"post\":\"215992\",\"tz\":\"0\",\"srv\":\"wordpress.org\",\"j\":\"1:14.6\"}") ]); _stq.push([ "clickTrackerInit", "108986944", "215992" ]); ``` -------------------------------- ### Body and Typography Defaults Source: https://context7_llms Sets the default background color, text color, font family, and font size for the entire body of the website. It also defines line height and initial padding values. ```css body{background-color: var(--wp--preset--color--white);color: var(--wp--preset--color--charcoal-1);font-family: var(--wp--preset--font-family--inter);font-size: var(--wp--preset--font-size--normal);line-height: var(--wp--custom--body--typography--line-height);padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;} ``` -------------------------------- ### CSS Color Utility Classes Source: https://context7_llms This snippet contains CSS rules defining utility classes for applying background and border colors. These classes utilize CSS variables (e.g., --wp--preset--color--...) which are assumed to be defined elsewhere, commonly within a WordPress theme or plugin's stylesheet. They allow for quick application of specific color schemes to elements. ```CSS .has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-charcoal-0-background-color{background-color: var(--wp--preset--color--charcoal-0) !important;}.has-charcoal-1-background-color{background-color: var(--wp--preset--color--charcoal-1) !important;}.has-charcoal-2-background-color{background-color: var(--wp--preset--color--charcoal-2) !important;}.has-charcoal-3-background-color{background-color: var(--wp--preset--color--charcoal-3) !important;}.has-charcoal-4-background-color{background-color: var(--wp--preset--color--charcoal-4) !important;}.has-charcoal-5-background-color{background-color: var(--wp--preset--color--charcoal-5) !important;}.has-light-grey-1-background-color{background-color: var(--wp--preset--color--light-grey-1) !important;}.has-light-grey-2-background-color{background-color: var(--wp--preset--color--light-grey-2) !important;}.has-white-opacity-15-background-color{background-color: var(--wp--preset--color--white-opacity-15) !important;}.has-black-opacity-15-background-color{background-color: var(--wp--preset--color--black-opacity-15) !important;}.has-dark-blueberry-background-color{background-color: var(--wp--preset--color--dark-blueberry) !important;}.has-deep-blueberry-background-color{background-color: var(--wp--preset--color--deep-blueberry) !important;}.has-blueberry-1-background-color{background-color: var(--wp--preset--color--blueberry-1) !important;}.has-blueberry-2-background-color{background-color: var(--wp--preset--color--blueberry-2) !important;}.has-blueberry-3-background-color{background-color: var(--wp--preset--color--blueberry-3) !important;}.has-blueberry-4-background-color{background-color: var(--wp--preset--color--blueberry-4) !important;}.has-pomegrade-1-background-color{background-color: var(--wp--preset--color--pomegrade-1) !important;}.has-pomegrade-2-background-color{background-color: var(--wp--preset--color--pomegrade-2) !important;}.has-pomegrade-3-background-color{background-color: var(--wp--preset--color--pomegrade-3) !important;}.has-acid-green-1-background-color{background-color: var(--wp--preset--color--acid-green-1) !important;}.has-acid-green-2-background-color{background-color: var(--wp--preset--color--acid-green-2) !important;}.has-acid-green-3-background-color{background-color: var(--wp--preset--color--acid-green-3) !important;}.has-lemon-1-background-color{background-color: var(--wp--preset--color--lemon-1) !important;}.has-lemon-2-background-color{background-color: var(--wp--preset--color--lemon-2) !important;}.has-lemon-3-background-color{background-color: var(--wp--preset--color--lemon-3) !important;}.has-purple-1-background-color{background-color: var(--wp--preset--color--purple-1) !important;}.has-purple-2-background-color{background-color: var(--wp--preset--color--purple-2) !important;}.has-purple-3-background-color{background-color: var(--wp--preset--color--purple-3) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-charcoal-0-border-color{border-color: var(--wp--preset--color--charcoal-0) !important;}.has-charcoal-1-border-color{border-color: var(--wp--preset--color--charcoal-1) !important;}.has-charcoal-2-border-color{border-color: var(--wp--preset--color--charcoal-2) !important;}.has-charcoal-3-border-color{border-color: var(--wp--preset--color--charcoal-3) !important;}.has-charcoal-4-border-color{border-color: var(--wp--preset--color--charcoal-4) !important;}.has-charcoal-5-border-color{border-color: var(--wp--preset--color--charcoal-5) !important;}.has-light-grey-1-border-color{border-color: var(--wp--preset--color--light-grey-1) !important;}.has-light-grey-2-border-color{border-color: var(--wp--preset--color--light-grey-2) !important;}.has-white-opacity-15-border-color{border-color: var(--wp--preset--color--white-opacity-15) !important;}.has-black-opacity-15-border-color{border-color: var(--wp--preset--color--black-opacity-15) !important;}.has-dark-blueberry-border-color{border-color: var(--wp--preset--color--dark-blueberry) !important;}.has-deep-blueberry-border-color{border-color: var(--wp--preset--color--deep-blueberry) !important;}.has-blueberry-1-border-color{border-color: var(--wp--preset--color--blueberry-1) !important;}.has-blueberry-2-border-color{border-color: var(--wp--preset--color--blueberry-2) !important;}.has-blueberry-3-border-color{border-color: var(--wp--preset--color--blueberry-3) !important;}.has-blueberry-4-border-color{border-color: var(--wp--preset--color--blueberry-4) !important;}.has-pomegrade-1-border-color{border-color: var(--wp--preset--color--pomegrade-1) !important;}.has-pomegrade-2-border-color{border-color: var(--wp--preset--color--pomegrade-2) !important;}.has-pomegrade-3-border-color{border-color: var(--wp--preset--color--pomegrade-3) !important;}.has-acid-green-1-border-color{border-color: var(--wp--preset--color--acid-green-1) !important;}.has-acid-green-2-border-color{border-color: var(--wp--preset--color--acid-green-2) !important;}.has-acid-green-3-border-color{border-color: var(--wp--preset--color--acid-green-3) !important;}.has-lemon-1-border-color{border-color: var(--wp--preset--color--lemon-1) !important;}.has-lemon-2-border-color{border-color: var(--wp--preset--color--lemon-2) !important;}.has-lemon-3-border-color{border-color: var(--wp--preset--color--lemon-3) !important;}.has-purple-1-border-color{border-color: var(--wp--preset--color--purple-1) !important;}.has-purple-2-border-color{border-color: var(--wp--preset--color--purple-2) !important;}.has-purple-3-border-color{border-color: var(--wp--preset--color--purple-3) !important;} ``` -------------------------------- ### WordPress Script Loading Source: https://context7_llms Demonstrates the inclusion of various JavaScript files for WordPress functionality, including time-related scripts, Jetpack stats, and global header components. These are typically managed by WordPress's enqueuing system. ```html ``` -------------------------------- ### Global CSS Layout and Spacing Source: https://context7_llms Defines core layout behaviors for WordPress blocks, including alignment, margins, and padding. It sets up default block spacing and handles responsive adjustments for different alignment classes. ```css body { margin: 0; }.wp-site-blocks > .alignleft { float: left; margin-right: 2em; }.wp-site-blocks > .alignright { float: right; margin-left: 2em; }.wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }:where(.wp-site-blocks) > * { margin-block-start: 20px; margin-block-end: 0; }:where(.wp-site-blocks) > :first-child { margin-block-start: 0; }:where(.wp-site-blocks) > :last-child { margin-block-end: 0; } ``` -------------------------------- ### WordPress Import Map Configuration Source: https://context7_llms A JSON object defining module import mappings for WordPress's interactivity features. ```json {"imports":{"@wordpress\/interactivity":"https:\/\/wordpress.org\/plugins\/wp-content\/plugins\/gutenberg\/build-module\/interactivity\/index.min.js?ver=ef3cac5f125ae4ad0adb"}} ``` -------------------------------- ### Flex and Grid Layout Properties Source: https://context7_llms Defines styling for flex and grid container layouts, setting properties like gap, wrap, and alignment. This section ensures elements within these layouts are arranged correctly. ```css :root :where(.is-layout-flex){gap: 20px;}:root :where(.is-layout-grid){gap: 20px;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;} ``` -------------------------------- ### Prefetch Speculation Rules Source: https://context7_llms Defines prefetching rules for website navigation to improve performance. Specifies conditions for prefetching links, excluding certain patterns and elements, and sets the eagerness level. ```json { "prefetch": [ { "source": "document", "where": { "and": [ { "href_matches": "/plugins/*" }, { "not": { "href_matches": [ "/plugins/wp-*.php", "/plugins/wp-admin/*", "/plugins/files/*", "/plugins/wp-content/*", "/plugins/wp-content/plugins/*", "/plugins/wp-content/themes/pub/wporg-plugins-2024/*", "/plugins/wp-content/themes/wporg-parent-2021/*", "/plugins/*\?(.+)" ] } }, { "not": { "selector_matches": "a[rel~=\"nofollow\"]" } }, { "not": { "selector_matches": ".no-prefetch, .no-prefetch a" } } ] }, "eagerness": "conservative" } ] } ``` -------------------------------- ### HTML Structure for Plugin Navigation Source: https://context7_llms Defines the HTML structure for the plugin's navigation bar and responsive menu. It includes elements for the site title, plugin title, and navigation controls like menu open/close buttons. ```html

Plugin Directory

Website LLMs.txt