diff --git a/404.php b/404.php index 29da867..d954021 100644 --- a/404.php +++ b/404.php @@ -4,7 +4,7 @@ * * @link https://codex.wordpress.org/Creating_an_Error_404_Page * - * @package Oficina_de_Suport_theme + * @package Xarxaprod_theme */ get_header(); @@ -14,11 +14,11 @@ get_header();
-

+

-

+

    ' . sprintf( esc_html__( 'Potser buscant en els arxius mensuals. %1$s', 'ofisuport' ), convert_smilies( ':)' ) ) . '

    '; - the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=$ofisuport_archive_content" ); + $xarxaprod_archive_content = '

    ' . sprintf( esc_html__( 'Potser buscant en els arxius mensuals. %1$s', 'xarxaprod' ), convert_smilies( ':)' ) ) . '

    '; + the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=$xarxaprod_archive_content" ); the_widget( 'WP_Widget_Tag_Cloud' ); ?> diff --git a/adminstyles.css b/adminstyles.css index efcd8aa..ddc7242 100644 --- a/adminstyles.css +++ b/adminstyles.css @@ -12,23 +12,23 @@ /* -Theme Name: Espai Assessorament - XarxaProd.cat +Theme Name: XarxaProd.cat 2024 Theme URI: https://git.hangar.org/xarxaprod/ Author: Hangar.org Tech Lab - hangar.org Author URI: https://hangar.org -Description: theme for the Espai d'assessorament, projecte oficina de suport de XarxaProd. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla vanderpla.com. Coding template and theme by Jorge - vitrubio.net +Description: theme for the XarxaProd. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla vanderpla.com. Coding template and theme by Jorge - vitrubio.net Version: 1.0.7 Tested up to: 6.2 Requires PHP: 7.4 License: GNU General Public License v3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html -Text Domain: ofisuport +Text Domain: xarxaprod Tags: custom-logo, custom-menu, search,custom post-type, translation-ready This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned. -Epai d'Assessorament, projecte oficina de suport de la XarxaProd.cat theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc. +The Xarxaprod.cat theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. Normalizing styles have been helped along thanks to the fine work of @@ -896,13 +896,13 @@ Add your custom styles in this file so it is easier to update the theme. padding: 0; } -.edit-post-visual-editor__content-area article:not(.type-post) .ofisuport-label { +.edit-post-visual-editor__content-area article:not(.type-post) .xarxaprod-label { margin: 0; padding: 0; display: inline; } -.edit-post-visual-editor__content-area article:not(.type-post) .ofisuport-label li { +.edit-post-visual-editor__content-area article:not(.type-post) .xarxaprod-label li { display: inline-block; margin: 0.1em 0; padding: 0.2em 0.2em 0 0.2em; @@ -949,11 +949,11 @@ Add your custom styles in this file so it is easier to update the theme. text-transform: uppercase; } -.edit-post-visual-editor__content-area .ofisuport-faqs-types ul { +.edit-post-visual-editor__content-area .xarxaprod-faqs-types ul { margin: 0; } -.edit-post-visual-editor__content-area .ofisuport-faqs-types .cat-item { +.edit-post-visual-editor__content-area .xarxaprod-faqs-types .cat-item { display: inline-block; margin: 0.1em 0.5em 0.1em 0; padding: 0.2em 0.2em 0 0.2em; @@ -964,25 +964,25 @@ Add your custom styles in this file so it is easier to update the theme. text-transform: uppercase; } -.edit-post-visual-editor__content-area .ofisuport-faqs-types .current-cat { +.edit-post-visual-editor__content-area .xarxaprod-faqs-types .current-cat { background-color: #ff8d76; } -.edit-post-visual-editor__content-area .ofisuport-faqs-types a { +.edit-post-visual-editor__content-area .xarxaprod-faqs-types a { color: #fff; text-decoration: none; } -.edit-post-visual-editor__content-area .ofisuport-faqs-types a:visited, -.edit-post-visual-editor__content-area .ofisuport-faqs-types a:hover { +.edit-post-visual-editor__content-area .xarxaprod-faqs-types a:visited, +.edit-post-visual-editor__content-area .xarxaprod-faqs-types a:hover { color: #fff; } -.edit-post-visual-editor__content-area .single-ofisuport-ajut article:not(.type-post) .ofisuport-label li { +.edit-post-visual-editor__content-area .single-xarxaprod-ajut article:not(.type-post) .xarxaprod-label li { font-size: 1.1rem; } -.edit-post-visual-editor__content-area .single-ofisuport-ajut article:not(.type-post) .item-os_fund_apply_text { +.edit-post-visual-editor__content-area .single-xarxaprod-ajut article:not(.type-post) .item-os_fund_apply_text { font-size: 1.1rem; } @@ -1161,16 +1161,16 @@ Add your custom styles in this file so it is easier to update the theme. line-height: 1.2; } -.edit-post-visual-editor__content-area .ofisuport-search-form { +.edit-post-visual-editor__content-area .xarxaprod-search-form { display: flex; margin: 0.5rem 0; } -.edit-post-visual-editor__content-area .ofisuport-search-form .search-field { +.edit-post-visual-editor__content-area .xarxaprod-search-form .search-field { padding: 0.5em; } -.edit-post-visual-editor__content-area .ofisuport-search-form .search-submit { +.edit-post-visual-editor__content-area .xarxaprod-search-form .search-submit { z-index: 10; margin: 0; border: none; @@ -1181,7 +1181,7 @@ Add your custom styles in this file so it is easier to update the theme. font-size: 0; } -.edit-post-visual-editor__content-area .ofisuport-icon-search::before { +.edit-post-visual-editor__content-area .xarxaprod-icon-search::before { position: absolute; padding: 0; margin: 0.2rem 0 0 -1.5rem; @@ -1304,8 +1304,8 @@ Add your custom styles in this file so it is easier to update the theme. padding: 0 1rem; } - .edit-post-visual-editor__content-area .ofisuport-destacats, - .edit-post-visual-editor__content-area .ofisuport-featured, + .edit-post-visual-editor__content-area .xarxaprod-destacats, + .edit-post-visual-editor__content-area .xarxaprod-featured, .edit-post-visual-editor__content-area .archive-posts { display: grid; grid-template-columns: repeat(1, 1fr); @@ -1347,23 +1347,23 @@ Add your custom styles in this file so it is easier to update the theme. margin: 0 auto; } - .edit-post-visual-editor__content-area .ofisuport-destacats, - .edit-post-visual-editor__content-area .ofisuport-featured, + .edit-post-visual-editor__content-area .xarxaprod-destacats, + .edit-post-visual-editor__content-area .xarxaprod-featured, .edit-post-visual-editor__content-area .archive-posts { grid-template-columns: repeat(4, 1fr); } - .edit-post-visual-editor__content-area .ofisuport-faqs-aside { + .edit-post-visual-editor__content-area .xarxaprod-faqs-aside { display: flex; flex-direction: row; align-items: center; justify-content: space-between; } - .edit-post-visual-editor__content-area .ofisuport-faqs-aside .ofisuport-search-form:hover, - .edit-post-visual-editor__content-area .ofisuport-faqs-aside .ofisuport-search-form:active, - .edit-post-visual-editor__content-area .ofisuport-faqs-aside .ofisuport-search-form:focus, - .edit-post-visual-editor__content-area .ofisuport-faqs-aside .ofisuport-search-form:target { + .edit-post-visual-editor__content-area .xarxaprod-faqs-aside .xarxaprod-search-form:hover, + .edit-post-visual-editor__content-area .xarxaprod-faqs-aside .xarxaprod-search-form:active, + .edit-post-visual-editor__content-area .xarxaprod-faqs-aside .xarxaprod-search-form:focus, + .edit-post-visual-editor__content-area .xarxaprod-faqs-aside .xarxaprod-search-form:target { flex-grow: 1; } } @@ -1452,8 +1452,8 @@ Add your custom styles in this file so it is easier to update the theme. border-left: 1px solid #000; } .edit-post-visual-editor__content-area .main-navigation a[href^="http://localhost"], - .edit-post-visual-editor__content-area .main-navigation a[href^="http://oficinasuport.xarxaprod.cat"], - .edit-post-visual-editor__content-area .main-navigation a[href^="https://oficinasuport.xarxaprod.cat"] { + .edit-post-visual-editor__content-area .main-navigation a[href^="http://xarxaprod.cat"], + .edit-post-visual-editor__content-area .main-navigation a[href^="https://xarxaprod.cat"] { font-family: "Neue Haas Grotesk Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; border-left: 1px solid #000; } @@ -1678,14 +1678,14 @@ Add your custom styles in this file so it is easier to update the theme. margin: 0.5rem 0; } .edit-post-visual-editor__content-area .main-navigation a[href^="http://localhost"], - .edit-post-visual-editor__content-area .main-navigation a[href^="http://oficinasuport.xarxaprod.cat"], - .edit-post-visual-editor__content-area .main-navigation a[href^="https://oficinasuport.xarxaprod.cat"] { + .edit-post-visual-editor__content-area .main-navigation a[href^="http://xarxaprod.cat"], + .edit-post-visual-editor__content-area .main-navigation a[href^="https://xarxaprod.cat"] { font-family: "Neue Haas Grotesk Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; border-left: none; } .edit-post-visual-editor__content-area .main-navigation a[href^="http://localhost"]::after, - .edit-post-visual-editor__content-area .main-navigation a[href^="http://oficinasuport.xarxaprod.cat"]::after, - .edit-post-visual-editor__content-area .main-navigation a[href^="https://oficinasuport.xarxaprod.cat"]::after, + .edit-post-visual-editor__content-area .main-navigation a[href^="http://xarxaprod.cat"]::after, + .edit-post-visual-editor__content-area .main-navigation a[href^="https://xarxaprod.cat"]::after, .edit-post-visual-editor__content-area .main-navigation .current-menu-item a::after { display: inline-block; content: ""; @@ -1778,8 +1778,8 @@ Add your custom styles in this file so it is easier to update the theme. padding-bottom: 0; } .edit-post-visual-editor__content-area .main-navigation a[href^="http://localhost"]::after, - .edit-post-visual-editor__content-area .main-navigation a[href^="http://oficinasuport.xarxaprod.cat"]::after, - .edit-post-visual-editor__content-area .main-navigation a[href^="https://oficinasuport.xarxaprod.cat"]::after, + .edit-post-visual-editor__content-area .main-navigation a[href^="http://xarxaprod.cat"]::after, + .edit-post-visual-editor__content-area .main-navigation a[href^="https://xarxaprod.cat"]::after, .edit-post-visual-editor__content-area .main-navigation .current-menu-item a::after { margin-top: 5em; } @@ -1794,7 +1794,7 @@ Add your custom styles in this file so it is easier to update the theme. * */ /* used in - * ./template-parts/content-ofisuport-ajut.php + * ./template-parts/content-xarxaprod-ajut.php * ./template-parts/section-eachpost.php * */ @@ -1826,61 +1826,61 @@ Add your custom styles in this file so it is easier to update the theme. margin: 0 0 1.5em; } - .edit-post-visual-editor__content-area .ofisuport-card-each .entry-title, - .edit-post-visual-editor__content-area .ofisuport-card-each h6 { + .edit-post-visual-editor__content-area .xarxaprod-card-each .entry-title, + .edit-post-visual-editor__content-area .xarxaprod-card-each h6 { border-bottom: 1px solid #000; margin: 0; padding: 0.5rem 0; } - .edit-post-visual-editor__content-area .ofisuport-card-each p { + .edit-post-visual-editor__content-area .xarxaprod-card-each p { padding: 0.5rem 0; margin: 0; } - .edit-post-visual-editor__content-area .ofisuport-card-each .more-link { + .edit-post-visual-editor__content-area .xarxaprod-card-each .more-link { display: inline-block; margin-top: 2rem; } - .edit-post-visual-editor__content-area .ofisuport-fund-info-fields, - .edit-post-visual-editor__content-area .ofisuport-fund-info-contact-fields { + .edit-post-visual-editor__content-area .xarxaprod-fund-info-fields, + .edit-post-visual-editor__content-area .xarxaprod-fund-info-contact-fields { display: grid; } - .edit-post-visual-editor__content-area .ofisuport-fund-info-fields .ofisuport-fund-info-field, - .edit-post-visual-editor__content-area .ofisuport-fund-info-contact-fields .ofisuport-fund-info-field { + .edit-post-visual-editor__content-area .xarxaprod-fund-info-fields .xarxaprod-fund-info-field, + .edit-post-visual-editor__content-area .xarxaprod-fund-info-contact-fields .xarxaprod-fund-info-field { padding-bottom: 1rem; border-bottom: 1px solid #000; } - .edit-post-visual-editor__content-area .ofisuport-fund-info-fields h6, - .edit-post-visual-editor__content-area .ofisuport-fund-info-contact-fields h6 { + .edit-post-visual-editor__content-area .xarxaprod-fund-info-fields h6, + .edit-post-visual-editor__content-area .xarxaprod-fund-info-contact-fields h6 { font-size: 2.4rem; font-variant: all-petite-caps; } - .edit-post-visual-editor__content-area .ofisuport-fund-info-fields p, - .edit-post-visual-editor__content-area .ofisuport-fund-info-contact-fields p { + .edit-post-visual-editor__content-area .xarxaprod-fund-info-fields p, + .edit-post-visual-editor__content-area .xarxaprod-fund-info-contact-fields p { margin: 0.5rem 0 0 0; } - .edit-post-visual-editor__content-area .ofisuport-fund-info-fields li, - .edit-post-visual-editor__content-area .ofisuport-fund-info-contact-fields li { + .edit-post-visual-editor__content-area .xarxaprod-fund-info-fields li, + .edit-post-visual-editor__content-area .xarxaprod-fund-info-contact-fields li { font-size: 1.3rem; } - .edit-post-visual-editor__content-area .ofisuport-fund-info-contact-fields .ofisuport-fund-info-field { + .edit-post-visual-editor__content-area .xarxaprod-fund-info-contact-fields .xarxaprod-fund-info-field { margin: 0; } - .edit-post-visual-editor__content-area .ofisuport-fund-info-fields .ofisuport-fund-info-field { + .edit-post-visual-editor__content-area .xarxaprod-fund-info-fields .xarxaprod-fund-info-field { margin: 1rem 0 0.5rem 0; } - .edit-post-visual-editor__content-area .ofisuport-funder-name, - .edit-post-visual-editor__content-area .ofisuport-fund-contact-name, - .edit-post-visual-editor__content-area .ofisuport-fund-web { + .edit-post-visual-editor__content-area .xarxaprod-funder-name, + .edit-post-visual-editor__content-area .xarxaprod-fund-contact-name, + .edit-post-visual-editor__content-area .xarxaprod-fund-web { display: flex; margin: 0; padding: 0; @@ -1890,25 +1890,25 @@ Add your custom styles in this file so it is easier to update the theme. align-items: center; } - .edit-post-visual-editor__content-area .ofisuport-funder-name a, - .edit-post-visual-editor__content-area .ofisuport-fund-contact-name a, - .edit-post-visual-editor__content-area .ofisuport-fund-web a { + .edit-post-visual-editor__content-area .xarxaprod-funder-name a, + .edit-post-visual-editor__content-area .xarxaprod-fund-contact-name a, + .edit-post-visual-editor__content-area .xarxaprod-fund-web a { text-decoration: none; font-size: 0.8rem; } - .edit-post-visual-editor__content-area .ofisuport-filtered-funds { + .edit-post-visual-editor__content-area .xarxaprod-filtered-funds { display: grid; grid: 1fr; } - .edit-post-visual-editor__content-area .ofisuport-filtered-funds .os_fund_target .filter, - .edit-post-visual-editor__content-area .ofisuport-filtered-funds .os_fund_source .filter, - .edit-post-visual-editor__content-area .ofisuport-filtered-funds .os_fund_field .filter { + .edit-post-visual-editor__content-area .xarxaprod-filtered-funds .os_fund_target .filter, + .edit-post-visual-editor__content-area .xarxaprod-filtered-funds .os_fund_source .filter, + .edit-post-visual-editor__content-area .xarxaprod-filtered-funds .os_fund_field .filter { display: none; } - .edit-post-visual-editor__content-area .ofisuport-filters section { + .edit-post-visual-editor__content-area .xarxaprod-filters section { margin: 1em 0; } @@ -1916,7 +1916,7 @@ Add your custom styles in this file so it is easier to update the theme. grid-template-columns: repeat(1, minmax(0, 1fr)); } - .edit-post-visual-editor__content-area .oficinasuport-titol-opcions { + .edit-post-visual-editor__content-area .xarxaprod-titol-opcions { display: inline-block; width: 100%; max-width: 13em; @@ -1931,13 +1931,13 @@ Add your custom styles in this file so it is easier to update the theme. text-transform: uppercase; } - .edit-post-visual-editor__content-area .oficinasuport-titol-opcions::after { + .edit-post-visual-editor__content-area .xarxaprod-titol-opcions::after { content: ">"; display: inline; float: right; } - .edit-post-visual-editor__content-area .oficinasuport-titol-opcions:hover::after { + .edit-post-visual-editor__content-area .xarxaprod-titol-opcions:hover::after { transform: rotate(90deg); animation: rotate 0.5s; } @@ -1961,16 +1961,16 @@ Add your custom styles in this file so it is easier to update the theme. margin: 0 0 1em; } - .edit-post-visual-editor__content-area .ofisuport-filters section { + .edit-post-visual-editor__content-area .xarxaprod-filters section { display: block; } - .edit-post-visual-editor__content-area .ofisuport-filters section h5 { + .edit-post-visual-editor__content-area .xarxaprod-filters section h5 { display: block; width: 100%; } - .edit-post-visual-editor__content-area .ofisuport-filters section .filter { + .edit-post-visual-editor__content-area .xarxaprod-filters section .filter { display: inline-block; width: 45%; margin-top: 0.5rem; @@ -1978,22 +1978,22 @@ Add your custom styles in this file so it is easier to update the theme. float: left; } - .edit-post-visual-editor__content-area .ofisuport-filters section .filter:last-of-type { + .edit-post-visual-editor__content-area .xarxaprod-filters section .filter:last-of-type { margin-bottom: 2rem; } } @media screen and (min-width: 48em) { - .edit-post-visual-editor__content-area .ofisuport-filters { + .edit-post-visual-editor__content-area .xarxaprod-filters { padding-right: 2em; } - .edit-post-visual-editor__content-area .ofisuport-filters section { + .edit-post-visual-editor__content-area .xarxaprod-filters section { margin: 1em 0; } - .edit-post-visual-editor__content-area .ofisuport-filtered-funds { + .edit-post-visual-editor__content-area .xarxaprod-filtered-funds { grid-template-columns: 1fr 2fr; } @@ -2005,7 +2005,7 @@ Add your custom styles in this file so it is easier to update the theme. @media screen and (min-width: 80em) { - .edit-post-visual-editor__content-area .ofisuport-filtered-funds { + .edit-post-visual-editor__content-area .xarxaprod-filtered-funds { grid-template-columns: 1fr 3fr; } diff --git a/archive-ofisuport-ajut.php b/archive-xarxaprod-ajut.php similarity index 68% rename from archive-ofisuport-ajut.php rename to archive-xarxaprod-ajut.php index 415ac41..bb3b2b2 100644 --- a/archive-ofisuport-ajut.php +++ b/archive-xarxaprod-ajut.php @@ -1,10 +1,10 @@ -
    -