Henry Wythe

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 37 total)
  • Author
    Posts
  • in reply to: link to another CPT record #442107

    Henry Wythe
    Full Member
    Post count: 40
    This reply has been marked as private.
    in reply to: link to another CPT record #442099

    Henry Wythe
    Full Member
    Post count: 40

    I am not trying to link to two CPTs at one time.
    The problem is that after I create the link according to your documentation, and then go to a listing in the admin panel, it will not look up any posts in the linked directory.
    Here is what I did, which is unchanged from the original ticket:
    I tried to link Group to Place. Lookup of a ‘place’ while editing a ‘group’ failed
    I then dropped that link
    I then tried to link Place to Place. That failed
    Please see the attached screen shots.

    in reply to: posts per page in admin for 'places' #414885

    Henry Wythe
    Full Member
    Post count: 40

    works!

    in reply to: posts per page in admin for 'places' #414881

    Henry Wythe
    Full Member
    Post count: 40

    Does not work

    in reply to: posts per page in admin for 'places' #414877

    Henry Wythe
    Full Member
    Post count: 40

    need to set the number of posts seen on the front end for ALL users.
    Right now it’s stuck on 5 listings per page – way too small.

    http://directory.creates.today/places/

    I don’t mind patching functions.php but can’t figure it out.

    My last code snippet was an attempt to set it for ‘not admin’ users
    This snippet tries to do it for ALL users, but no luck

    function set_posts_per_page_for_cpt( $query ) {
    if ( $query->is_main_query() && is_post_type_archive( ‘gd_place’ ) ) {
    $query->set( ‘posts_per_page’, ’20’ );
    }
    }
    add_action( ‘pre_get_posts’, ‘set_posts_per_page_for_cpt’ );

    in reply to: posts per page in admin for 'places' #414702

    Henry Wythe
    Full Member
    Post count: 40

    Stiofan’s advice is correct for the admin page.
    Then I tried changing the front end, using the link that Alex posted. First I used the Settings/Reading/Max#BlogPosts
    No luck
    Then I tried adding this to functions.php

    function set_posts_per_page_for_cpt( $query ) {
    if ( ! is_admin() && $query->is_main_query() && is_post_type_archive( ‘gd_place’ ) ) {
    $query->set( ‘posts_per_page’, ’20’ );
    }
    }
    add_action( ‘pre_get_posts’, ‘set_posts_per_page_for_cpt’ );

    Still no luck.

    Thanks for taking a look at this

    in reply to: invalid character error message #413751

    Henry Wythe
    Full Member
    Post count: 40

    I found the problem. Libre Office is set with a default character set different from UTF-8
    Something triggered my memory, and I checked your doc. Sure enough, changing that fixed the problem.
    If you can detect the wrong character set in your upload program and give a meaningful error message it would be appreciated.
    Cheers,
    Henry

    in reply to: Ratings stars not appearing unless mouse over #412485

    Henry Wythe
    Full Member
    Post count: 40
    This reply has been marked as private.
    in reply to: Ratings stars not appearing unless mouse over #412389

    Henry Wythe
    Full Member
    Post count: 40
    This reply has been marked as private.
    in reply to: alternate directory for listing images #412382

    Henry Wythe
    Full Member
    Post count: 40

    Quick update: I am going to load the first 15,000 listings tomorrow.

    I have used Media Library Assistant before. It’s awesome, but has so many features that it might be overkill.

    I checked out the doc for the extension you recommended. It requires a paid version to use categories in the media tab. Only $20 but I decidet to keep looking.

    I have loaded Enhanced Media Library
    https://wordpress.org/plugins/enhanced-media-library/
    One thing that might make this work OK is its ability to assign a category to a media type. So I could use .jpg for all 15000 to 50,000 of the images loaded in bulk. Then use .png for individual images loaded for pages.

    Wish me luck.
    WIll keep you posted

    in reply to: alternate directory for listing images #411987

    Henry Wythe
    Full Member
    Post count: 40

    OK. I will have to use a plugin to categorize things, hope it works out.
    https://wordpress.org/plugins/wp-media-library-categories/
    https://wordpress.org/plugins/media-library-assistant/

    in reply to: Cannot enter address #406407

    Henry Wythe
    Full Member
    Post count: 40

    We could have saved 16 messages if you product did 2 simple things:
    1) Let me know when I install it that it’s only good for a single location unless I install the add-on.
    2) Give me a meaningful error message when I did not set the default.

    You are technically correct, but I am not satisfied with my experience. Let’s see how the rest of the installation goes. You may have an good product, but regardless of whether it works according to your development spec it’s important for the customer to be able to use it easily.

    Your response that the info can be found somewhere on the website, and that the error message is technically correct, feels like a technician trying to prove he’s right. I’m sure you are a great person but please try to communicate that you understand what the customer is experiencing.

    in reply to: Cannot enter address #406299

    Henry Wythe
    Full Member
    Post count: 40

    Thanks for the quick responses. You can close this ticket.

    in reply to: Cannot enter address #406298

    Henry Wythe
    Full Member
    Post count: 40

    Alex,

    Thanks for the answer. Sorry I didn’t notice the installatoin instruction that cleary states that you need to set a default location.

    The free product is pretty much useless. It will only handle one location, and the import does not work. I will to put that into my review. The paid product looks like it’s totally worth the money, but people need to know that the free one is not worth the trouble of installing it. If two hundred bucks is a barrier they should try another product.

    Suggestions:
    1) make the error message say that you need to set the default location, not the incomprehensible message: Please choose any address of the () city only.

    2) Without the location manager, the program is pretty much useless. So I HIGHLY RECOMMEND you say that in the https://wpgeodirectory.com/docs/basic-installation/ doc and make this prominent: Best practice is not to add locations here, because every location will have a page created and you will only end up with empty pages. Wait for your users to add listings and locations will be automatically created as your users add listings from the frontend.

    I am about to import my data. There will be about 20K listings in over 1500 locations. Wish me luck!

    in reply to: Cannot enter address #406289

    Henry Wythe
    Full Member
    Post count: 40

    Gareth,

    I am eagerly awaiting a response. The program looks great but the way they handle locations seems like an anti-feature. For some use cases, tightly restricting the list of available locations seems like a good idea. But for a large geo area, it seems impractical.

    My directory will cover the USA. There are 29,546 unique towns, out of all 40,394 zip codes. If they really require the locations to be pre-loaded, I would have to upload and keep that data up-to-date. I think it’s possible but it will be a headache.

    FYI here is a US zip code list: https://www.aggdata.com/node/86
    Cheers!

Viewing 15 posts - 16 through 30 (of 37 total)