Rubyfire
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Remove title and edit box from Edit Post screenPlace this right after your register_post_type call
remove_post_type_support( 'my_post_type', 'editor' );
Forum: Hacks
In reply to: Shortcode attribute defaults will not overrideThanks… late reply… worked great… It was in a course I was utilizing. Anyhow thanks.
Forum: Fixing WordPress
In reply to: Shortcode not working in Posts but works in PagesI cannot switch my theme as I’m sure it can’t be this theme I’ve used it plenty. It is uDesign. The plugins possibly… ahh should have checked before posting.
———— I tried switching themes also real quick even though I said the above ——————
I’ve tried eveyone of those now and nothing seems to make my shortcodes work in posts… None of them work in posts but have exact functionality they supposed to in pages… Weird. I’ll try asking the theme developer Andon but would you know anything else that could cause an issue such as this?
Forum: Themes and Templates
In reply to: add_options_page FunctionResolved thanks man… Wow… What poor attention to detail. Well got it taken care of now. Thanks Man.
Forum: Themes and Templates
In reply to: add_options_page Functionwow… that is one small detail I did not pay attention too…. I’ll give it a shot and get back. Thanks Curt.
Forum: Themes and Templates
In reply to: Check to see if a category has a parent.Correction I figured out what the get category parent function does and how it works but I don’t think it is what I need for this case. Please correct me if I am wrong and enlighten me to how I might solve this problem.
Forum: Fixing WordPress
In reply to: Moved site to different domain… url looks like site.com//pageyea i feel kinda… iunno… dumb now… lol thx esma for the common sense answer that i should have known anyway… damn… hmm sleep would probably a good thing huh? lol thx again.
Forum: Fixing WordPress
In reply to: Problems moving a wordpress site to another hosthello… I’m having a similar problem but the only problem is, that even though I’m logged in… when I view pages on my site the admin bar doesn’t show at the top? Could either of you help me out?
Forum: Themes and Templates
In reply to: Cannot get the excerpt to show outside the loop… code provided.Got It… for some reasons I never tried
(This works)
$current_post["post_excerpt"]
where I have
(This don’t)
$current_post->post_excerpt
Forum: Themes and Templates
In reply to: shortcode displaying where it pleases not where it is putCorrect me if I’m wrong but shouldn’t this be outputting the excerpts to my posts?
function wptuts_recentposts($atts, $content = null){ global $post; $list_start = '<ul class="recent_posts">'; $list_end = '</ul>'; $output = ''; $recent_posts = wp_get_recent_posts(); foreach( $recent_posts as $current_post ){ get_post($current_post["ID"]); $excerpt = $postid->post_excerpt; $output .= ' <li> <div class="recent_wrapper"> <h4><a href=' . get_permalink($current_post["ID"]) . '>' . $current_post["post_title"].'</a></h4>'. get_the_post_thumbnail($current_post["ID"], array(75,75)) . $excerpt . ' </div> </li>'; } return $list_start . $output . $list_end; } add_shortcode('recent_posts', 'wptuts_recentposts');
Forum: Themes and Templates
In reply to: shortcode displaying where it pleases not where it is putthank you very much man… very very much…
Forum: Themes and Templates
In reply to: shortcode displaying where it pleases not where it is putwell I was just making sure it worked correctly… and then was like what? But I did… I put ul’s div’s… w/e to see if that was the deal.
Forum: Themes and Templates
In reply to: shortcode displaying where it pleases not where it is putHere is the link for reference.. You can check out exactly whats going on..
Resolved… I had alot of extra whitespace in between PHP blocks… in my functions.php
thanks man.
this isn’t working… it keeps giving me the same error saying its in pluggable.php… but with another theme it is fine… I just don’t get what I’m missing