chicchera
Forum Replies Created
-
Forum: Reviews
In reply to: [WP-LESS] Does its job well, could provide better defaultsI wouldn’t do anything the like: one of the things I use most is the ability to include plain css files to diminish server requests, and to do that I have already to unenqueue those files.
thanks for a wonderful plugin, that I use in every single project.
PS I just wish you would add another variable to get the url of WP itself, as it would be handy when transferring sites and to write more generic code.
Sorry, I just saw this post Cannot modify header warning
Forum: Plugins
In reply to: [WPeMatico RSS Feed Fetcher] Support for Post Formats ?see my post: it could help
Forum: Plugins
In reply to: [WPeMatico RSS Feed Fetcher] Post statusforgot to tick it as solved
Forum: Plugins
In reply to: [WPeMatico RSS Feed Fetcher] Post statusI answered myself. The solution is to add an action as follows:
///////////////////////////////////////////////////////////// // filter to change the status of RSS posts imported by // wpematico function chg_rss_post_status($post_id){ // check if it is the correct type of post // in my case posts are added to post type rss-post if(get_post_type( $post_id ) == "rss-post") { // check if is not a revision to avoid an endless loop // this action works only on brand new records if(!wp_is_post_revision($post_id)) { // unhook the action so it doesn't trigger // an endless loop remove_action('save_post','chg_rss_post_status'); // do whatever you have to do // in this case change the post status $post_changes = array( 'ID' => $post_id, 'post_status' => 'pending' ); wp_update_post($post_changes); // rehook the function add_action('save_post','chg_rss_post_status'); } } } add_action('save_post','chg_rss_post_status'); /////////////////////////////////////////////////////////////
The same idea can be extended to deal with automatic tags more finely tuned than the original program, by keyword contained in the title, or to change the post type.
Hope this helps
Forum: Plugins
In reply to: [Asynchronous Javascript] Support for BWP Minify?You are right about high server response time, but I have been able to tweak the system and I now get a very decent time, using both plugins
Thanks, it was my fault and the theme’s loading bits and pieces in a peculiar way. Next I’ll investigate the response time, which is very odd.
Forum: Plugins
In reply to: [Pronamic Google Maps] Does it work in 3.6?Thanks, I didn’t know it
Forum: Themes and Templates
In reply to: [Tonic] Theme does not validateapart from not using w3.org ??
head under the sand, perhaps?Forum: Themes and Templates
In reply to: [Tonic] LocalizationThanks, I didn’t know in which one, if it was in a new one under the child theme, or if I needed to recreate the libraries structure under child or add it to the theme itself. As it turned out I had to add it under themes/tonic/library/languages. Anyway, if somebody needs the Spanish translation just ask.
Forum: Themes and Templates
In reply to: [Tonic] Homepage widgetsnever mind, I hard coded what I needed. It would’ve been handy if the widgets worked…
Forum: Themes and Templates
In reply to: [Tonic] change menu colour?To change the background transparency I’ve used
.navbar-inverse, .navbar-inner{ ....... }
Forum: Themes and Templates
In reply to: [Tonic] How to change the header image?Sorry again, I saw it too late
Thanks a lot. I will have to do a lot of work to check several sites though… well, your help has been invaluable and after I’ve solved the problems I will reinstall BPS
Anyway, I had a quick look at the link, but my .htaccess now looks like this, and I say now because a few days agoe all mu .htaccess had a lot of redirections, and no matter which permissions I set to the file they are changed in few minutes to 644 and all the non wordpress stuff reappears. This happenede after my provider (HostMonster) notified me that there had been an injection of some sort and that they had automatically corrected the file and would continue to do so ??
It is difficult to read because I have left the original formatting, in case tha is of any help.<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_REFERER} ^.*(ladyluck)\.(.*) RewriteRule ^(.*)$ https://ya.ru [R=301,L] </IfModule> # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress ErrorDocument 500 https://ya.ru
and some 50 empty lines after the last one
Sorry, not yet as I was travelling. I’ll have a look later in the evening.