Rob_Huska
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Custom Post Type – Archive Title and Meta Description@mazedulislamkhan This is important to my client to have it fixed ASAP. Can you please advise when this update will be released, or please help in providing some sort of solution in the meantime?
Forum: Plugins
In reply to: [Yoast SEO] Custom Post Type – Archive Title and Meta DescriptionWell that would explain why I couldn’t find it… Do you have any sort of fix that I can give my client in the mean time that I could throw into the theme? I do have a custom slug set and cannot remove that. Also, any idea of a timeframe for release?
Forum: Plugins
In reply to: [Yoast SEO] Custom Post Type – Archive Title and Meta DescriptionOk I am on version 7.6.1 and I am not seeing the SEO menu structured like @jerparx mentions… I have the Search Appearance menu under SEO. When I go in there I have tabs for a bunch of things, but the 2 that I would assume to use for CPT Archive metadata would be either “Content Types” or “Archive”. Well Content Types appears to just be the template for singles of all the post types and Archives only has things for Author and Date archives.
So, now where do I go to edit the meta title and description for a CPTs main archive page?
Yes, i have the
has_archive => true
when I register the post type. And I have a specific archive-my_post_type.php file that is working. I just have no access to edit the meta data, or cannot find it…Thanks,
RobForum: Plugins
In reply to: [WP Store Locator] WP All Import for importing locationsEmail sent.
Forum: Plugins
In reply to: [WP Store Locator] WP All Import for importing locationsThanks Tijmen, it isn’t really the “quality” of addresses that I am worried about, I know you can’t guarantee that they are right. I just want to make sure that if I import proper information, that the lat/long is going to get auto-populated. Because that is data I don’t have. Does that make sense?
Forum: Plugins
In reply to: [WP Store Locator] WP All Import for importing locationsSo if we purchase this it is guaranteed to do what we need? I only say this because we had already invested into WP All Import a few years ago, so purchasing another import plugin is going to be a tough sell without some sort of guarantee.
Thanks,
RobForum: Plugins
In reply to: [WP Store Locator] Directions URL in results listHere is my listing template code:
add_filter( 'wpsl_listing_template', 'custom_listing_template' ); function custom_listing_template() { global $wpsl, $wpsl_settings; ob_start(); ?> <li data-store-id="<%= id %>"> <div class="wpsl-store-location"> <ul class="wpsl-store-info"> <li><h2><?= wpsl_store_header_template( 'listing' ); ?></h2></li> <li> <i class="icon--location"></i> <a href="https://maps.google.com/maps?saddr=&daddr=<%= address %>,<%= city %>,<%= country %>" target="_blank"> <%= address %> <% if ( address2 ) { %> <span><%= address2 %></span> <% } %> <span><?= wpsl_address_format_placeholders(); ?></span> </a> </li> <?php if ( !$wpsl_settings['hide_country'] ) { ?> <li><%= country %></li> <?php } ?> <?php if ( $wpsl_settings['show_contact_details'] ) { ?> <% if ( phone ) { %> <li><i class="icon--phone"></i> <span class="wpsl-phone"><%= formatPhoneNumber( phone ) %></span> <span class="call">Call for Product Availability</span></li> <% } %> <% if ( fax ) { %> <li><i class="icon--fax"></i> <%= fax %></li> <% } %> <% if ( email ) { %> <li><i class="icon--mail"></i> <%= email %></li> <% } %> <?php } ?> </ul> <?= wpsl_more_info_template(); ?> </div> <div class="wpsl-direction-wrap"> <%= thumb %> <?php if ( !$wpsl_settings['hide_distance'] ) { ?> <%= distance %><?= esc_html( wpsl_get_distance_unit() ); ?> <?php } ?> <%= createDirectionUrl() %> </div> </li> <?php $listing_template = ob_get_clean(); return $listing_template; }
(I converted everything to use an output buffer instead of a concatenating variable, it is just easier for me to see syntax)
Where are you saying I could add that?
Forum: Plugins
In reply to: [WP Store Locator] Pulling Google Places image for thumbnailYes, you can. But you need to get the
place_id
first, which you can get from the address/coordinates. Here is how I was getting theplace_id
:var request = { 'address': response[index].address + ' ' + response[index].city + ', ' + response[index].state + ' ' + response[index].zip }; geocoder.geocode( request, function( response, status ) { if ( status == google.maps.GeocoderStatus.OK ) { console.log(response[0].place_id); } });
I did this in your wpsl-gmap.js file inside the
$.each
loop while you are gathering the locations. Around line @1207. Again I am hoping to not modify your code, but add my own js in my own files if at all possible.- This reply was modified 7 years, 4 months ago by Rob_Huska.
Forum: Plugins
In reply to: [WP Store Locator] Number the resultsSo I was able to get the pins to count with some “hacky” CSS/SCSS…
#wpsl-gmap { .gm-style > div:first-child > div:first-child > div:nth-child(4) { counter-reset: pin-counter; > div { &:after { counter-increment: pin-counter; content: counter(pin-counter); font-size: 1rem; position: absolute; left: 0; top: 0; } &:nth-child(1), &:nth-child(2) { &:after { content: none; } } } } }
Not sure if this will always work, so if you have a better solution that would be great! Thanks
Forum: Plugins
In reply to: [WP Store Locator] Offset Map CenterBummer, I was really hoping to do this without modifying your core plugin.
Forum: Plugins
In reply to: [WP Store Locator] Number the resultsSo, I have been able to number the list itself by using a css counter. But I cannot seem to do the same thing for the markers since there are no specific classes on them. Any way to make that happen?
- This reply was modified 7 years, 4 months ago by Rob_Huska.
Forum: Plugins
In reply to: [WP Store Locator] Number the resultsHere is the image, thank!
Forum: Plugins
In reply to: [Contact Form 7] Multi Step Form: Showing saved form data in next steps.are you using this plugin for Multi Step Forms? If so, there is a shortcode just for this. It is explained in the “Additional Tags” section of the description.
[multiform "your-name"]
- This reply was modified 7 years, 11 months ago by Rob_Huska.
Forum: Plugins
In reply to: [Contact Form 7] How to insert a link in a checkbox?You don’t necessarily need to put it in the checkbox itself. Here is what I have done.
<label> [checkbox terms "Yes"] <span>I agree to the <a href="/terms-conditions/" target="_blank">Terms & Conditions</a></span> </label>
The label wrapped around the entire thing allows the text to check the box and also allows the link to work.
Just use CSS to style everything the way you need it then. You can even hide the “Yes” that would show by default with:
span.wpcf7-list-item-label { display: none; }
Hope this helps!
Forum: Plugins
In reply to: [Contact Form 7] get submitted form on submitThere has to be something that can be done here. Any help would be great, thanks!