kopyright
Forum Replies Created
-
Forum: Plugins
In reply to: [This Day In History] Possibility to add a prefix to dates?Great, looking forward to the update!
Forum: Plugins
In reply to: [This Day In History] Possibility to add a prefix to dates?Right now the widget only reads “1990 something happened”, but for the widget I wanted it to read “Today in 1990 something happened” as I feel it looks a bit nicer.
For the time being I have changed line 74 in tdih-widget.php to this…
echo 'Today in <span class="tdih_event_year">'.$year.'</span>';… but that change gets lost with every update. It would be nice to be able to set an optional standard prefix when the year is shown in the widget.
It’s been a while since I was fluent in PHP, but at around line 73 there could be something like this added I suppose.
if (!empty($prefix_text)) { echo $prefix_text . ' '; }The issue a lot of people seem to have is that Yoast keeps nagging people about updating to the latest version of WordPress even though they already have, yet the message still won’t go away.
Hi @gn_themes
For now I changed line 124 in the custom-gallery.php script to
title="' . esc_attr( $slide['caption'] )instead of'title'. Just need to remember to reapply after the next update… 😀Thanks!
- This reply was modified 7 years, 2 months ago by kopyright.
Aha! It seems like Yoast itself might not be the culprit in this case but a combination of Yoast and the Shortcodes Ultimate plugin.
What you cannot see from the URL above is that the post also includes a shortcode:
[su_custom_gallery source="media: 2306,2305" link="image" width="140" height="140"]The shortcode adds the custom gallery you can see at the bottom of the post. The images linked in the gallery include the keyphrase in their captions, description and alt text.
For some reason is seems that Yoast resolves the shortcode to test the generated actual HTML code against the post’s keyphrase and recognizes this in the (to-be) links as soon as it is part of the image’s description. Keyphrase appearances in the caption and alt text seem to be ignored.
I was able to reproduce this on another post by adding that post’s keyphrase to the relevant images’ description and adding a SU gallery containing those.
This does not happen when simply adding the images to the post through WordPress’ own “Add Media” button. On the other hand I don’t understand why Yoast would consider those links to be outgoing links in the first place, though?
(I have added this to the bug report as well, though I guess you could argue about which plugin actually causes this behaviour)
Hello,
sorry for not being entirely clear on which is what. 🙂
The keyphrase on the website linked above is “19 Raptures” (as it appears in the header)
The link within the post has the text “Independent website” (as in ‘the website of the newspaper called The Independent’) and points to the URL https://www.independent.co.uk/arts-entertainment/lifestyle-gurus-odes-to-recovery-1818102.html
Neither share any similiarities with the keyphrase in question other than the blank space character in the keyphrase.
I tried updating the link text to something completely different (and nonsensical) but the link keyphrase warning still triggers. This also still happens when I change the URL the link is pointing at.
The warning only disappears when I change the keyphrase to something different (“Raptures” instead of “19 Raptures” for example).
Forum: Plugins
In reply to: [Crop-Thumbnails] v1.2 – strange effects when Yoast SEO is runningNot sure about other people’s configurations but the conflicts with Yoast seem to be resolved with 1.2.1
Thanks Volkmar!
Forum: Plugins
In reply to: [Crop-Thumbnails] v1.2 – strange effects when Yoast SEO is runningbtw. I am on the most current pre-5.0 version of WordPress
Forum: Plugins
In reply to: [Glossary] Link to an internal pageThat’s more of an analysis than a solution, though… for now it seems that some post types’ contents can’t be searched for. With already existing entries the only workaround right now seems to be to manually set their creation date to the newest possible date so they appear on the top of the list.
- This reply was modified 8 years, 4 months ago by kopyright.
Forum: Plugins
In reply to: [Glossary] Link to an internal pageAh, I found out something new – I added a new FAQ entry to test some very specific keywords, and as long as I don’t enter a search term in the “Attach” window the entry is listed at the top of the selection (probably because it is sorted by creation date) but it disappears whenever I enter a search term, no matter whether it is included in that entry or not.
- This reply was modified 8 years, 4 months ago by kopyright.
Forum: Plugins
In reply to: [Glossary] Link to an internal pageI tried searching for terms which appear in either the UFAQ entries’ header or body, but no matter what term I enter they never appear in the list of results.
Forum: Plugins
In reply to: [Glossary] Link to an internal pageHm, that’s strange – for me no ufaqs entries show up in the “Attach to existing content” dialogue. I tried deactivating and reactivating both plugins but nothing changed.
Forum: Plugins
In reply to: [Glossary] Link to an internal pageThat would be ufaqs as far as I can tell (from the Ultimate FAQ plugin, https://wordpress.org/plugins/ultimate-faqs/)
Forum: Plugins
In reply to: [Glossary] Link to an internal pageIt’s worth mentioning that the FAQ post type appears in the list of types in which the Glossary should be enabled, so at least they can see each other.