Sinopa
Forum Replies Created
-
Forum: Hacks
In reply to: Custom Gravatar not working.You could you please tell me how that would work in the real world? ??
Forum: Hacks
In reply to: ID tag to read-moreOMG! It worked! Thank you, Thank you, Thank you alchymyth ??
Been trying to find a solution on Google, but didn’t find any.Thank again alchymyth. You saved my day ??
Forum: Hacks
In reply to: ID tag to read-moreThank you very much alchymyth ??
I will try it right away ??
Forum: Hacks
In reply to: ID tag to read-more*LOL* Ask and ye will receive a thousand questions in return, but ye will not receive an answer ??
Forum: Hacks
In reply to: ID tag to read-moreThat part I have fixed. I just need to add an id=”” to the read more tag
Forum: Hacks
In reply to: ID tag to read-moreI’m sorry alchymyth, but I just need it without using a lot of time explaining why I need it.
Forum: Hacks
In reply to: ID tag to read-moreOh. Forgot to add that I use the_content, and not excerpt.
Forum: Hacks
In reply to: Comment form in index under postEh… ok???
That made me feel kinda dumb ??
Forum: Themes and Templates
In reply to: Images in post above post titleThank you so very much Digital Raindrops ??
Sorry that I haven’t answered you, but been a way for a couple of days and wordpress was the last thing on my mind yesterday ??
Forum: Themes and Templates
In reply to: Images in post above post titleI’m actually closer to a solution with a little help from Google. The only problem now is that it only shows the first picture. If the post have several pictures it doesn’t show them all.
functions.php
function catch_that_image() { global $post, $posts; $first_img = ''; ob_start(); ob_end_clean(); $output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches); $first_img = $matches [1] [0]; if(empty($first_img)){ //Defines a default image $first_img = "/images/default.jpg"; } return $first_img; }
index.php
<img src="<?php echo catch_that_image() ?>" /> <?php the_title(); ?> <?php the_excerpt(); ?>
Forum: Themes and Templates
In reply to: Images in post above post titleThey are inside the post.
If I move the title below content, then the post text will also be above the title. I just want the images above the title. Not the text. So that will not work.Forum: Themes and Templates
In reply to: Images in post above post titleNo I’m not using the [gallery] shortcode and I knew I would have to modify the loop/content. But I don’t know how.
I’m working on a template for a customer and they just want to upload images to a post and add some text and a post title, but they want the title below the images. I have seen it done before, but I just don’t know how to do it.
Forum: Plugins
In reply to: Need suggestions, I'm looking for a team pluginHi ataglietti. I’m sorry, but due too my workload I havn’t been able to finish your plugin. Right now I don’t even know when I’ll have the time to do it.
Forum: Fixing WordPress
In reply to: Widget text updates outside of the textareaIt’s your trailing / at the end of textarea
<textarea class="widefat" id="<?php echo $this->get_field_id('text'); ?>" name="<?php echo $this->get_field_name('text'); ?>" type="text" />
Try this ??
<textarea class="widefat" id="<?php echo $this->get_field_id('text'); ?>" name="<?php echo $this->get_field_name('text'); ?>" type="text">
Forum: Plugins
In reply to: Need suggestions, I'm looking for a team pluginLet me see if I got this right. You want a widget that displays an picture, with some text of the person in that picture and a link to a page about the person in that picture.
I’ll make it this weekend and upload it to my site, so you can download it from there.