Smrth
Forum Replies Created
-
Forum: Reviews
In reply to: [Shortcode Maker] Almost usefulI should rephrase it, when there’s shortcode inside shortcode content it’s not working. If you could wrap
get_post($post_id)->post_content
in index.php on line 270 withdo_shortcode()
that would be great :D.Also, with
wp_insert_post
save_post passes $post_id as param so if you could replace$_POST
withget_post
variable. This is no longer issue for me but in the future someone might try creating shortcodes withwp_insert_post
and shortcodes won’t work asshortcode_list
option is not updated with new value.Other than that, nice plugin. Will edit rating as soon as i find how to do it.
Thanks.
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] Compatibility with qTranslateI had trouble only with Page title in <head>. All languages were together. Couldn’t find the solution so i dropped to wpseo core files. In frontend/class-frontend.php line 308 goes like this:
} else if ( is_singular() ) { $title = $this->get_content_title(); if ( empty( $title ) ) $title_part = $original_title; }
So in front of this elseif statement i added elseif that only applies to pages.
} else if ( is_page() ) { global $q_config; $title = qtrans_use($q_config['language'], $this->get_content_title(), true); }
And this fixed problem.
I apologize because i didn’t read posts above, but i just wanted to share this. ??Forum: Localhost Installs
In reply to: Installing WordPress locally on Windows 7 64 bit?export whole database and not tables.. there is huge difference so instead selecting tables and then export go right away to export..
EDIT: if you are still getting that error find some tutorial on exporting/importing data from mysql, because obviously you are doing something wrong..
Forum: Localhost Installs
In reply to: Installing WordPress locally on Windows 7 64 bit?@mlaungani you don’t even have to read that entry on codex.. its quite simple..
export database(all that’s in it related to wordpress) upload whole wordpress folder from localhost to live and then import sql file to phpmyadmin. and then just update row siteurl and home in wp_options with new url. and that’s it, you are ready to continue what you did on xampp.
cheers, hope you understand it..
ohh.. good.. cant wait for 1.6.2 ??
Forum: Plugins
In reply to: [Goo.gl Shortlinks] [Plugin: Goo.gl Shortlinks] this thingadd_action('publish_portfolio', 'cc_googl_post_save');
solved problem…Forum: Fixing WordPress
In reply to: template_redirect questionfunction portfolio_template_redirect() { $url = $_SERVER['REQUEST_URI']; $url = preg_match('/portfolio/', $url, $matches); if($url) { include('\..\portfolio.php'); exit; } } add_action('template_redirect', 'portfolio_template_redirect');
no need.. here it is….
here’s if you link to single portfolio is portfolio/something/
`function portfolio_template_redirect() {
$url = $_SERVER[‘REQUEST_URI’];
$url = substr($url, -10);
if($url == ‘portfolio/’) {
$url = substr($url, 0, 9);
} elseif($url == ‘/portfolio’) {
$url = substr($url, 1, 10);
}
if($url == ‘portfolio’) {
include(‘\..\page-portfolio.php’);
exit;
}}
add_action(‘template_redirect’, ‘portfolio_template_redirect’);`Forum: Localhost Installs
In reply to: Installing WordPress locally on Windows 7 64 bit?@joeybuddy96
that’s problem with new xampp installation.. i had it every time even through required port were free.. after few hours/day it worked without prob..Forum: Plugins
In reply to: [TDO Mini Forms] [Plugin: TDO Mini Forms] Brokenwhy don’t you try to explain your problem, and then some1 might help you..
Forum: Fixing WordPress
In reply to: Custom Field Queryi give up on this.. its not worthy xD
edit: i wanted to check once more and disabled all plugins and activate one by one.. at the end plugin called Advanced Category Excluder was making problems..
sry that i wasted your time and thanks for all help!
Forum: Fixing WordPress
In reply to: Custom Field Queryis $letter is set, it displays nothing, if is not set display usual thing, posts in that category (as it should work)..
Forum: Fixing WordPress
In reply to: Custom Field Query@chinmoy29 its not working.. wont show posts..
@xdesi yea.. it shows on other blogs but on this one i need, dont work..
Forum: Fixing WordPress
In reply to: Custom Field Queryhere is the result “array(1) { [0]=> string(1) “D” }”
Forum: Fixing WordPress
In reply to: Custom Field Queryand i disabled all plugins to see if one of them had buged this, but still didnt work, also changing theme didnt work..
Forum: Fixing WordPress
In reply to: Custom Field Queryin code its in double quotes.. yes i did it.. $letter have a value of one letter thats selected..