banesto
Forum Replies Created
-
Same story.. Google blocks my server IP even if I marked them as legit. Searching for solution..
Forum: Plugins
In reply to: [WP-LESS] capistrano recipewithin wordpress this compiles all stylesheets, but how can this action be triggered in shell?
$less = WPLessPlugin::getInstance(); $less->processStylesheets(true);
Forum: Plugins
In reply to: [WP-LESS] Disappearing CSS file from uploads/wp-lessWell, I have 1.5.3 and it happened too. I got error that one generated css file is missing. I fixed this issue by disabling/enabling the plugin, but that’s strange behavior.
Forum: Plugins
In reply to: [SlidePress] slidepress break visual editor, makes jQuery errorsi got it, gallery ID was messed up with inappropriate characters and that was the reason..
Forum: Fixing WordPress
In reply to: Error 404 on pagination when changing posts_per_page on query_postswhile debugging i found out that default posts per page option should be less than any custom posts_per_page in query_posts function. That’s all. Weird, but that’s the fact.
Forum: Plugins
In reply to: Custom taxonomy is not showing in nav menuThanks for this post! I think I just saved at least 20 minutes of my time on this issue.
Forum: Plugins
In reply to: [Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] custom post taxonomy not savingThanks! That worked!
Forum: Plugins
In reply to: [Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] Custom post type supportThanks for the plugin!
I changed some lines to match my own needs – i don’t need custom post root feature as it’s implemented. My custom post type root is a custom rewrite rule, not existent page. So I changedline 748:
/*$breadcrumb = $this->add(new bcn_breadcrumb(get_the_title($posts_id), $this->opt['post_page_prefix'], $this->opt['post_page_suffix']));*/ $breadcrumb = $this->add(new bcn_breadcrumb( $wp_post_types[$type->post_type]->labels->name, $this->opt['post_page_prefix'], $this->opt['post_page_suffix']));
and line 758:
//$breadcrumb->set_anchor($this->opt['blog_anchor'], get_permalink($posts_id)); $breadcrumb->set_anchor($this->opt['blog_anchor'], get_option('home') . '/' . $wp_post_types[$type->post_type]->rewrite['slug'] . '/');
Well it’s a dirty hack, you have to set some page as a root.
Forum: Fixing WordPress
In reply to: Permalinks 404 with custom post type.I’ve managed to accomplish exactly what i needed with custom post type rewrite rules. Here’s a brief explanation and code
Forum: Developing with WordPress
In reply to: Pages and Posts DisappearedI’ve got something similar – on every public page – 404 Not found and in the Admin section – posts and pages are vanished, but there are post and page count present which seems strange. This happened when I moved 2 wordpress sites from php 5.2.6 to php 5.3.3 and I found out that one plugin was causing all the stress – eventcalendar3. So i recommend to disable all plugins or one by one to see any changes.
it can be healed this way:
change line 44 from:
$getParentPages = get_pages('child_of='.$parentInfo->post_parent.'&parent='.$parentInfo->post_parent.'&'.$getPagesQuery);
to:
$getParentPages = get_pages($getPagesQuery);
and
change line 50 from:
if ($post->post_parent == $getParentPages[$pp]->ID) break;
to:
if ($post->ID == $getParentPages[$pp]->ID) break;
Forum: Plugins
In reply to: [WP-PageNavi] [Plugin: WP-PageNavi] can't save settings on php 5.3.3-1ok, seems like it was a problem with plugin update and php version update. I just replaced pagenavi plugin folder, but was necessary to deactivate and activate.
sorry
Forum: Fixing WordPress
In reply to: Permalinks 404 with custom post type.any updates on this subject?
it seems that function ‘register_post_type’ does not generate new rewrites it’s supposed to.Forum: Fixing WordPress
In reply to: List of links to posts by year, then month (nest)Thanks, MichaelH for the advice!
The first one was the closest to my need, but maybe somebody know how can I show nested YEAR – MONTH arhive without any posts?
in the beginning there’s
+2010
+2009
+2008and by clicking on certain year, user can get expanded list of months in selected year with post count.
Forum: Fixing WordPress
In reply to: Blank search sends you to the homepagei had the same problem and after several hours it’s resolved:
wp version 2.9.2.
in wp-includes/query.php
line 1244:
} elseif ( !empty($qv['s']) ) {
should be changed to:
} elseif ( isset($_GET['s'])) {
and line 1724:
if ( !empty($q['s']) ) {
should be changed to
if ( isset($q['s']) ) {
this way wp will shot all posts if nothing in search bar is entered – exactly the way it’s supposed to do 🙂
for the record – i try to use search as a filter, so it’s not required to enter something specific keywords input, because user can filter posts by categories, users and publish dates.