changing namespace
This commit is contained in:
parent
79660d33a5
commit
1f0d10346a
|
|
@ -28,7 +28,7 @@ $relatedBrochure = get_field('brochure_pdf', $relatedBrochuresPosts[0]->ID) ?? n
|
|||
<?php if ($thematique->parent == 0) : ?>
|
||||
|
||||
|
||||
<p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo __("Les conseillers Homegrade vous guident", "homegrade-blocks__texte-backoffice") ?></p>
|
||||
<p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo __("Les conseillers Homegrade vous guident", "homegrade-blocks") ?></p>
|
||||
<?php else : ?>
|
||||
<p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo $thematique_generale->name ?></p>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ export default function Edit({ attributes, setAttributes }) {
|
|||
value={postTitle}
|
||||
placeholder={__(
|
||||
"Text de placeholder du bloc chapter-header",
|
||||
"homegrade-blocks__texte-backoffice"
|
||||
"homegrade-blocks"
|
||||
)}
|
||||
tagName="h2"
|
||||
allowedFormats={[]}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ $relatedBrochure = get_field('brochure_pdf', $relatedBrochuresPosts[0]->ID) ?? n
|
|||
<div class="homegrade-blocks-chapter-header-block__infos">
|
||||
<?php if ($thematique->parent == 0) : ?>
|
||||
|
||||
<p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo __("Les conseillers Homegrade vous guident", "homegrade-blocks__texte-backoffice") ?></p>
|
||||
<p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo __("Les conseillers Homegrade vous guident", "homegrade-blocks") ?></p>
|
||||
<?php else : ?>
|
||||
<p class="homegrade-blocks-chapter-header-block__page-thematic-title <?php echo "text-" . getThematiqueFamilySlug($thematique_generale->slug) ?>"><?php echo $thematique_generale->name ?></p>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ export default function save({ attributes }) {
|
|||
className="description"
|
||||
onChange={(value) => setAttributes({ blockDescriptionText: value })}
|
||||
value={blockDescriptionText}
|
||||
placeholder={__("Test", "homegrade-blocks__texte-fonctionnel")}
|
||||
placeholder={__("Test", "homegrade-blocks")}
|
||||
tagName="p"
|
||||
allowedFormats={[]}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -25,9 +25,9 @@ function getRessourceIcon($ressource_type)
|
|||
<ul class="homegrade-blocks-kit-presse__press-grid-datas">
|
||||
|
||||
<div class="table_head">
|
||||
<p><?php echo __("Fichier", "homegrade-blocks__texte-fonctionnel") ?></p>
|
||||
<p><?php echo __("Format", "homegrade-blocks__texte-fonctionnel") ?></p>
|
||||
<p><?php echo __("Mise à jour", "homegrade-blocks__texte-fonctionnel") ?></p>
|
||||
<p><?php echo __("Fichier", "homegrade-blocks") ?></p>
|
||||
<p><?php echo __("Format", "homegrade-blocks") ?></p>
|
||||
<p><?php echo __("Mise à jour", "homegrade-blocks") ?></p>
|
||||
</div>
|
||||
<?php foreach ($press_kit_datas as $data) : ?>
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ $relatedPosts = new WP_Query($args);
|
|||
$thematiqueParent = getParentThematique($thematique);
|
||||
$thematiqueColorSlug = getThematiqueFamilySlug($thematiqueParent->slug);
|
||||
?>
|
||||
<article class="homegrade-blocks__texte-fonctionnel">
|
||||
<article class="homegrade-blocks">
|
||||
<h2><?php the_title() ?></h2>
|
||||
<div><?php the_content() ?></div>
|
||||
</article>
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ export default function Edit({ attributes, setAttributes }) {
|
|||
<p>
|
||||
{__(
|
||||
"Ce bloc n'est relié à aucune question. Rattachez-le à une fiche question dans la barre latérale.",
|
||||
"homegrade-blocks__texte-backoffice"
|
||||
"homegrade-blocks"
|
||||
)}
|
||||
</p>
|
||||
</>
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ export default function Edit({ attributes, setAttributes }) {
|
|||
className="homegrade-content-blocks-rich-paragraph"
|
||||
onChange={(value) => setAttributes({ montexte: value })}
|
||||
value={montexte}
|
||||
placeholder={__("Votre Text Monsieur", "homegrade-blocks__texte-fonctionnel")}
|
||||
placeholder={__("Votre Text Monsieur", "homegrade-blocks")}
|
||||
tagName="h2"
|
||||
allowedFormats={[]}
|
||||
style={{ textAlign: textAlignment }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user