Codestar
Forum Replies Created
-
Hi Guys,
Yes. It’s fixed in since v2.1.6
Cheers ??
Hi Guys,
I activated WP Smush plugin on my local, and i did not get any error. BUT yes there is a conflict. you are right.
Why i and @umesh Kumar do not seeing error because we are using
define( ‘SCRIPT_DEBUG’, true ); on locals. when i false it. i am getting error message yes.and @Mayeenul Islam do not using SCRIPT_DEBUG and seeing error. because when you use script debug, js files loading after framework js.
Now, what is the conflict?
Conflict is tooltip plugins. I am using bootstrap’s tooltip plugin. WP Smush using jquery-ui’s tooltip plugin. error message coming from here.
What you can do ?
You need to choose which tooltip plugin you will remove? framework’s or WP Smush’s. My opinion, I need to change my bootstrap tooltip plugin, because we regards for 300K+ users activated this plugin. I will change my tooltip.
Follow: https://github.com/Codestar/codestar-framework/issues/213
( Note for Plugin Authors, As you know bootstrap and jquery is popular tools, you need to find an idea for conflict. because a lot of authors using bootstrap’s tooltip, I will find a solution for my framework, but i think you will see this issue next time, Have a nice day )
Regards, Codestar
Forum: Plugins
In reply to: [The Events Calendar] Conflict with CodeStar framework.Brian, Thanks for reply ??
Yes, also i am using action to 10 in my framework. same solution ??
$this->addAction( 'save_post', 'save_post', 10, 2 );
Have a nice day.
Regards, CodestarForum: Plugins
In reply to: [The Events Calendar] Conflict with CodeStar framework.Hi,
We replyed and found a solution for wpbean ( issue#86 )
Btw, an advise for Plugin Author ( Barry ):
// the-events-calendar/lib/the-events-calendar.class.php // line 412 add_action( 'save_post', array( $this, 'addEventMeta' ), 15, 2 ); // i think this action must be : add_action( 'save_post_' . self::POSTTYPE, array( $this, 'addEventMeta' ), 15, 2 );
because, addEventMeta function have custom “return” for eg.
if ( $post->post_type !== self::POSTTYPE || defined( 'DOING_AJAX' ) { return; }
this returns affect our save_post actions. i think this issue will affect a lot of plugin authors.
Have a nice day, Nice plugin.
Regards, CodestarForum: Themes and Templates
In reply to: Theme Options do not RespondHi,
Your theme is a commercial license. and you can find support from StudioPress
Forum: Fixing WordPress
In reply to: How to center my header background?Hi Terry,
Open the custom-style.css and find style :
#header-container { background: url("https://www.propertiesofsingapore.com/wp-content/uploads/2011/02/Header-Singapore.png") no-repeat scroll 0 0 #FFFFFF; }
replace it so :
#header-container { background: url("https://www.propertiesofsingapore.com/wp-content/uploads/2011/02/Header-Singapore.png") no-repeat scroll 50% 0 #FFFFFF; }
Just i added 50% for background position left ??
Enjoy ??
Forum: Fixing WordPress
In reply to: How to show total posts of current custom taxonomy?Hey wasferraz,
You can get so :
$taxonomy = "portfolio_type"; // register_taxonomy("portfolio_type", .... $post_type = "portfolio"; // register_post_type("portfolio", .... $tag_id = 5; // category id (tag_id) $term = get_term($tag_id, $taxonomy ); $args = array( 'post_type' => $post_type, $taxonomy => $term->name ); echo "Total Posts (".count($myposts = get_posts( $args )).")";