purplearth
Forum Replies Created
-
I’ll try to add some interesting and useful information to this “me too!” response.
My client noticed first, reporting that when she views by category, only three posts are listed, even though on the bottom of the screen it said “6 posts”.
She sent me a screen shot of what she did see, and another screen shot listing the posts she didn’t see. I noticed a particular date that separated the group of posts.
Here’s where it gets weird.
I logged in and filtered the same list by the same category, and sure enough, I only saw three out of six posts. But they weren’t the same three. I could see two posts that she couldn’t, and there was one post we could both see.
No rhyme or reason at all. I’ve been googling my ass off over this, and this is the first recent post that assures me that I’m not crazy… that I’m not the only one dealing with this issue (whatever it is).
Forum: Networking WordPress
In reply to: Converting large unwieldy single site to multisiteThanks for the suggestion, but categories don’t really apply here.
As I mentioned, most of the site is in pages, so to export “all descendants of page n” would work better.
The most promising suggestion was here…
https://blog.wlindley.com/2009/05/export-wp-page-subset/
…. but that involves modifying core files and all the Danger that brings with it.Forum: Plugins
In reply to: [Contact Form 7] drop down placeholder custom textThis didn’t work for me.
I’m trying to use a custom label on a
<select>
block (drop-down menu) that is a required field, but when not selecting anything, the form returns the label value as the input, while what I want is for the form to be rejected because the user didn’t select anything.@agelonwl: “maybe you need to ask your host about url rewriting”. I don’t see any hope in getting a positive response from Yahoo. I’d have more hope in getting the client to choose a different host, but she’s already spent the money with Yahoo, so we’re stuck with it for now.
“did you try to change permalink settings at ….” Yes I did. No joy.
This still isn’t fixed, at least not for me.
There is definitely a permalinks issue. Here’s the link:
https://beforetheaftersite.com/One problem (which I have no control over) is that the site is hosted by Yahoo. So there’s no re-writing of .htaccess, which means all kinds of hoop-jumping to get any kind of permalinks at all. Best I can get is domain.com/homefolder/index.php/pagename UGLY!
So I create a page for the events listing (called “Workshops” in this case), and it 404s on me. If I turn off pretty permalinks, then it works.
Am I missing something, or is there no way to have pretty permalinks AND a working events page?
Thanks for the attention.
Fixed it.
I replaced the code above with the following…
$vp_sidebar_query = new WP_Query( ‘page_id=61’ );
if ( $vp_sidebar_query->have_posts() ) {
while ( $vp_sidebar_query->have_posts() ) {
$vp_sidebar_query->the_post();
the_content();
}
}So yeah, wrapping a loop around the fetching of the content, rather than fetching the content explicitly outside of a loop, did the trick.
Thanks for nudging me in the right direction.
So are you suggesting that if I grab and filter the content from inside a loop (I don’t right now), it would work as intended?
OK, I’m exploring the Query Posts plugin (https://www.ads-software.com/extend/plugins/query-posts/). Its widget contains a custom loop ($new_query = new WP_Query( $args );), and the content is displayed by a call to the_content().
So now my question is, will this solve my problem, or will the hook you use clobber the content in the widget?
The idea was to have the info text in a place that the client could easily edit it from time to time. I think having it in a widget (instead of a post) would introduce a couple more hoops to jump thru (text widget would mean editing html tags and such), and I’m hesitant to add another plugin to accomplish something that can be accomplished with a few lines of template code.
I was afraid that this was an issue introduced by the way EM overrides a page’s content. I can explore other workarounds, and I’m open to other suggestions.
Forum: Plugins
In reply to: WordPress Interactive Map for usersFrom my first explorations into the Google Maps API, what you’re looking for is possible, but it would take a bit of programming wizardry to pull it off.
It sounds to me like you wish to crowd source a database of locations with and identifier to designate its category (such as books, coffee, etc). I see no reason WordPress couldn’t be a perfect interface to this database. If you want users to send their current location to the mothership, this is called “geolocation”, and it’s optionally enabled when you load the API.
I don’t know if such a plugin exists yet. It might.
Otherwise, you have to code it yourself (if you know how), or hire someone to do it. Expect to pay in at least four figures for a complete and polished implementation.
If you decide to hire someone, send me your rfp. ??
Forum: Fixing WordPress
In reply to: Add/Customize Meta fields to Edit Media Attachment ScreenIs there a way to get more functionality with custom image fields than a simple text input area? Is there something similar/equivalent to the add_meta_boxes function we can use for post editing?
For instance, I’d like to add a map-based location picker for images (many plugins offer this for posts, likely using the add_meta_boxes hook and some others), but I can’t find a way to do it. The attachment_fields_to_edit/attachment_fields_to_save hooks are not enough for what I wanna do.
So is there a way to design forms without the Form Designer? So the site owner can insert the form thru shortcode?
Hi Harry…
I’d like to design my own forms as well. Could you tell me where you found “the standard form the plugin generates”?
I’m working with a client that’s on goDaddy, so I may be forced to not use the Form Designer (tough host to work with on things like “whitelist your domain for ModSecurity”).
Anyway, if you can elaborate on the earlier post, I’m very interested. I also have a project where it’d be good to gather info for both CC and PayPal in the same form.
Thanks.
—-
Obbie