mfal55
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Admin Events List not showing Event TitleActually, never mind… I just realized what was happening. By default there were other items within the Screen Options selected and for some reason it covered up the Title link. Once unchecking, it popped into place.
There is no issue here after all.
Thanks!
Forum: Fixing WordPress
In reply to: Query posts effecting search resultsI figured it out – sorry to have bothered you. For anyone interested, I put this code under the query_string and above the loop:
<?php if (is_search()) { $posts=query_posts($query_string . '&posts_per_page=-1'); } ?>
so the final code looks like:
<?php global $query_string; // grab the search query query_posts( $query_string . "&cat=-3,-6" ); // don't show projects category ?> <?php if (is_search()) { $posts=query_posts($query_string . '&posts_per_page=-1'); } //show all post results regardless of excluded category ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
Again, thanks for all your help!!
Forum: Fixing WordPress
In reply to: Query posts effecting search resultsHi again,
I was wondering if you might help me flush out one more related thing. And again, I’m sure it’s something obvious, but I’m just not seeing it. Now the category I’ve excluded won’t show up in the search results. I saw on this page: https://codex.www.ads-software.com/Creating_a_Search_Page that I can preserve search results if I put this code at the top of the search template (which I’m assuming is my search.php page):<?php global $query_string; $query_args = explode("&", $query_string); $search_query = array(); foreach($query_args as $key => $string) { $query_split = explode("=", $string); $search_query[$query_split[0]] = $query_split[1]; } // foreach $search = new WP_Query($search_query); ?>
I did that, but it doesn’t work. Any thoughts as to what I’m missing here? Again, thanks for your help – I hope this is the end.
Forum: Fixing WordPress
In reply to: Query posts effecting search resultsYES!!! That worked! And now I understand what that means. I read that, but had no reference to what I’d be using that for in my particular case – but now I get it. Thanks so much for your help and patience – I truly appreciate it.
Forum: Fixing WordPress
In reply to: Query posts effecting search resultsHi esmi! Thanks so much for your response. Sadly, I’m not sure what you mean exactly. Would you mind elaborating on this?
Forum: Fixing WordPress
In reply to: Query posts effecting search resultsAnyone? ??
I forgot to mention, using wp 3.0.5.
Forum: Plugins
In reply to: Truncate Nextgen descriptionI also tried this method, but also breaks the page
<?php function truncate($string, $max = 20, $replacement = '') { if (strlen($string) <= $max) { return $string; } $leave = $max - strlen ($replacement); return substr_replace($string, $replacement, $leave); } $descript = $image->description; echo truncate($descript,10,'...'); ?>
My php must be wrong in some way, but my knowledge in this area is super limited.
Any help is greatly appreciated.Thanks!
Forum: Plugins
In reply to: [Connections Business Directory] Connections Custom TemplateThat did the trick! It works now. Thank you so very much!
This probably isn’t the appropriate place where I should mention this, but I think the helpdesk form on the connections-pro website isn’t working and I wanted to inform you of something that doesn’t seem to be working. I wanted to note that the individual Remove buttons aren’t working correctly. If I click remove any of the entry items and then click update, it doesn’t actually remove the item. It is still there when I enter into edit mode again and still on the site. The work around I figured out is by adding another blank of the same entry and then clicking the remove button, then update. Thought you would want to know that.
Also, any chance you’re making a version with all the inline styles and br tags stripped out? I’m finding it difficult to style without having to adjust the class.output.php file, which I fear will just get overwritten when upgraded. I’ve had to remove inline styles, br tags and pull in colons, etc into spans and divs that are outside so that I can style the output the way I need it. It would be wonderful it if all just used divs and spans and no other kind of formatting.
Thanks for the great tool – I look forward to seeing future versions of it. ??
Forum: Fixing WordPress
In reply to: Conditional Meta Data & Custom FieldsThanks stvwlf! Keesiemeijer had the solution. I appreciate your help. ??
Forum: Fixing WordPress
In reply to: Conditional Meta Data & Custom FieldsKeesiemeijer – that’s exactly it! Works perfectly now.
Thanks to both of you for your help!
Forum: Fixing WordPress
In reply to: Conditional Meta Data & Custom FieldsI’m adding this to the single.php page. I’m within the loop and am working on it just above <?php the_content(); ?>. I’m not getting any errors, the else just doesn’t show.
Forum: Fixing WordPress
In reply to: Conditional Meta Data & Custom FieldsThanks – I had it that way too, but it didn’t work. The code below manages to show the custom field when there is one used, but the else doesn’t show just the author when there isn’t the custom field used. I feel like I’m missing something simple that I’m just not seeing.
<?php if ($key="Byline") { echo get_post_meta($post->ID, $key, true); } else { the_author(); } ?>
Forum: Plugins
In reply to: [Plug-In : NextGEN Gallery] Need help with custom gallery templateHi karlotta,
did you ever figure out how to get your template to work? I’m running into the same issue and am stumped. Any advice would be greatly appreciated.thanks!
Hi there,
I am curious to know if anyone has figured out how to add the next/prev links to the carousel images as mentioned above? If so, I’m hoping that someone might share this with the forum?Thanks!!