sharonbeyond
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: HTTPS not evaluated These pages are not served over HTTPS.No this is not fixed; those above urls are shown in google search console’s affected pages
- This reply was modified 1 year, 4 months ago by sharonbeyond.
- This reply was modified 1 year, 4 months ago by sharonbeyond.
Forum: Everything else WordPress
In reply to: need to hide a specific text in home page`@bcworkz Will this code help to fix this :
function hide_text_on_pagination_pages($content) {
// Check if it’s an archive page and not a category page
if (is_archive() && !is_category() && is_paged()) {
// HTML code to hide on pagination pages of archives
$html_to_hide = ‘<div><p style=”font-size:12px”><em>(Originally posted on the <a href=”https://blog.biblesforamerica.org”>Bibles for America Blog</a>)</em></p></div>’;// Remove the HTML code from the content $content = str_replace($html_to_hide, '', $content); } return $content;
}
add_filter(‘the_content’, ‘hide_text_on_pagination_pages’);- This reply was modified 1 year, 5 months ago by sharonbeyond.
Forum: Everything else WordPress
In reply to: need to hide a specific text in home pagebody.blog .entry-content p, :not(.single) .entry-content p
By using this CSS, it takes up the entire content of the home page.
(Originally posted on the Bibles for America Blog). has a separate class name.
We have added a code in function.php to hide the text on the home page and the pagination page (archive page). code:function hide_text_on_homepage($content) { if (is_home() || (is_front_page() && has_body_class('blog'))) { // Text to hide on the homepage $text_to_hide = '(Originally posted on the Bibles for America Blog)'; // Remove the text and empty parentheses from the content $content = str_replace([$text_to_hide, '()'], '', $content); } return $content; } add_filter('the_content', 'hide_text_on_homepage'); function hide_text_on_pagination_pages($content) { if (is_archive() && has_body_class('blog paged')) { // Text to hide on pagination pages of archives $text_to_hide = '(Originally posted on the Bibles for America Blog)'; // Remove the text and empty parentheses from the content $content = str_replace([$text_to_hide, '()'], '', $content); } return $content; } add_filter('the_content', 'hide_text_on_pagination_pages');
For the home page, it works, but not for the pagination page.For example, we need to hide that specific text even in this: https://bfausblogdev.wpengine.com/page/2/
Forum: Everything else WordPress
In reply to: need to hide a specific text in home pageThank you @bcworkz Using your instructions, I was able to hide that specific text in home. There is anyway that can be hidden overall, even in the related posts section. This should be seen only in single post
Forum: Everything else WordPress
In reply to: need to hide a specific text in home page@bcworkz Thank you. https://bfausblogdev.wpengine.com/ in this site home page has a section called moreposts, in that section we have use ACF latest post block..(Originally posted on the Bibles for America Blog). Only this text needs to be hidden in the home page.
Forum: Everything else WordPress
In reply to: WP Menu behavior need to match my main site(jekyll)No, the menu behaviour is different from the Jekyll site I previously described. The blog menu shrinks or moves back for the blog site
Forum: Fixing WordPress
In reply to: Font doesn’t get loaded when visiting the site for first timecan this be fixed in anyother way
it is posted under another category
Forum: Plugins
In reply to: [Yoast SEO] how to enable hreflang tag in yoast seo pluginThank you @jeroenrotty
Forum: Plugins
In reply to: [Yoast SEO] how to enable hreflang tag in yoast seo pluginoptions provided from chatgpt, :
Hreflang Tags with Yoast SEO:
In the Yoast SEO plugin settings, go to the “SEO” tab and click on the “Search Appearance” submenu.
Navigate to the “Languages” tab.
Enable the “Enable hreflang tags” option.
Configure the default language and region settings for your primary site (Site 1).
Add the alternate language versions for Site 1 by clicking the “+ Add Language” button.
For each language, enter the appropriate URL for that language version of the page.
Save the changes- This reply was modified 1 year, 9 months ago by sharonbeyond.
Forum: Developing with WordPress
In reply to: Reusable block need to add in middle of every single post@ashfame Thank you. We’ll try your suggestion.
- This reply was modified 1 year, 10 months ago by sharonbeyond.
Forum: Developing with WordPress
In reply to: Reusable block need to add in middle of every single postHi@psrpinto, Thank you.
> By the middle of every single post, do you mean in between the content of the post, in the post page itself? Or do you mean it would show between posts, in a page that shows the listing of posts?
Yes i need that reusable block to be added in the middle of the every single post content as in the give reference.
In the given reference url, theme is different and that block is added in the theme code whereas this url https://bfablogesdev.wpengine.com/(page i need help) uses a reusable block so now i need to add that same in the customised theme code we’re using
> ?In the?example page?you linked above, are you referring to the “?Necesita ayuda para entender la Biblia?” section?
Yes you’re right referring to this section “?Necesita ayuda para entender la Biblia?” section?
>I’m sure there would be ways to achieve this automatically, without requiring editing every post, but that would likely involve coding a plugin. Alternatively, you could search the?plugin directory?for existing plugins that achieve this, I found?this one?which looks like it could do that, but I haven’t tested it myself.
Not able to find a appropriate plugin to do this, Only way found was manually adding the blcok for every single post but that’s not quite possible- This reply was modified 1 year, 10 months ago by sharonbeyond.
- This reply was modified 1 year, 10 months ago by sharonbeyond.
Forum: Fixing WordPress
In reply to: Featured image length consistentThank you @jawad1234 It works perfectly
Forum: Fixing WordPress
In reply to: Featured image length consistentThank you @jawad1234,
.bfa-reusable–essentials .bfa-entry-image img{
height: 200px !important;
}
This code worked out but the same issue appears to be in few caregory page posts which i have mentioned earlier above.
I am posting link of one category page.Last three posts featured image height varies : https://bfablogdev.wpengine.com/category/salvation/- This reply was modified 2 years ago by sharonbeyond.
- This reply was modified 2 years ago by sharonbeyond.
- This reply was modified 2 years ago by sharonbeyond.
Forum: Fixing WordPress
In reply to: Featured image length consistent@jawad1234 Thank you. But If you have checked the site url which i have added, layout of the home page is different so by using that css it effects the other featured images. In the home page we have a section called “Essentials” in that you can see the featured images height variations