soppezzo
Forum Replies Created
-
Hi Mattyrob! I just installed this Plugin, but I can′t find where to set the User and pass for the new subscribers. For example, let′s say I just subscribed using the subscribing form. I get the confirmation email. But then, when I want to leave a comment, I don′t see where I have to login and I never got the user and pass to do this.
Could you help me with this please?
Thanks in advance!Forum: Plugins
In reply to: [Slideshow] Pagination CirclesI got it! For some reason, the plugin broke when I did the version update. So I tried the uninstall and then installed it again and it worked!
Guess the “reset” thing works for everything!Thanks a ton for your help! ??
Bests!!Forum: Plugins
In reply to: [Slideshow] Pagination CirclesI have this slideshow in my home page, I used this code, which is exactly the one that the plugin gives me when I created the slideshow:
<?php do_action('slideshow_deploy', '852'); ?>
But now, the slideshow is not showing in my homepage any more. I only see this text: “WordPress Slideshow” and an empty space.
BTW, Thanks for helping me with this!Forum: Plugins
In reply to: [Slideshow] Pagination CirclesThe thing was that I had an old version of this plugin. I updated it and now I see those options, but… I don′t see the slideshow ??
This is going from bad to worse… Any idea?
Forum: Plugins
In reply to: [Slideshow] Pagination CirclesOk! I checked this, and it turns out that I do have that option activated:
“Activate buttons (so the user can scroll through the slides)”
But the buttons are not showing on my page. Did this happened to you?Forum: Plugins
In reply to: [Slideshow] Pagination CirclesHey! I have installed the same plugin but I don′t find the pagination buttons. Could you tell me where to find them?
Thanks!
Ok, I found this piece of code, which actually works! It is quite similar to the one I had above, but the other one didn′t work at all. So, Here I leave the right code below. What I need right now, is to show only the excerpt. Does anybody knows how to do this?
<?php $mypages = get_pages('child_of='.$wp_query->post->ID.'&sort_column=post_date&sort_order=desc'); $count = 0; foreach($mypages as $page) { $content = $page->post_content; if(!$content) continue; if($count >= 2) break; $count++; $content = apply_filters('the_content', $content); ?> <h2><a href="<?php echo get_page_link($page->ID) ?>"><?php echo $page->post_title ?></a></h2> <div class="entry"><?php echo $content ?></div> <?php } ?>
Thanks!
Forum: Plugins
In reply to: catch_that_image for pages as well as postsHi there! I need exactly the same, I have a 2 column structure, and I need the page images on the left and the page content on the right.
May day! May day!
Any help would be really appreciated!
Thanks in advance!Forum: Hacks
In reply to: Modifying the "catch_that_image()" function for videosHi again!! Thanks very much for the tips! I had to ask for some extra php help but we figured it out. Here I leave the code:
In functions.php:
function catch_that_iframe() { global $post, $posts; $first_img = ''; ob_start(); ob_end_clean(); $output = preg_match_all('/<iframe.+src=[\'"]([^\'"]+)[\'"].*><\/iframe>/i', $post->post_content, $matches); $first_img = $matches [1] [0]; return $first_img; }
In the html:
<?php $topimg = catch_that_image(); // Find first image of Post $topiframe = catch_that_iframe(); if ($topimg) { echo('<img src="'.$topimg.'">'); } else if ($topiframe) { echo('<iframe src="' . $topiframe . '"></iframe>'); } else { echo('<img src="/images/default.jpg">'); } ?>
This means that if the post contains an image, then put it first. If the post contains a video, then also put it first. But if the post contains nor image neither a video, then, show a “default image”.
Hope this can help anyone else!
Thanks!!Forum: Fixing WordPress
In reply to: 2 column templatePerfect then!!
Thanks a lot!Forum: Fixing WordPress
In reply to: 2 column templateHi WPyogi! I′m using the Responsive template.