• Resolved persist9

    (@persist9)


    I am using:
    . the WordPress theme Atomic Blocks
    . about 5 Awesome fonts icons, and
    . Lite Speed

    I am having trouble with some broken links.
    I posted this 10 days ago and have not had a response from
    https://wordpress.org/support/theme/atomic-blocks/
    This forum area may be inactive.
    It looks like the previous topic was posted over 3 years ago.

    I ran broken link checker. It only took about 2 minutes.


    I get a broken link from my home page and over 10 other pages

    Out bound No follow
    When I try to open this site, it cannot be found.

    I also get broken links mentioning Font Awesome:


    I am wary about changing themes because, over the years,
    . I have tuned my website to use this theme with about 20 CSS instructions. and
    . I use five awesome fonts icons of arrows.

    I hope you can let me know how to fix these broken links as broken links can harm site ranking?

    **end

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator threadi

    (@threadi)

    The “Atomic Blocks” theme you are using was last updated in 2019. Apparently, the developer has decided to discontinue its development, as its domain no longer exists.

    I’m now unsure which links you mean exactly. When I look at your website, I see a link in the footer from the theme developer to their domain, which no longer exists. I took a quick look at the theme (which I wasn’t familiar with before). This link in the footer is displayed as long as you haven’t placed your own text in the footer. You could enter your own text under Appearance > Customizer > Theme Settings > Footer. Once you have entered something there and saved it, the original link will no longer be displayed.

    I can’t find any other links that no longer work. If you have any others, please specify them so that we can give you tips if necessary.

    As an alternative to the above, and also due to the age and condition of the theme, I would actually recommend changing the theme. You will probably encounter further problems with it soon.

    If you don’t want to change the theme, I would recommend finding someone who can help you with any necessary adjustments to the theme. You can certainly find someone here: https://jobs.wordpress.net

    Thread Starter persist9

    (@persist9)

    Hello Threadi and Jitendra Kumawat,

    Thank you so much for getting back to me so fully and promptly.

    I have edited my footer and the broken link to the atomic blocks site is no longer there. Fixed.

    You ask if there are other broken links. The link checker did pick up three other "404 not found" links that I do not understand. This may be more of a question for Dr Link Check, but if you know what this means could you let me know.

    404 Not found
    https://www.feedbackreigns.net/455https://www.feedbackreigns.net/<a href>RedirectedNoindex
    Linked from: https://www.feedbackreigns.net/

    404 Not found
    https://www.feedbackreigns.net/7707https://www.feedbackreigns.net/<a href>RedirectedNoindex
    Linked from: https://www.feedbackreigns.net/

    404 Not found
    https://www.feedbackreigns.net/7711https://www.feedbackreigns.net/<a href>RedirectedNoindex
    Linked from: https://www.feedbackreigns.net/

    Thanks again.
    Moderator threadi

    (@threadi)

    The three examples all refer to comments on your homepage. If you look at the comments, you will see a link with the date of the comment. This link is incorrectly assembled by the theme, resulting in an incorrect URL being generated.

    The error can be found in the theme in the template-tags.php file on line 112. The link target is:

    <?php echo esc_url( get_comment_link( comment_id() ) ) ?>

    The comment_ID() function outputs the ID of the comment directly. However, what is needed here is a function that returns the ID of the comment, not outputs it. So: get_comment_ID()

    The correct version would then be:

    <?php echo esc_url( get_comment_link( get_comment_ID() ) ) ?>

    Now you have to decide how to deal with this. You have the following options:

    • Adjust the file in the theme yourself as described above. Since there will probably never be any more updates to the theme, this may not be a problem (but it’s not something you would normally do).
    • Or create a child theme where you then overlay this file and set the changes there. Details: https://developer.wordpress.org/themes/advanced-topics/child-themes/ (this would be the correct and modern way)
    • Or post this as bug in the supportforum of the theme (this would be the normal way, but the theme seems dead).
    • Or actually use a different theme that does not have these errors.
    Thread Starter persist9

    (@persist9)

    Those questions are resolved. Once again, thanks.

    Looks like I need to (1) identify a suitable theme that allows me to use the same version of Font Awesome fonts, and (2) study how to make the transition.

    • This reply was modified 1 week, 5 days ago by persist9.
    Moderator threadi

    (@threadi)

    If you’re referring to the font, it’s apparently “Nunito Sans,” a font available from Google Fonts. WordPress supports loading Google Fonts with any block theme, so there are several available to you. See:
    https://wordpress.org/themes/tags/full-site-editing/
    https://wordpress.org/documentation/article/the-font-library/

    Since your website already uses blocks, the effort involved should be minimal. I would recommend using a staging system for testing, and this plugin can help with that: https://wordpress.org/plugins/wp-staging/

    Thread Starter persist9

    (@persist9)

    Choosing a new theme, it would be better if I could use “Font Awesome” icons. I only use five of them for constructing feedback cycle diagrams within tables. (I have many feedback cycles throughout my website.)

    https://fontawesome.com/v5/search?o=r

    Does the Ninito Sans font offer arrows that I could use: left, right, up, down and at least one rotating arrow? Here is a page showing how I use them.

    https://www.feedbackreigns.net/about-2/viewing-hints/

    This is Font Awesome version 5.

    Right, left, up and down arrows

    <i class=”fas fa-long-arrow-alt-right”></i>

    <i class=”fas fa-long-arrow-alt-left”></i>

    <i class=”fas fa-long-arrow-alt-up”></i>

    <i class=”fas fa-long-arrow-alt-down”></i>

    The only free clockwise turning arrow

    <i class=”fas fa-level-down-alt”></i>

    Moderator threadi

    (@threadi)

    There are also themes that use this font. Alternatively, there are plugins that enable it. Nowadays, it’s rare to have to work directly with HTML code. Just take a look around.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.