Post ARIkF7mf3FSw20YVHs by futtta@mastodon.social
(DIR) More posts by futtta@mastodon.social
(DIR) Post #ARIeCNvrxJaxWOAmx6 by killyourfm@layer8.space
2023-01-04T12:44:21Z
0 likes, 1 repeats
Can any #Wordpress masters help me with a simple question?I want to eliminate the circled sections from the post summaries on the homepage of https://midreality.com. I know what the source looks like and that I need to eliminate the related span classes, but can't find the right php or css file to edit. I just need a nudge in the right direction. Thank you!
(DIR) Post #ARIeigXKJz6wUJ5yHg by duckunix@fosstodon.org
2023-01-04T12:50:04Z
0 likes, 0 repeats
@killyourfm I think that is a theme level setting, so I would check there. Sorry, been a bit since I run WP, so I cannot be more specific.
(DIR) Post #ARIel5LR3X8G0Zg4w4 by futtta@mastodon.social
2023-01-04T12:50:39Z
0 likes, 0 repeats
@killyourfm adding below CSS in Appearance -> Customize -> Extra CSS might do the trick?article .entry-body footer {display: none;}
(DIR) Post #ARIesuIi08864Z8FWK by popey@ubuntu.social
2023-01-04T12:52:00Z
0 likes, 0 repeats
@killyourfm in the Web UI go to Appearance -> Theme Editor. Then you go to page dot php (and some other pages) and search for "Posted in" and you'll find the line you can comment out.
(DIR) Post #ARIf7gNg2MNJFEV9RA by chrishazfun@mstdn.social
2023-01-04T12:54:45Z
0 likes, 0 repeats
@killyourfm One of either two files, index.php or archive.php, each one could be using its own unique formatting in the php.
(DIR) Post #ARIfkdZuOK6rqVnWHw by killyourfm@layer8.space
2023-01-04T13:01:43Z
0 likes, 0 repeats
@futtta AHHH you are a legend! Thank you, Frank! I tried also finding the one of two php files this code should be in (thanks for that guidance @popey!) but for the life of me, couldn't locate the code. Your tip did the trick, thanks!
(DIR) Post #ARIfxL9wBRYEU9huD2 by aukondk@mastodon.social
2023-01-04T13:03:59Z
0 likes, 0 repeats
@killyourfm I had a quick look at the theme (Miniva) and it looks like /inc/template-tags.php has the code which writes the tag spans.It will be overwritten if you update the theme mind so make a note of it or make a child theme.
(DIR) Post #ARIfzMLyiMSIlhImpc by ChrisHardie@mastodon.social
2023-01-04T13:04:22Z
0 likes, 0 repeats
@killyourfm some themes allow for turning these things off via settings. If not, adding additional stand-alone CSS or using filter functions in a child theme will be more long-term-maintenance friendly than editing the theme’s files, which might get reverted the next time you update.
(DIR) Post #ARIgCbWJdVY3ZVS8Qa by killyourfm@layer8.space
2023-01-04T13:06:48Z
0 likes, 0 repeats
@aukondk Ahhhhh, thank you for the knowledge Mr. Ward!
(DIR) Post #ARIkF7mf3FSw20YVHs by futtta@mastodon.social
2023-01-04T13:52:07Z
0 likes, 0 repeats
@killyourfm you're welcome :) it's always better to over-rule CSS this way to avoid any changes in files being overwritten with a theme update :-)