Forum Replies Created

Viewing 15 replies - 16 through 30 (of 44 total)
  • Thread Starter nevrsmer

    (@nevrsmer)

    Hello Priscilla,

    I figured it out. I made a novice mistake. I needed to input the short code in the hook element, not the PHP code.

    Sorry for the bother.

    On another note, I do have another question about breadcrumbs if you have a moment.

    Also, is it possible to change the name of the category in the breadcrumbs and not change the title of the category, which is the H1? It’s just too long, and for mobile, it’s ridiculously long. They want you to use descriptive titles for user experience and SEO, but then they look horrible in breadcrumbs.

    Current Breadcrumb: Home > Costa Rica Wedding Photography > Post Name

    Change to: Home > Gallery

    From what I understand, GP adds information to the title of posts when using the Title Field that’s beneficial for SEO. I know I can change the category title to “Gallery” and have it not appear on the category page, and then create a more descriptive H1 on the category page itself, but this is not the best solution from what I gather.

    Again, sorry for the bother and have a good day.

    Thread Starter nevrsmer

    (@nevrsmer)

    Response to Yoast

    Hello Priscilla,

    Thanks for the quick response!

    Please know I am not a programmer, coder, or developer. As such, I rely heavily on tutorials and support form experts such as yourself to develop our site. So, please keep this in mind when asking questions and providing solutions.

    Clarification: If I remove the entire line “define(‘DISALLOW_FILE_EDIT’, false);” from the wp-config.php file in the public_html directory, using a hook element in GeneratePress Pro allows Yoast Breadcrumbs (YB)to function. I mistakenly stated that if I set it to “true” that YB would work. My apologies.

    All of our plugins are up to date and there are no plugin conflicts. Thanks for sending How to Check for Plugin Conflicts Guide.

    All of our plugins are up to date. The site is built primarily with GeneratePress Pro with GP’s child theme and GenerateBlocks. We are not using a page builder. It is a site that is in development, so it’s a fresh install of WordPress, and all the plugins have been installed within the past month and have been updated as soon as a new version is available.

    We configured YB based on the information provided in these guides:

    1. https://yoast.com/help/implement-wordpress-seo-breadcrumbs/

    2. https://docs.generatepress.com/article/adding-breadcrumbs/

    Steps:

    1. Create a Hook Element in Generate Press
    2. Set hook to: after_entry_title
    3. Set display rules to: Entire site (Just to make sure it was displaying and will refine to select posts later)
    4. Enabled the option Execute Short Codes
    5. Pasted the code below in the field for code
    6. Updated the hook element
    7. Enabled Yoast Breadcrumbs

    ‘<?php
    if ( function_exists(‘yoast_breadcrumb’) ) {
    yoast_breadcrumb( ‘<p id=”breadcrumbs”>’,'</p>’ );
    }
    ?>’

    Notes: I noticed that when creating this hook element, that in the Execute PHP option, it showed: Unable to execute PHP as DISALLOW_FILE_EDIT is defined. I ignored this as I was using the short code option.

    8. Went to a post to verify if working. Instead of breadcrumbs, this appeared on posts: ‘,’
    ‘ ); } ?>

    In looking for a resolution, I found a support topic on GeneratePress in which the issue regarding DISALLOW_FILE_EDIT in the wp-config.php file is mentioned by. For a GP user, it was the cause of YBC not working

    GP Support Topic: https://generatepress.com/forums/topic/install-yoast-breadcrumbs/

    If set to “true” the Theme Editor in Appearance is not available. If set to false, it is available. In either case, YB did not work. So, out of curiosity, I removed the entire line of code – define( ‘DISALLOW_FILE_EDIT’, true );
    – from the wp-config.php file, and Yoast Breadcrumbs works. This also makes the Execute PHP option hook element in GP available. By removing it, however, the Theme Editor is available in the dashboard and is a security vulnerability.

    I also tried another way to implement YB as explained in the section “Using Functions” in this GP Article: https://docs.generatepress.com/article/adding-breadcrumbs/. (I trashed the GP hook element beforehand). This method works even with DISALLOW_FILE_EDIT’ in place (it looks like that rule is not applied to it).

    After reading this, what are your recommendations in order to use the hook element?

    Thank you very much for your time and have a good day!

    Thread Starter nevrsmer

    (@nevrsmer)

    Hello Frank,

    I have a follow-up question if you have a moment.

    How do I disable the message “For WP YouTube Lyte to function optimally, you should enter an YouTube API key in the settings screen..
    “?

    It appears on every page in the backend and is quite annoying. I am not, and will not, be using this API. I’m using a video from a colleague’s YouTube account, and I don’t want to bother them with getting the API.

    Thanks!

    Thread Starter nevrsmer

    (@nevrsmer)

    Hello Shahjahan,

    I cannot find the tools to change the font type, weight and size (I am using the free version, by the way).

    I went to: Name of Contact Form > Preview, and there are not font settings. In Name of Contact Form > Preview > Edit Fields there also are not tools to set font characteristics.

    Also, I don’t see where to input CSS to style the font.

    Could you please explain where to find the tools in Preview to modify the font type, weight, and size?

    Thank you and have a good day!

    Thread Starter nevrsmer

    (@nevrsmer)

    Hello Frank,

    Thank you for the information!

    Have a good day.

    Thread Starter nevrsmer

    (@nevrsmer)

    Hello Shahhahan,

    Thank you for the information!

    Have a good day.

    Thread Starter nevrsmer

    (@nevrsmer)

    Hello José.

    You are very welcome.

    Have a good day.

    Thread Starter nevrsmer

    (@nevrsmer)

    Hello Tom.

    Thanks! That did it. Have a good day.

    Thread Starter nevrsmer

    (@nevrsmer)

    Hi,

    Thanks for the response!

    Thread Starter nevrsmer

    (@nevrsmer)

    Thank you Tom!

    That’s exactly what it says in the description!

    Here it is: “Download this plugin today for free and get 10 folders to organize your WP content. Then unlock unlimited folders with the PRO version for max organization!”

    Anyone with a high-school reading level could understand this.

    On another note, hoe many free plugins do you know of that are not limited in some way?

    On a side note, upon writing this, I did not have this plugin installed. I was merely reading reviews to ascertain what people thought of it. Your negative comments are unfounded and hurt the reputation of this plugin because you don’t know how to read.

    Thread Starter nevrsmer

    (@nevrsmer)

    Hello Jeroen,

    Thank you for the information!

    I have a follow-up question if you have a moment regarding custom PHP templates for styling category pages.

    Re reason we are looking for this option is that the Blog Module in GeneratePress Pro applies its setting site wide to all category pages. We have one category page that is quite different from the other category pages. As such, the site-wide settings preclude our ability to style the unique category page as we want. Hence, the reason for looking for other options to styling category pages.

    From what I understand, category pages use a php template that’s in the theme. In the case of the PHP template in our theme, the classes in this PHP template are applied to all category pages equally. Applying unique classes to a just one category page in this scenario is not possible from what I understand.

    If this is the case, then a custom PHP template would need to be created for the unique category page in question. Is that correct?

    To the Yoast question!!!

    From your response, I gather that you recommend using the default PHP category template for styling category pages. Is that correct? If a custom PHP template is used to style the one category page in question, there should be no issues with Yoast and SEO, given that we are still using a php template to style this category page, albeit a custom one. This would be a better option than using static pages for category pages, right?

    I know there are topics in this email that are not directly related to Yoast and SEO, but it’s necessary to establish the context in order to arrive at the topics in which Yoast is involved.

    Again, many thanks and have a good day!

    Cheers,

    Thread Starter nevrsmer

    (@nevrsmer)

    Hi,

    Thanks for the contact information and quick response! FYI, there is no link on your homepage for pre-sales questions. Perhaps it’s there and I did not see it, though I scoured the page for it.

    I’ll send an email to you guys now.

    Have a good weekend!

    Thread Starter nevrsmer

    (@nevrsmer)

    Hi! Thank you very much for the quick and details response. I really appreciate it.

    Have a good day.

    Cheers!

    Thread Starter nevrsmer

    (@nevrsmer)

    Hello Md Mazedul Islam Khan,

    Thank you for your reply and for wanting to help resolve this issue.

    No, the issue is not reporting on Yoast SEO content analysis. I ran a scan using sitecheckerpro(dotcom). You can see the results of the scan at: https://sitechecker.pro/app/main/project/893437/audit/summary

    There are 4 main issues in the scan’s results: 1. H1 duplicates (7 pages), 2. Description duplicates (2 pages), 3. Title duplicates (same 2 pages), 4. Canonical ≠ URL (connected to the errors with 2 pages).

    H1 Duplicates
    Regarding the H1 duplicate error, all 7 pages are categories. From what I read, having %%page%% in the SEO Title Field in Search Appearance –> Taxonomies –> Categories should prevent H1 duplicates with pages with pagination. That does not seem to be the case.

    Description Duplicates, Title Duplicates, Canonical ≠ URL
    I think that whatever is causing description duplicates, title duplicates, and canonical ≠ URL errors for the same 2 pages are related, as they have to do with the same category. The URLs in question are: mydomain.com/gallery and mydomain.com/gallery/. The URL for the Canonical ≠ URL error is: mydomain.com/gallery.

    In the Yoast Edit Snippet section for this category, I inserted %%page%% at the end for the SEO Title and Meta Description, and in Yoast Edit Snippet –> Avanced –> Cannonical URL, I input: https://mydomain.com.com/gallery/.

    This did not resolve the duplicate errors or the Canonical ≠ URL error.

    Another issue I noticed with pagination is that not all of the pages appear in Google Chrome –> View Page Source. For example, there’s a blog that has 3 pages. When viewing this page in Google Chrome –> View Page Source, it only shows that there are 2 pages (please see below).

    <link rel=”canonical” href=”https://mydomain.com/client-resources/&#8221; />
    <link rel=”next” href=”https://mydomain.com/client-resources/page/2/&#8221; />

    In Yoast Edit Snippet section for this page (it is a category), %%page%% is inserted at the end for the SEO Title and Meta Description.

    Would you happened to know what is causing these issues and how to resolve them? Do you require any additional information to help you determine the cause of these issues? Sorry, I don’t see how to include an image in the message. Also, all instances of our domain has been replaced with mydomain.com.

    Again, thank you for your time and have a good day.

    Cheers!

Viewing 15 replies - 16 through 30 (of 44 total)