barrykooij / related-posts-for-wp Goto Github PK
View Code? Open in Web Editor NEWRelated Posts for WordPress
Related Posts for WordPress
Add this as textarea option at settings page
Add this as textarea option at settings page
Woops! Something went wrong while linking.Response:
Notice: iconv(): Detected an incomplete multibyte character in input string in C:\server\www\dev\wp-content\plugins\related-posts-for-wp\classes\class-related-word-manager.php on line 170
Notice: iconv(): Detected an incomplete multibyte character in input string in C:\server\www\dev\wp-content\plugins\related-posts-for-wp\classes\class-related-word-manager.php on line 170
Notice: iconv(): Detected an incomplete multibyte character in input string in C:\server\www\dev\wp-content\plugins\related-posts-for-wp\classes\class-related-word-manager.php on line 170
Notice: iconv(): Detected an incomplete multibyte character in input string in C:\server\www\dev\wp-content\plugins\related-posts-for-wp\classes\class-related-word-manager.php on line 170
0
This is on (mostly) WP test data, shouldn't have anything crazy in it.
When there are a lot of posts, it takes a while before the progress bar visually increases. Add a log that is closed by default and can be opened to display live updates of the linking process.
0 = no excerpt.
Did some testing with more than 10.000 posts tonight and the wizard takes forever. Not sure if this can be optimized but will be well worth the try.
But set them to false. They will be autoloaded if they exist in database, saves a query per request.
Like used in https://github.com/barrykooij/what-the-file
I encountered a problem with my local install when I was testing related posts for wp. The problem first appeared when I tried to install another plugin - I was immediately taken to the screen to finish the installation of RPFW again to build the links, thought that was odd. After that I began getting errors that I did not have sufficient permission to activate plugins. I deleted RPFW and other plugin, but still get this error whenever I try to activate any plugin.
mylocalsite.dev/wp-admin/?page=rp4wp_install
You do not have sufficient permissions to access this page.
I tried deleting my user id and setting up another Admin user. No help.
Deleted the cache in the database referring to RPFW. Think this began after the last update on your plugin.
Any suggestions?
I think the experience of selecting related posts manually could be improved by providing some additional information along with the post title. Some quick ideas (I'm sure there are more), listed in order of how helpful I think they'd be:
Thanks for considering!
Post from .org forum: https://wordpress.org/support/topic/feature-request-more-info-or-at-least-a-link-when-adding-related-posts
The Related Posts plugin by Barry crashed 3/4 of the way. Trying to reactivating the Index Wizard resulted in the following error:
Woops! Something went wrong while linking.
Response:
<div id='error'>
<p class='wpdberror'><strong>WordPress database error:</strong> [Duplicate entry '529611-een' for key 'PRIMARY']<br />
<code>INSERT INTO `wp_rp4wp_cache` (`post_id`,`word`,`weight`,`post_type`) VALUES (529611,'een',0.011547,'post')</code></p>
</div><div id='error'>
<p class='wpdberror'><strong>WordPress database error:</strong> [Duplicate entry '529036-één' for key 'PRIMARY']<br />
<code>INSERT INTO `wp_rp4wp_cache` (`post_id`,`word`,`weight`,`post_type`) VALUES (529036,'één',0.003521,'post')</code></p>
</div><div id='error'>
<p class='wpdberror'><strong>WordPress database error:</strong> [Duplicate entry '527724-één' for key 'PRIMARY']<br />
<code>INSERT INTO `wp_rp4wp_cache` (`post_id`,`word`,`weight`,`post_type`) VALUES (527724,'één',0.003691,'post')</code></p>
</div><div id='error'>
<p class='wpdberror'><strong>WordPress database error:</strong> [Duplicate entry '527400-één' for key 'PRIMARY']<br />
<code>INSERT INTO `wp_rp4wp_cache` (`post_id`,`word`,`weight`,`post_type`) VALUES…
What did happen though is that 4 normal posts got added with me as the author and Related Posts link
as the post title (and slug).
When related posts are auto-added, add an option (& filter?) to customise the heading text.
When the user leaves the wizard page and comes back later we automatically skip the already indexed (step 1) or linked (step 2) posts. But the progress bar starts at 0% again because it's total(100%) changed (it's excluding already index/linked posts).
What we need to do is keep the total posts as 100% and update the progress bar on page load relative to all posts. This way the user can see that the wizard isn't starting over again but is continuing where the user left.
Show 'link related posts' screen in overlay, instead of new page
In related-posts-for-wp / classes / class-post-link-manager.php around L361 add a filter around the post title output so we get a chance to trim the post title length if wanted.
Use case: on a blog with post titles differing a lot in length of post title you otherwise get strange height/float issues if using other template design than the default (CSS).
Thanks!
Offer users the option to redirect them to a non finished wizard.
Add this button to settings page.
Save wizard amount of autolinked posts as 'The amount of automatically linked post' option
and less like buttons
E.g. underline and prepend with 1 2 3
-link removed-
After cloning the repository in my plugins directory WordPress doesn't show it on my Plugins overview page. Cache issue maybe?
Let me know if you need login details.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.