AMason
Forum Replies Created
-
Forum: Plugins
In reply to: [WP2Social Auto Publish] Error Connecting to FacebookSmap appears to have some problems. Their domain is currently marked as for sale. The only thing left to do is to wait if it’s a temporary problem or look for another solution
Forum: Plugins
In reply to: [Share on Mastodon] A better formatted post/tootThis code seems like it works:
$tags[] = “#” . preg_replace(“/[^\p{L}\p{N}]/u”, ”, $tag->name);
Forum: Plugins
In reply to: [Share on Mastodon] A better formatted post/tootThere are two methods of using these hashtags on the Internet:
- leaving the original diacritical marks
- conversion to their Latin equivalents.
I am a novice user of Mastodon, so I do not know what the practice is.
In WordPress, Polish diacritical marks are converted to their Latin equivalents (lowercase) in links:
ą -> a
ł -> l
ć -> ć
ą -> A -> a
Ł -> L -> lThere must be a function responsible for this.
However, I will try to add them as you indicated.
Forum: Plugins
In reply to: [Share on Mastodon] A better formatted post/tootI have a problem because the script removes diacritics from tags. This means that the word łąka is changed to #ka.
I’m wondering if there is a way to use the get_tag_link function or something similar, which would make more sense for non-english words.
Forum: Plugins
In reply to: [Share on Mastodon] [Request]Thank you for your answer. Snippet added.
Yes, I use the manual thumbnail cropping tool, but if a large thumbnail is being taken, I don’t really need the option in the plugin.
Forum: Themes and Templates
In reply to: [OceanWP] Wrong og:url on tags pageThis issue only occurs on tag and category pages. On the other pages it works fine, but on the tags an category page the link is taken from the first entry.
Forum: Plugins
In reply to: [Share on Mastodon] A better formatted post/tootGreat work! I wish, this hook implemented in plugin core.
I dont need tags in Mastodon post, so i delete lines from 7 to 14. Its work. Should i delete some other lines to optimise?
Forum: Plugins
In reply to: [Orphans] Dodanie cudzysłowaWygląda na to, że jest teraz ok. Naprawdę dobra robota! Dziękuję.
Forum: Plugins
In reply to: [Orphans] Działalnośc tytułowaPrzepraszam, byłem pewien, że usunąłem tego posta, bo chwilę po jego napisaniu zorientowałem się, że ta opcja działa…
Mój błąd.
Ale za to mam inny problem. Na swoim blogu mam w tytułach liczby w nawiasie, np. Tytuł wpisu (24 zdjęcia), próbowałem dodać w opcjach do sierotek ciąg (1, (2, itd., ale WordPress wyrzucał mi błąd z powodu nawiasów:
Warning: preg_replace() [function.preg-replace]: Compilation failed: missing ) at offset 600 in /home/…/sierotki/vendor/iworks/orphan.php on line 75Warning: preg_replace() [function.preg-replace]: Compilation failed: missing ) at offset 608 in /home/sierotki/vendor/iworks/orphan.php on line 84
Forum: Plugins
In reply to: [Author Customization] Autor bio get text from other pluginsI have this plugin: http://wordpress.org/plugins/bottom-of-every-post/
Text putted in options for this plugin is stolen into “bio” (text area) when i’m edit blog post. If i save changes and edit second time (without edit bio), then the text in bio is repeated and doubled. One more time – tripled…