stipto
Forum Replies Created
-
Forum: Hacks
In reply to: Multisite conditional tag for sub-siteI cracked it, thanks to this post on the WordPress forums. I used $blog_id
Forum: Hacks
In reply to: Multisite conditional tag for sub-siteBump?
Forum: Themes and Templates
In reply to: What's the best css editor@lockettpots: That’s exactly what I was looking for! Only can’t get it to work… But thanks anyway.
Forum: Themes and Templates
In reply to: What's the best css editor@theotherlebowski: I’m on a mac.
@chip Bennet: Like I said, I’d like a solution that doesn’t involve downloading and uploading the files again. So no desktop editors. And, like I said, I already use Firebug (and Chrome Developer tools). But thanks anyway ??Forum: Plugins
In reply to: [Plugin: Shortcodes Ultimate] Using shortcode in another pluginOf course man! Thanks for the great work.
Forum: Plugins
In reply to: [Plugin: Shortcodes Ultimate] Using shortcode in another pluginWhat do you mean, to your plugin?
Forum: Themes and Templates
In reply to: What's the best css editor– bump – Must be someone out there using a better method…
Forum: Plugins
In reply to: [Plugin: Shortcodes Ultimate] Using shortcode in another pluginGreat, thanks! The buttons get printed now except for the last one, and my whole layout is messed up. But I’m getting there ??
Forum: Plugins
In reply to: [Plugin: Shortcodes Ultimate] Using shortcode in another pluginI’ve got it like this, but the variable doesn’t get read (probably I wrote wrong php):
if ($visit_site != "") { $return = '[button link="'.$visit_site.'"] Hi there! [/button]'; do_shortcode( $return ); }
Forum: Plugins
In reply to: [Plugin: Shortcodes Ultimate] Using shortcode in another pluginI’ve got one more! Here goes:
Replace the following with a shortcode button:if ($visit_site != "") { $return .= "<strong><a href='{$visit_site}'"; if (get_option("myrp_embed_visit_site_nofollow") == 1) $return .= " rel='nofollow'"; if (($options & MYRP_VC_NEWWINDOW)) $return .= " target='_blank'"; $return .= " >{$link_text}</a></strong>"; }
This one’s difficult, because I think the variable $visit_site won’t work inside the shortcode.
Forum: Plugins
In reply to: [Plugin: Shortcodes Ultimate] Using shortcode in another pluginThanks!! Works like a charm!!
Forum: Themes and Templates
In reply to: What's the best css editorThanks, I don’t have an option there, but that’s because of the theme I’m using. This theme also has a box where I can edit css, but I was talking about a good css editor, that has neat auto-complete options and on/off buttons next to a line, like firebug.
Forum: Networking WordPress
In reply to: Multisite 404 errorsAh, all fixed now. It had to do with MyReviewPlugin. I will contact them for further support.
Forum: Hacks
In reply to: If is homepageI solved it, put it in another php file and works fine now without the if statement.
Forum: Hacks
In reply to: If is homepageThanks,
I’m using is_front_page() now but it shows up on every page. Maybe because I put it in header.php? But that’s where I want it, above the body and below the menu…