Eduardo Pittol
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Internal link for a custom home URLHey Michael,
I’m talking about the assessment for the internal link in the content analysis.
I looked for a solution on developer documentation. But I didn’t find anything related as extend the feature.
Thanks for your help and clarification.
Forum: Plugins
In reply to: [W3 Total Cache] Block file writeYes. I don’t imagine changing the default behaviour of the plugin. But a flag to change the behaviour in case like mine.
So no possibility of that can be put on the roadmap?
Forum: Plugins
In reply to: [W3 Total Cache] Block file writeI understand. I control this on my side using environment variable. So I can decide if I enable or not the cache. Normally it is deactivated, but if I want to test something I can enable and test easily on my local environment.
I believe with this flag the developer must assumes the responsibility to manage the settings.
Change the write permission would continue showing the messages on admin. And I don’t think a good experience.
In my case I have another issue that I use Docker Sync and all files have www-data as owner. I could circumvent that.
Forum: Plugins
In reply to: [WooCommerce] Cart is empty after the logoutHi Peter
I solved this removing the hook to destroy the session when the logout is done.
remove_action( 'wp_logout', array( WC()->session, 'destroy_session' ) );
Forum: Fixing WordPress
In reply to: How to use get_post_type_capabilities()Hey @dongsan,
I needed use the get_post_type_capabilities function. When I research about this function, I saw this topic. I didn’t find an cool example for this. So I “hacking” the function to understand its funcionality.
To get the default post capabilities I used this code:
$cap_object = new stdClass();
$cap_object->capability_type = 'post';
$cap_object->capabilities = array();
$capabilities = get_post_type_capabilities($cap_object);
I hope that I helped. So late ??
You must create a upload process. Recently I used this project to do it:
https://github.com/valums/file-uploader/tree/2.1.2
Here is my code:
Nice. I didn’t know about this directive.
Try download again the 3.4.2 version. Delete all directories, minus the wp-content. And upload the downloaded files.
it is strange even. Maybe your host block webftp. I don’t know if this is possible.
Forum: Fixing WordPress
In reply to: Featured product listing thumbnail sizesForum: Fixing WordPress
In reply to: Finding duplicate post IDsProcess the XML with a PHP script and change ID of the posts that is duplicated.
Forum: Fixing WordPress
In reply to: Permalinks problemI agree. In some additional (theme or plucan) code, maybe the rules was altered.
Forum: Fixing WordPress
In reply to: Permalinks problemI don’t must change the htaccess. The wordress manage the rewrite rules internally. Read it:
https://codex.www.ads-software.com/Rewrite_API
You must looking for where has a changing of the default rules. Probally this is the problem.
Forum: Fixing WordPress
In reply to: Permalinks problemI was without a WordPress installation. Now I tested the rewrite rules with the plugin. It should take this rule:
(.?.+?)/page/?([0-9]{1,})/?$
And it take this:
(.?.+?)(/[0-9]+)?/?$
I don’t know why. Maybe some code ‘delete’ the rule.
Forum: Fixing WordPress
In reply to: Please help! my site has suddenly gone blankNow its ok?