{"id":35873,"date":"2015-04-21T13:52:03","date_gmt":"2015-04-21T13:52:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/genesis-site-title-styles\/"},"modified":"2021-08-03T12:48:12","modified_gmt":"2021-08-03T12:48:12","slug":"genesis-site-title-styles","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/genesis-site-title-styles\/","author":7698158,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.10","stable_tag":"trunk","tested":"5.8.0","requires":"3.8.0","requires_php":"","requires_plugins":"","header_name":"Genesis Site Title Styles","header_author":"Jackie D'Elia and Ginger Coolidge","header_description":"","assets_banners_color":"beb79c","last_updated":"2021-08-03 12:48:12","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=GNJE45UUSUDB6","header_plugin_uri":"https:\/\/github.com\/jdelia\/genesis-site-title-styles","header_author_uri":"https:\/\/jackiedelia.com","rating":5,"author_block_rating":0,"active_installs":100,"downloads":4930,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1176695,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1176695,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":1176695,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":1140759,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1140759,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[356,4445,3821,17002,31875],"plugin_category":[43,59],"plugin_contributors":[82049,88115],"plugin_business_model":[],"class_list":["post-35873","plugin","type-plugin","status-closed","hentry","plugin_tags-css","plugin_tags-genesis","plugin_tags-logo","plugin_tags-site-title","plugin_tags-span","plugin_category-customization","plugin_category-utilities-and-tools","plugin_contributors-cdils","plugin_contributors-txgspice"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/genesis-site-title-styles\/assets\/icon.svg?rev=1176695","icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/genesis-site-title-styles_beb79c.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin adds a span tag around each word in the Genesis site title for separate styling with css. Styling is done with the nth-child() selector.<\/p>\n\n<p>Style each word separately:<\/p>\n\n<p>Style the first word:<\/p>\n\n<p>.site-title span:nth-child(1) {\n    add your styles here\n}<\/p>\n\n<p>Style the second word:<\/p>\n\n<p>.site-title span:nth-child(2) {\n    add your styles here\n}<\/p>\n\n<p>Style the third word:<\/p>\n\n<p>.site-title span:nth-child(3) {\n    add your styles here\n}<\/p>\n\n<p>Read more about <a href=\"https:\/\/jackiedelia.com\/genesis-site-title-styles-plugin\/\">why we created the plugin here along with examples of how to style them<\/a>.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload the entire <code>genesis-site-title-styles<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>That's it! There is no settings panel for this plugin.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='do%20this%20plugin%20require%20the%20genesis%20framework%3F'><h3>Do this plugin require the Genesis Framework?<\/h3><\/dt>\n<dd><p>This plugin is designed for sites running on the Genesis Framework. While you could successfully activate the plugin on a non-Genesis site, it is useless as the code relies on Genesis-specific actions.<\/p><\/dd>\n<dt id='how%20do%20i%20know%20if%20the%20plugin%20is%20working%3F'><h3>How do I know if the plugin is working?<\/h3><\/dt>\n<dd><p>After activating the plugin, each word in your site title should be wrapped in a span tag.<\/p><\/dd>\n<dt id='how%20can%20i%20style%20the%20title%20span%20tags%3F'><h3>How can I style the title span tags?<\/h3><\/dt>\n<dd><p>Add this your style.css in the section for your site title. Your class name may be different than .site-title so substitute as needed.<\/p>\n\n<p>.site-title span:nth-child(1) {\n   add your styles here\n}<\/p>\n\n<p>Above example would target the first word in the site title. Change the number in parenthesis to target another word, span:nth-child(2) would target the second word, and so on.<\/p>\n\n<p>.site-title span:nth-child(2) {\n    color: #99d7da;\n    font-weight: 600;\n}<\/p>\n\n<p>Above example would change the color and font weight of the second word.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.10<\/h4>\n\n<p>Replaced logic to recognize words that contain special characters, diacritical marks and symbols. The plugin now will wrap a span tag around everything separated by a space. Any extra spaces are removed.<\/p>\n\n<p>For example: \u201cBLANCO PR\u00cdBAR\u00ae&nbsp;&nbsp;&nbsp;INC.\u201d<\/p>\n\n<p>will become \u201cBLANCO PR\u00cdBAR\u00ae INC.\u201d and then each word is wrapped in a span tag.<\/p>\n\n<h4>1.01<\/h4>\n\n<p>Edited instructions.<\/p>\n\n<h4>1.0<\/h4>\n\n<p>Released.<\/p>\n\n<h4>0.4<\/h4>\n\n<p>Added lower priority to filter to be sure it loads last.<\/p>\n\n<h4>0.3<\/h4>\n\n<p>Updated code to correct for h1\/p tags. See <a href=\"https:\/\/gist.github.com\/cdils\/9002451#file-genesis-site-title-php\">Github<\/a><\/p>\n\n<h4>0.2<\/h4>\n\n<p>Changed description. Removed Genesis activation requirement.<\/p>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"This plugin adds a span tag around each word in the Genesis site title for separate styling with css. Styling is done with the nth-child() selector.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/35873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=35873"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/anonymized-7698158"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=35873"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=35873"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=35873"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=35873"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=35873"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=35873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}