thunderdunk
Forum Replies Created
-
Thanks John for the speedy response. That seems to do the trick. Looking forward to the update.
Hey John,
I’m having this issue too, but need the like box enabled on my site. Do you have any hacks I might be able to implement temporarily to resolve the error, until you release a fix?
Thanks!
danForum: Plugins
In reply to: [Email as Username for WP-Members] References to client projectHey, I encountered this too. The author has a version of the plugin on Github that sets the client-specific content as variables, so they can be changed easier: https://github.com/newtribesmission/NTM-WPMem-Email-As-Username
Forum: Plugins
In reply to: [Connections Business Directory] Conflict with the Events CalendarShazahm1, thanks for the response. The problem ended up being unrelated to either plugin, so no longer an issue!
Forum: Fixing WordPress
In reply to: Display page and child page content in loopI think I’ve almost got it working, but it’s showing the parent post content (and repeating it endlessly) where it should be showing child post content. Here’s what I have–am I close, at least?
<?php $args = array('post_type' => 'tc_condition', 'orderby' => 'title', 'order' => 'ASC', 'post_parent' => 0, 'posts_per_page'=>'-1'); $query1 = new WP_Query($args); if($query1->have_posts()) : while($query1->have_posts()) : $query1->the_post(); ?> <div class="parent"> <h2><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> <div class="child"> <?php // initialization for $inner_args & backup the current global $post $inner_args = array('post_type' => 'tc_condition', 'post_parent' => $post->ID, 'posts_per_page' => 5); $inner_query = new WP_Query($inner_args); global $post;$backup=$post; while ($inner_query->have_posts()) : ?> <p><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></p> <?php endwhile; // restore the global $post from the previously created backup $post=$backup; ?> </div><!--.child--> </div><!--.parent--> <?php endwhile; else: ?> <p>You didn't say the magic word...</p> <?php wp_reset_postdata(); // reset the query ?> <?php endif; ?>
Naama, in my template I used the following to add a link to the form:
<a href="<?php bloginfo('url'); ?>/get-involved?3ex_field3=<?php the_title(); ?>" title="Get Involved"> Get Involved! </a>
get-involved is the permalink, the first ‘3’ is the form id, and ‘ex_field3’ is the extra field I added to the form where I wanted to add the current page title automatically.
=<?php the_title(); ?>
grabs the title for the page and puts it in the form.Hope that helps!
Thanks for the response, I’ll check that out. I actually ended up getting it to work (at least passably for now) by passing a query string to auto-fill the form.
https://www.fastsecurecontactform.com/query-string-parameters
Anyone have any ideas for this? I’m willing to explore any commerce plugin that will do this, not just theCartPress.
Forum: Themes and Templates
In reply to: Theme causing reloading problems in admin environmentI’m having this same issue, but am still a bit confused as to the solution–
The empty lines Mr NoComment is referring to, are they actually commented lines with //, html, or just blank space inside/outside a php tag?
I was looking at talvitie’s solution and I can’t just put my whole file inside one blanket php tag since I have all my loops and custom content types in the functions.php file.
I’ll check again, but it looks like all my php tags were properly opened and closed–am I missing something?
Didn’t have this problem til I updated to WP 3.3.1
Forum: Themes and Templates
In reply to: Directing read more to expand post on same multi-post pageQuestion: is it possible to have the expanded post appear in the same non-single multiple post front page when the excerpt first appeared…instead of jumping to a single page?
Hi, did you ever figure this out? I would like to do the same thing.
Forum: Plugins
In reply to: List post categories as dropdown in metaboxI need a similar meta box and I’d love to see this code–do you have it posted somewhere else?