taloweb
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Site Redirected for Some UsersIt seems a client malware problem and not a server-related issue…
Forum: Plugins
In reply to: [eShop] Advanced update of products dataok, thanks, here the post in quirm.net forum:
Forum: Fixing WordPress
In reply to: Cleaning WP Databaseyes,I meant that joining is dependent from column content.
thanksForum: Fixing WordPress
In reply to: Cleaning WP Databaseok, but this needs a “semantic” join, i.e. every type of link_category should be known
I hope that wp_links removal in WP 3.5 will simplify such tasks…
Forum: Fixing WordPress
In reply to: Cleaning WP Databaseok, you’re right, but I think that an information is missing or difficult to understand: how can I know where the object_id value of e arow in wp_term_relationship links to wp_posts or wp_links?
Forum: Fixing WordPress
In reply to: java exploit hack in wp 3.3. betaI used a .php file to find infected files and fix it…but I would like to know if the malware entered through a security breach on the server or on WP…
Forum: Plugins
In reply to: Exporting to xml remove html tags in titleI don’t know if exporting is a core WP functionality or a third part extension to the core… You can find in Tools->Exporting ad I think it is embedded in WP standard install…
I thik this is not a Plugin extension, but a core fix (or better a suggestion to fix the core adding an option to export page which tells the code to export title as html without filtering)Forum: Plugins
In reply to: Exporting to xml remove html tags in titleYou are so right! But how to solve my problem without touching this file? Have you any idea?
Forum: Plugins
In reply to: Exporting to xml remove html tags in titleIf someone is insterested I solved it:
you need to modify a wordpress core file:
wp-admin/includes/export.php
row 362<title><?php echo apply_filters( ‘the_title_rss’, $post->post_title );
?></title>modify to
<title><?php echo ($post->post_title ); ?></title>
and it works!
Forum: Requests and Feedback
In reply to: What Should 2011 Hold for WordPress?Thanks for asking our wishes!
I would like
- Improved support for international blogs (avoid using qtranslate plugin)
- less memory usage (WP is very very expensive)
- improved media library (advanced finding of orphans on disk or DB etc)
- EASY custom field attach for post (images, files, numeric fields etc)
in few words: giving a more ‘CMS-like’ structure
Forum: Fixing WordPress
In reply to: WP huge memory usagephp5 before and now…
I’m running in worker mode (worker.c loaded as I can see with apache -l)
I lowered some days ago MaxClients to 50 for worker module here it is current configuration:
<IfModule mpm_worker_module>
StartServers 2
MaxClients 50
MinSpareThreads 15
MaxSpareThreads 35
ThreadsPerChild 15
MaxRequestsPerChild 2
</IfModule>any ideas?
thanksForum: Plugins
In reply to: Custom post type listing ….Are you trying this inside a page template, or in a post?
Whiche file of your theme are you using?
Inside the loop or outside?
Why do you need to show the post ID?Forum: Fixing WordPress
In reply to: how to get a list of custom post type?@vtxyzzy this is not a bad idea, I’ll use your code!
Forum: Fixing WordPress
In reply to: how to get a list of custom post type?vtxyzzy, I have two needs: the first is to show in home all posts and custom posts, and the second need is to have a “place” where to show ONLY custom post type….
dapro, I think you need only to edit your function.php and add these lines: (where ‘Video’ is your custom post type name)
add_filter( 'pre_get_posts', 'my_get_posts' ); function my_get_posts( $query ) { if (!is_admin()) { if (is_search()){ $query->set( 'post_type', array( 'post', 'Video', 'attachment', 'page' )); } } return $query; }
Forum: Fixing WordPress
In reply to: how to get a list of custom post type?this is not a bad idea !
My problem is that I don’t want a dedicated page to list all videos, but I want to use /index.php?post_type=Video syntax.
In this way if I use ‘pre_get_posts’ I can’t show only videos, if I remove this everthing works fine, but videos aren’t shown in home