created new data fields in convo and styles
This commit is contained in:
parent
4c0d0df31e
commit
077bbebf99
127
adminstyles.css
127
adminstyles.css
|
@ -17,7 +17,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
|
|||
Author: Hangar.org Tech Lab - hangar.org
|
||||
Author URI: https://hangar.org
|
||||
Description: theme for the <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
|
||||
Version: 1.5.1
|
||||
Version: 1.6.0
|
||||
Tested up to: 6.4
|
||||
Requires PHP: 7.4
|
||||
License: GNU General Public License v3 or later
|
||||
|
@ -2095,13 +2095,20 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
* * * * * * * */
|
||||
|
||||
/* used in
|
||||
* ./template-parts/section-eachpost.php
|
||||
* template-parts/section-eachpost.php
|
||||
* */
|
||||
|
||||
/* used in
|
||||
* ./template-parts/content-xarxaprod-ajut.php
|
||||
* ./template-parts/content-xarxaprod-convo.php
|
||||
* ./template-parts/section-eachpost.php
|
||||
* template-parts/content-xarxaprod-ajut.php
|
||||
* template-parts/content-xarxaprod-convo.php
|
||||
* template-parts/section-eachpost.php
|
||||
* */
|
||||
|
||||
/* used in
|
||||
* archive-xarxaprod-convo.php
|
||||
* page-template/convo-search.php
|
||||
* template-parts/content-xarxaprod-convo.php
|
||||
* template-parts/section-eachconvo.php
|
||||
* */
|
||||
|
||||
/* used in
|
||||
|
@ -2317,48 +2324,11 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .xarxaprod-convo-info-fields {
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .entry-footer {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .entry-footer .xarxaprod-more-convos-header {
|
||||
padding: 2rem 0;
|
||||
font-size: 1.6rem;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .entry-footer .last-convos {
|
||||
padding: 2rem 0;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .entry-footer .last-convos > header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields li,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info li {
|
||||
display: grid;
|
||||
grid-template-columns: 0.75fr 2.25fr;
|
||||
padding: 0.2em 0;
|
||||
border-top: 0.05rem solid #000;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields li:last-of-type,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info li:last-of-type {
|
||||
border-bottom: 0.05rem solid #000;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields li .xarxaprod-label li,
|
||||
|
@ -2379,16 +2349,12 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields dt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info dt {
|
||||
grid-row: 1 / 1;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields dd,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info dt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info dd {
|
||||
grid-row: 1 / 2;
|
||||
display: inline;
|
||||
font-weight: 100;
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields p,
|
||||
|
@ -2397,6 +2363,61 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.xarxaprod-convo .entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-end;
|
||||
min-height: 3.6rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo article.xarxaprod-convo > .xarxaprod-convo-info-fields {
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo article.xarxaprod-convo > .entry-footer {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo article.xarxaprod-convo > .entry-footer .xarxaprod-more-convos-header {
|
||||
padding: 2rem 0;
|
||||
font-size: 1.6rem;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo article.xarxaprod-convo > .entry-footer .last-convos {
|
||||
padding: 2rem 0;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo article.xarxaprod-convo > .entry-footer .last-convos > header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-convo-info-fields li,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-agenda-info li {
|
||||
display: grid;
|
||||
grid-template-columns: 0.75fr 2.25fr;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-convo-info-fields li:first-of-type,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-agenda-info li:first-of-type {
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-convo-info-fields dt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-agenda-info dt {
|
||||
grid-row: 1 / 1;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-convo-info-fields dd,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-agenda-info dd {
|
||||
grid-row: 1 / 2;
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-associat .xarxaprod-associat > section {
|
||||
margin-top: 4em;
|
||||
}
|
||||
|
@ -2556,6 +2577,8 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats .entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-end;
|
||||
min-height: 5.5rem;
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
|
@ -2682,8 +2705,8 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
|
||||
@media screen and (min-width: 48em) {
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields li,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info li {
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-convo-info-fields li,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .single-xarxaprod-convo .xarxaprod-agenda-info li {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -69,7 +69,7 @@ get_header();
|
|||
<content class="archive-posts archive-xarxaprod-convo <?php //xarxaprod_class_posttype(); ?>">
|
||||
<?php while ( $the_query_convo->have_posts() ) : $the_query_convo->the_post(); ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/section', 'eachconvo' ); ?>
|
||||
<?php get_template_part( 'template-parts/section', 'eachconvo' , $the_query_convo); ?>
|
||||
|
||||
<?php endwhile;//end of the loop ?>
|
||||
<?php wp_reset_postdata(); ?>
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
}
|
||||
|
||||
/* used in
|
||||
* ./template-parts/section-eachpost.php
|
||||
* template-parts/section-eachpost.php
|
||||
* */
|
||||
.xarxaprod-card-each {
|
||||
display: flex;
|
||||
|
@ -125,9 +125,9 @@
|
|||
}
|
||||
|
||||
/* used in
|
||||
* ./template-parts/content-xarxaprod-ajut.php
|
||||
* ./template-parts/content-xarxaprod-convo.php
|
||||
* ./template-parts/section-eachpost.php
|
||||
* template-parts/content-xarxaprod-ajut.php
|
||||
* template-parts/content-xarxaprod-convo.php
|
||||
* template-parts/section-eachpost.php
|
||||
* */
|
||||
.xarxaprod-fund-info-fields,
|
||||
.xarxaprod-fund-info-contact-fields {
|
||||
|
@ -178,6 +178,56 @@
|
|||
font-size: $font__size-body*0.8;
|
||||
}
|
||||
}
|
||||
/* used in
|
||||
* archive-xarxaprod-convo.php
|
||||
* page-template/convo-search.php
|
||||
* template-parts/content-xarxaprod-convo.php
|
||||
* template-parts/section-eachconvo.php
|
||||
* */
|
||||
.xarxaprod-convo-info-fields,
|
||||
.xarxaprod-agenda-info {
|
||||
//margin-bottom: 2em;
|
||||
li {
|
||||
padding: 0.2em 0;
|
||||
border-bottom: $border__line;
|
||||
font-size: $font__size-body*1;
|
||||
.xarxaprod-label li {
|
||||
display: inherit;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: inherit;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
font-size: inherit;
|
||||
&:nth-child(n+2):before {
|
||||
content:", ";
|
||||
display:inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
dt,dd {
|
||||
display: inline;
|
||||
font-weight: 100;
|
||||
margin: 0;
|
||||
span {
|
||||
//padding-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
p {
|
||||
grid-row: 1 / 2;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
.xarxaprod-card-each {
|
||||
&.xarxaprod-convo {
|
||||
.entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-end;
|
||||
min-height: $font__size-body * 3.6;
|
||||
}
|
||||
}
|
||||
}
|
||||
.single-xarxaprod-convo {
|
||||
article.xarxaprod-convo {
|
||||
> .xarxaprod-convo-info-fields {
|
||||
padding-top: 2rem;
|
||||
|
@ -202,28 +252,11 @@
|
|||
}
|
||||
.xarxaprod-convo-info-fields,
|
||||
.xarxaprod-agenda-info {
|
||||
margin-bottom: 2em;
|
||||
li {
|
||||
display:grid;
|
||||
grid-template-columns: 0.75fr 2.25fr;
|
||||
padding: 0.2em 0;
|
||||
&:first-of-type{
|
||||
border-top: $border__line;
|
||||
font-size: $font__size-body*1;
|
||||
&:last-of-type{
|
||||
border-bottom: $border__line;
|
||||
}
|
||||
.xarxaprod-label li {
|
||||
display: inherit;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: inherit;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
font-size: inherit;
|
||||
&:nth-child(n+2):before {
|
||||
content:", ";
|
||||
display:inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
dt {
|
||||
|
@ -235,9 +268,6 @@
|
|||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
p {
|
||||
grid-row: 1 / 2;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -413,6 +443,8 @@
|
|||
&.category-activitats {
|
||||
justify-content: flex-start;
|
||||
.entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-end;
|
||||
min-height: $font__size-body * 5.5;
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
|
@ -542,12 +574,14 @@
|
|||
.archive-posts {
|
||||
//grid-template-columns: repeat(2 , minmax(0,1fr));
|
||||
}
|
||||
.single-xarxaprod-convo {
|
||||
.xarxaprod-convo-info-fields,
|
||||
.xarxaprod-agenda-info {
|
||||
li {
|
||||
font-size: $font__size-body*1.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.single-xarxaprod-associat {
|
||||
.xarxaprod-associat {
|
||||
|
|
|
@ -5,7 +5,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
|
|||
Author: Hangar.org Tech Lab - hangar.org
|
||||
Author URI: https://hangar.org
|
||||
Description: theme for the <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
|
||||
Version: 1.5.1
|
||||
Version: 1.6.0
|
||||
Tested up to: 6.4
|
||||
Requires PHP: 7.4
|
||||
License: GNU General Public License v3 or later
|
||||
|
|
126
style.css
126
style.css
|
@ -5,7 +5,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
|
|||
Author: Hangar.org Tech Lab - hangar.org
|
||||
Author URI: https://hangar.org
|
||||
Description: theme for the <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
|
||||
Version: 1.5.1
|
||||
Version: 1.6.0
|
||||
Tested up to: 6.4
|
||||
Requires PHP: 7.4
|
||||
License: GNU General Public License v3 or later
|
||||
|
@ -2036,7 +2036,7 @@ textarea {
|
|||
}
|
||||
|
||||
/* used in
|
||||
* ./template-parts/section-eachpost.php
|
||||
* template-parts/section-eachpost.php
|
||||
* */
|
||||
.xarxaprod-card-each {
|
||||
display: flex;
|
||||
|
@ -2074,9 +2074,9 @@ textarea {
|
|||
}
|
||||
|
||||
/* used in
|
||||
* ./template-parts/content-xarxaprod-ajut.php
|
||||
* ./template-parts/content-xarxaprod-convo.php
|
||||
* ./template-parts/section-eachpost.php
|
||||
* template-parts/content-xarxaprod-ajut.php
|
||||
* template-parts/content-xarxaprod-convo.php
|
||||
* template-parts/section-eachpost.php
|
||||
* */
|
||||
.xarxaprod-fund-info-fields,
|
||||
.xarxaprod-fund-info-contact-fields {
|
||||
|
@ -2139,48 +2139,17 @@ textarea {
|
|||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
article.xarxaprod-convo > .xarxaprod-convo-info-fields {
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
article.xarxaprod-convo > .entry-footer {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
article.xarxaprod-convo > .entry-footer .xarxaprod-more-convos-header {
|
||||
padding: 2rem 0;
|
||||
font-size: 1.6rem;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
article.xarxaprod-convo > .entry-footer .last-convos {
|
||||
padding: 2rem 0;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
article.xarxaprod-convo > .entry-footer .last-convos > header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields,
|
||||
.xarxaprod-agenda-info {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
/* used in
|
||||
* archive-xarxaprod-convo.php
|
||||
* page-template/convo-search.php
|
||||
* template-parts/content-xarxaprod-convo.php
|
||||
* template-parts/section-eachconvo.php
|
||||
* */
|
||||
.xarxaprod-convo-info-fields li,
|
||||
.xarxaprod-agenda-info li {
|
||||
display: grid;
|
||||
grid-template-columns: 0.75fr 2.25fr;
|
||||
padding: 0.2em 0;
|
||||
border-top: 0.05rem solid #000;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields li:last-of-type,
|
||||
.xarxaprod-agenda-info li:last-of-type {
|
||||
border-bottom: 0.05rem solid #000;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields li .xarxaprod-label li,
|
||||
|
@ -2201,16 +2170,12 @@ textarea {
|
|||
}
|
||||
|
||||
.xarxaprod-convo-info-fields dt,
|
||||
.xarxaprod-agenda-info dt {
|
||||
grid-row: 1 / 1;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields dd,
|
||||
.xarxaprod-agenda-info dt,
|
||||
.xarxaprod-agenda-info dd {
|
||||
grid-row: 1 / 2;
|
||||
display: inline;
|
||||
font-weight: 100;
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields p,
|
||||
|
@ -2219,6 +2184,61 @@ textarea {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.xarxaprod-convo .entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-end;
|
||||
min-height: 3.6rem;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo article.xarxaprod-convo > .xarxaprod-convo-info-fields {
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo article.xarxaprod-convo > .entry-footer {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo article.xarxaprod-convo > .entry-footer .xarxaprod-more-convos-header {
|
||||
padding: 2rem 0;
|
||||
font-size: 1.6rem;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo article.xarxaprod-convo > .entry-footer .last-convos {
|
||||
padding: 2rem 0;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo article.xarxaprod-convo > .entry-footer .last-convos > header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo .xarxaprod-convo-info-fields li,
|
||||
.single-xarxaprod-convo .xarxaprod-agenda-info li {
|
||||
display: grid;
|
||||
grid-template-columns: 0.75fr 2.25fr;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo .xarxaprod-convo-info-fields li:first-of-type,
|
||||
.single-xarxaprod-convo .xarxaprod-agenda-info li:first-of-type {
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo .xarxaprod-convo-info-fields dt,
|
||||
.single-xarxaprod-convo .xarxaprod-agenda-info dt {
|
||||
grid-row: 1 / 1;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.single-xarxaprod-convo .xarxaprod-convo-info-fields dd,
|
||||
.single-xarxaprod-convo .xarxaprod-agenda-info dd {
|
||||
grid-row: 1 / 2;
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* used in
|
||||
* template-parts/content-xarxaprod-associat.php
|
||||
* * * * * * * * * */
|
||||
|
@ -2404,6 +2424,8 @@ textarea {
|
|||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats .entry-title {
|
||||
display: inline-flex;
|
||||
align-items: flex-end;
|
||||
min-height: 5.5rem;
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
|
@ -2533,8 +2555,8 @@ textarea {
|
|||
|
||||
@media screen and (min-width: 48em) {
|
||||
|
||||
.xarxaprod-convo-info-fields li,
|
||||
.xarxaprod-agenda-info li {
|
||||
.single-xarxaprod-convo .xarxaprod-convo-info-fields li,
|
||||
.single-xarxaprod-convo .xarxaprod-agenda-info li {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -15,8 +15,6 @@
|
|||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
|
||||
|
||||
<aside cass="xarxaprod-espai-image">
|
||||
<?php
|
||||
if( get_field('xxp_convo_espai_associat') ):
|
||||
|
@ -60,8 +58,6 @@
|
|||
?>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<section class="xarxaprod-convo-info-fields">
|
||||
<ul>
|
||||
<?php if( get_field('xxp_convo_espai_associat') ):
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package Xarxaprod_theme
|
||||
* @used_by page-template/convo-serach.php
|
||||
* @used_by page-template/convo-archive.php
|
||||
*
|
||||
*/
|
||||
?>
|
||||
|
||||
|
@ -16,9 +19,50 @@
|
|||
</a>
|
||||
</h3>
|
||||
|
||||
<?php if( get_field('xxp_convo_apply_end') ): ?>
|
||||
<h6 class="xarxaprod-convo-date"><?php the_field('xxp_convo_apply_end'); ?></h6>
|
||||
|
||||
<section class="xarxaprod-convo-info-fields">
|
||||
<ul>
|
||||
<li class="xarxaprod-convo-info-date">
|
||||
<?php if( get_field('xxp_convo_apply_begin') || get_field('xxp_convo_apply_end') ): ?>
|
||||
<dt>Termini</dt>
|
||||
<dd class="xarxaprod-label item-xxp_convo_dates">
|
||||
<?php if( get_field('xxp_convo_apply_begin') ): ?>
|
||||
<span class="item-xxp_convo_apply_begin">del <?php the_field('xxp_convo_apply_begin'); ?> </span>
|
||||
<?php endif; ?>
|
||||
<?php if( get_field('xxp_convo_apply_end') && !get_field('xxp_convo_apply_begin') ){ echo 'fins'; } ?>
|
||||
<?php if( get_field('xxp_convo_apply_end') ): ?>
|
||||
<span class="item-xxp_convo_apply_end">al <?php the_field('xxp_convo_apply_end'); ?> </span>
|
||||
<?php endif; ?>
|
||||
<?php if( get_field('xxp_convo_apply_text') ): ?>
|
||||
<span class="item-xxp_convo_apply_text"><?php the_field('xxp_convo_apply_text'); ?></span>
|
||||
<?php endif; ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php if( ! get_field('xxp_convo_espai_associat') ): ?>
|
||||
<?php // read here howto ?>
|
||||
<?php // https://www.advancedcustomfields.com/resources/relationship/#display-list-of-posts-with-setuppostdata ?>
|
||||
<?php if( get_field('xxp_convoer_name') ): ?>
|
||||
<li class="xarxaprod-convo-field">
|
||||
<dt></dt>
|
||||
<dd class="xarxaprod-convoer-name"><?php the_field('xxp_convoer_name'); ?></dd>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php else: //exists get_field('xxp_convo_espai_associat')?>
|
||||
<?php $espai_associat_posts = get_field('xxp_convo_espai_associat'); ?>
|
||||
<?php foreach( $espai_associat_posts as $thispost ): ?>
|
||||
<?php // Setup this post for WP functions (variable must be named $post).?>
|
||||
<li class="xarxaprod-convo-espai-associat">
|
||||
<dt></dt>
|
||||
<dd><a href="<?php echo ($thispost->guid);//the_permalink(); ?>"><?php echo ($thispost->post_title); ?><?php //the_title(); ?></a></dd>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php // Reset the global post object so that the rest of the page works correctly.?>
|
||||
<?php endif; //end get_field('xxp_convo_espai_associat') ?>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<section class="excerpt post-excerpt">
|
||||
<?php //the_excerpt() ?>
|
||||
|
@ -45,11 +89,6 @@
|
|||
array('iterate_field' => 'xxp_convo_service')
|
||||
); ?>
|
||||
|
||||
<?php get_template_part(
|
||||
'template-parts/section',
|
||||
'list-checkbox',
|
||||
array('iterate_field' => 'xxp_convo_center')
|
||||
); ?>
|
||||
</aside>
|
||||
|
||||
<nav class="more-link">
|
||||
|
|
|
@ -88,17 +88,49 @@
|
|||
</a>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
|
||||
<section class="xarxaprod-convo-info-fields">
|
||||
<ul>
|
||||
<li class="xarxaprod-convo-info-date">
|
||||
<?php if( get_field('xxp_convo_apply_begin') || get_field('xxp_convo_apply_end') ): ?>
|
||||
|
||||
<h6 class="xarxaprod-deadline">Deadline:
|
||||
<?php //the_field('xxp_convo_apply_begin'); ?>
|
||||
<?php the_field('xxp_convo_apply_end'); ?>
|
||||
</h6>
|
||||
<dt>Termini</dt>
|
||||
<dd class="xarxaprod-label item-xxp_convo_dates">
|
||||
<?php if( get_field('xxp_convo_apply_begin') ): ?>
|
||||
<span class="item-xxp_convo_apply_begin">del <?php the_field('xxp_convo_apply_begin'); ?> </span>
|
||||
<?php endif; ?>
|
||||
<?php if( get_field('xxp_convo_apply_end') && !get_field('xxp_convo_apply_begin') ){ echo 'fins'; } ?>
|
||||
<?php if( get_field('xxp_convo_apply_end') ): ?>
|
||||
<span class="item-xxp_convo_apply_end">al <?php the_field('xxp_convo_apply_end'); ?> </span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if( get_field('xxp_convo_apply_text') ): ?>
|
||||
<h6 class="item-xxp_convo_apply_text"><?php the_field('xxp_convo_apply_text'); ?></h6>
|
||||
<span class="item-xxp_convo_apply_text"><?php the_field('xxp_convo_apply_text'); ?></span>
|
||||
<?php endif; ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php if( ! get_field('xxp_convo_espai_associat') ): ?>
|
||||
<?php // read here howto ?>
|
||||
<?php // https://www.advancedcustomfields.com/resources/relationship/#display-list-of-posts-with-setuppostdata ?>
|
||||
<?php if( get_field('xxp_convoer_name') ): ?>
|
||||
<li class="xarxaprod-convo-field">
|
||||
<dt></dt>
|
||||
<dd class="xarxaprod-convoer-name"><?php the_field('xxp_convoer_name'); ?></dd>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php else: //exists get_field('xxp_convo_espai_associat')?>
|
||||
<?php $espai_associat_posts = get_field('xxp_convo_espai_associat'); ?>
|
||||
<?php foreach( $espai_associat_posts as $thispost ): ?>
|
||||
<?php // Setup this post for WP functions (variable must be named $post).?>
|
||||
<li class="xarxaprod-convo-espai-associat">
|
||||
<dt></dt>
|
||||
<dd><a href="<?php echo ($thispost->guid);//the_permalink(); ?>"><?php echo ($thispost->post_title); ?><?php //the_title(); ?></a></dd>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php // Reset the global post object so that the rest of the page works correctly.?>
|
||||
<?php endif; //end get_field('xxp_convo_espai_associat') ?>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="excerpt post-excerpt">
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark" class="">
|
||||
|
|
Loading…
Reference in New Issue