Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - secmoroccoprd - missing tags / metadata on posts #486

Open
SophieAmnesty opened this issue Nov 21, 2024 · 4 comments
Open

Bug - secmoroccoprd - missing tags / metadata on posts #486

SophieAmnesty opened this issue Nov 21, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@SophieAmnesty
Copy link

Describe the bug
Content type tag is missing from post thumbnails.

And metadata is missing on the post itself.

To Reproduce
Steps to reproduce the behavior:

  1. add post
  2. add tags
  3. publish
  4. view post has no visible tags on the front end or publish date

Expected behaviour
posts should show the publish date and the tags on the front end. the content type tag should show in post lists.

Actual behaviour
tags and date not visible.

Link to a page where the bug is reproduced in isolation (optional)
https://secmoroccoprd.wpenginepowered.com/monde-ce-quil-faut-savoir-au-sujet-du-sommet-sur-le-climat-cop29/
https://secmoroccoprd.wpenginepowered.com/israel-et-territoire-palestinien-occupe-la-loi-interdisant-lunrwa-est-une-criminalisation-de-laide-humanitaire/

Screenshots
content type tag missing:
image

publish date and social share icons should be here:
image

tags should be here:
image

Platform:
https://www.whatsmybrowser.org/b/UILZ7

@AmnestyAM
Copy link
Contributor

Hi @SophieAmnesty

Looking at the templates https://secmoroccoprd.wpenginepowered.com/wp-admin/site-editor.php?postId=humanity-theme%2F%2Fsingle&postType=wp_template&canvas=edit it looks like they may have translated the template name, so it might be broken if the name is needed.

If I look at the difference between our templates and theirs, it looks like they deleted a bunch of stuff..

https://secmoroccoprd.wpenginepowered.com/wp-admin/site-editor.php?postId=humanity-theme%2F%2Fsingle&postType=wp_template&canvas=edit

This is what should be in the template



<!-- wp:group {"tagName":"main"} -->
<main class="wp-block-group">
    
    <!-- wp:group {"tagName":"div","className":"container has-gutter"} -->
    <div class="wp-block-group container has-gutter">
        <!-- wp:group {"tagName":"div","className":"article-container"} -->
        <div class="wp-block-group article-container">
            <!-- wp:group {"tagName":"section","className":"article has-sidebar"} -->
<section class="wp-block-group article has-sidebar">
	<!-- wp:group {"tagName":"header","className":"article-header"} -->
	<header class="wp-block-group article-header">
		
		<!-- wp:post-title {"level":1,"className":"article-title"} /-->
	</header>
	<!-- /wp:group -->
	<!-- wp:group {"tagName":"article","className":"article-content"} -->
	<article class="wp-block-group article-content">
		<!-- wp:post-content /-->
	</article>
	<!-- /wp:group -->
</section>
<!-- /wp:group -->

            <!-- wp:amnesty-core/sidebar /-->
        </div>
        <!-- /wp:group -->
    </div>
    <!-- /wp:group -->
</main>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer","theme":"humanity-theme","area":"footer","className":"amnesty-footer-template-part"} /-->

https://secmoroccoprd.wpenginepowered.com/wp-admin/site-editor.php?postId=humanity-theme%2F%2Fsingle&postType=wp_template&canvas=edit

And it should be named Single Posts

Thanks,

@AmnestyAM
Copy link
Contributor

actually I might be wrong here....

@SophieAmnesty
Copy link
Author

the part about the metadata on the posts itself is fixed now. I restored the single post template to default theme settings.
image

@SophieAmnesty
Copy link
Author

however, the tags still aren't showing on post lists:

image

e.g. on the home page: https://secmoroccoprd.wpenginepowered.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To do
Development

No branches or pull requests

2 participants