Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter dsiguy

    (@dsiguy)

    Sorry for all the posts:

    Last question. In the same original block of code, how might I go about excluding one particular category type. I’d like a separate page that lists all categories except ‘sold’

    I’m stumped so far.

    Thanks!

    Thread Starter dsiguy

    (@dsiguy)

    Wow I won’t know for sure until I test it more but I may have licked it already! Does anyone see an issue with my edits code below?

    <div id="content" class="grid_12">
    <?php include_once (TEMPLATEPATH . '/title.php');?>
    <?php global $more;	$more = 0;?>
    <?php $values = get_post_custom_values("category-include"); $cat=$values[0]; ?>
    <?php $catinclude = 'portfolio_category='. $cat='sold' ;?>
    
    <?php $temp = $wp_query;
    $wp_query= null;
    $wp_query = new WP_Query(); ?>
    <?php $wp_query->query("post_type=portfolio&". $catinclude ."&paged=".$paged.'&showposts=9'); ?>
    <?php if ( ! have_posts() ) : ?>
    Thread Starter dsiguy

    (@dsiguy)

    <div id="content" class="grid_12">
    <?php include_once (TEMPLATEPATH . '/title.php');?>
    <?php global $more;	$more = 0;?>
    <?php $values = get_post_custom_values("category-include"); $cat=$values[0]; ?>
    <?php $catinclude = 'portfolio_category='. $cat ;?>
    
    <?php $temp = $wp_query;
    $wp_query= null;
    $wp_query = new WP_Query(); ?>
    <?php $wp_query->query("post_type=portfolio&". $catinclude ."&paged=".$paged.'&showposts=9'); ?>
    <?php if ( ! have_posts() ) : ?>

    Thanks both, you helped me get on the right track.

    Editing the short code did nothing for me. I started to get suspicious, so I removed the short code altogether and refreshed the page – surprise: Nothing changed… the members list was still there. Complete with the Zip Code search.

    So, I went into the Dashboard >> Appearances >> Editor >> members.php

    From TernStyle’s site, there were two lines of code you had to add to create the members.php. The second line was:

    $members->members(array(‘search’=>true,’alpha’=>true,’pagination’=>true,’pagination2’=>true,’sort’=>true));

    I played with it a bit, and by adding–> ‘radius’=>false after the search term, the Zip Code search finally was removed. The line in Members.php now looks like this:

    $members->members(array(‘search’=>true,’radius’=>false,’alpha’=>true,’pagination’=>true,’pagination2’=>true,’sort’=>true));

    Similarly, Alpha refers to the A-Z listing, and changing True to False will remove that. You probably knew that already though.

    Perhaps this is what the two other gents were referring to, but I’m a bit slow. Hope this helps someone.

    Thread Starter dsiguy

    (@dsiguy)

    Just got off the phone with GoDaddy. They were real nice, but the response was that since the form is on my site (and I don’t have access to the customer’s email), the email has to be sent from me, to me. “It would be a complicated and expensive php script well beyond my means that would accomplish what you’re trying to do,” he said. I understand what he’s saying about the customer ostensibly sending email from my website – but it seems strange that some simple lines of code somewhere can’t change the ‘from’ email that hits my inbox.

    Thread Starter dsiguy

    (@dsiguy)

    I probably invested about four hours trying to get CF7 to work on WP / GoDaddy. It was no small feat, but reading enough people say “finally got it to work…” was encouraging.

    Thanks for the recommendation on Gravity Forms. I went to their support site to see if folks had any issues with GoDaddy… there were many! BUT, who knows, perhaps they’re basic questions like mine. I’ll continue to look into it, thank you!

    In the meanwhile if anyone reads this plea for help and something obvious that I’ve missed stands out, please – help!

    Cheers everyone,

    Thread Starter dsiguy

    (@dsiguy)

    My only issue with that goes back to my site being hosted with GoDaddy. The only way to get Contact Forms & WordPress (that someone with my limited level of expertise can figure out) to work with GoDaddy is to go the SMTP Route. I lost quite a bit of hair trying to get the form to work at all over the past month.

    My wife was dissapointed. She liked the hair.

    Thread Starter dsiguy

    (@dsiguy)

    And here’s the screen shot of the Advanced Email Options:

    View post on imgur.com

    Thanks Govpatel – I had my email in there and it didn’t change how form emails came through. Perhaps it’s just unrelated to this problem… I’ve since returned it to being my email.

    Thread Starter dsiguy

    (@dsiguy)

    Yes, let’s see if this works…

    http://i.imgur.com/L1ndj.jpg

    Thread Starter dsiguy

    (@dsiguy)

    Hi, thanks for the quick reponse!

    I did see that earlier, and changed:

    On SETTINGS >> EMAIL, I changed the ‘From Email’ to “Sender Name <sender@example.com>” as the FAQ page described. I then retried the contact form, and emails are still coming in showing the same ‘from’ address as before.

    Under SETTINGS >> GENERAL, what should the “Email-Address” be listed as? Leaving it blank isn’t an option. This is the one with the note “This address is used for admin purposes, like new user notification.”

    Thanks,

    Thread Starter dsiguy

    (@dsiguy)

    Haha Hi again, Esmi,

    I panicked, contacted my hosting provider, and found out how to revert back to an earlier instance of my site. I guess they do daily backups, and I just couldn’t be happier that they do. I appreciate all your help… while the backedup version was also wrong (in terms of my initial issue), at least I got my site back! I built a new page, downloaded some widget/plugins, and I think I’m good to go.

    Workarounds are lovely. Thank you again for your help,
    -B

    Thread Starter dsiguy

    (@dsiguy)

    Ok thanks esmi,

    I re-uploaded all the WP-Admin and WP-Includes files from a fresh download of WP. Now all I get when I load my page is this error:

    Warning: require(/home/content/d/a/t/datsunspirit/html/wp-includes/class-wp-theme.php) [function.require]: failed to open stream: No such file or directory in /home/content/d/a/t/datsunspirit/html/wp-settings.php on line 115

    Fatal error: require() [function.require]: Failed opening required ‘/home/content/d/a/t/datsunspirit/html/wp-includes/class-wp-theme.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/d/a/t/datsunspirit/html/wp-settings.php on line 115

    Things have gone from bad to worse. Appreciate the help.

    Thread Starter dsiguy

    (@dsiguy)

    Thanks esmi,
    I tried deactivating all plugins. Unfortunately the problems persists.

    How difficult is it to revert back to my current state once I attempt your other three suggestions? I’m a bit worries I won’t be able to un-do those actions, or if I muck something up, it too will be beyond my scope of understanding.

    Is it possible to revert to an earlier instance of your site? I know WP autosaves certain pages; does it do it for the whole thing? If I could just get my site back from yesterday morning…

    Thanks,
    Bill

    Thread Starter dsiguy

    (@dsiguy)

    Follow-up: My other widgets (contact page, for example) still work. So it’s just the widgets on the main page. is that Index.php?

Viewing 14 replies - 1 through 14 (of 14 total)