Forum Replies Created
-
AuthorPosts
-
08/29/2018 at 3:58 pm in reply to: Can we have two separate list for current people and former people? #471101
Steven Zahm
Keymaster@ Kezhou
You can use the category shortcode option to create separate lists on separate pages.
Hope this helps!
Steven Zahm
Keymaster@ Tim
Edit the entry in the Connections admin scroll to the metabox where you added the link to the site. Choose the option to assign it to the photo/image and update the entry.
After you do, the photo will now be a link to that site.
No code changes necessary, which are the best :)
Hope this helps! Let me know.
Steven Zahm
Keymaster@ Sheila
RE: I don’t want to edit the files. I don’t want to interfere with future updates.
You can implement the change by using custom template override files.
Follow the direction in the dev docs. The open the
card.phpfile You’ll see the code for image:<?php $entry->getImage( array( 'image' => $atts['image'], 'height' => $atts['image_width'], 'width' => $atts['image_width'], 'fallback' => array( 'type' => $atts['image_fallback'], 'string' => $atts['str_image'], ), ) ); ?>Wrap that code in a anchor. To set the anchor href use
$entry->getPermalink().Save the changes and overwrite the template override file.
Depending on the theme, you may have to add you own custom styles because theme’s often apply some interesting styles to anchors that will need to be overridden. If you’re lucky, they be nothing to do ;)
RE: What is the CSS for that?
You can use the
#cn-circled .cn-circled-detail-link aselector.Hope that helps!
Steven Zahm
Keymaster@ NPC
As of July 16, 2018, to continue to use the Google Maps Platform APIs, you must enable billing on each of your projects.
You receive a recurring $200 credit on your billing account. This should be enough for normal usage. If you like to see your current usage, then you can do so in the Google API Console.
You can set budget alerts, this article explains how to do so. Setting up a budget alert will not prevent “overage” charges. They are more like a notice that you are going to be charged. I think you could set a $200 budget (or less) and when you receive the notification, you could disable the API key manually in the Google API Console so you will not get charged. But, then you will not have maps and the error you see now will be displayed instead.
Please keep in mind, using the Google Maps Platform APIs was never free, there were quota limits. When you reached that limit, Google would no longer serve maps to your site. Because the quota limit was generous most sites under normal usage would never hit the quota limit.
Google now requires a valid billing address and payment method so they can bill as you utilize their platform. They dub this “Pay as you go”. The recurring $200 credit on your billing account is roughly equivalent to the to the previous free quota limits in terms of usage of their platform.
All this said, unfortunately you only have two options. Set up billing with Google or disable the display of maps.
I hope this helps, let me know!
ps. I am working to add multiple map service provider support in Connections. There are free providers, but they are slow compared to Google and the geocoding (process of converting an address to a pin on a map) accuracy is not the greatest. The multiple map service provider support in Connections will default to the free providers. This will require updates to all templates after this support is fully implemented. In addition to the free providers, there will be support for commercial providers such as Google and Bing. So, at least this way you will be able to choose your poison, so to speak.
Steven Zahm
Keymaster@ Sheila
The only way to accomplish would be to edit the template’s PHP files. If you have some basic knowledge in editing PHP, I can give you some guidance.
Steven Zahm
Keymaster@ Susan
I noticed that the social icons in you directory are misaligned. This seems to be caused by the Wp Image Compression plugin you are using. It appear one of its feature are to lazy load the images. I would suggest disabling that option if possible. WP Rocket has that feature built in, so I would recommend using it instead of a separate plugin.
Steven Zahm
Keymaster@ Mich
Please create a temp admin account for me using this plugin:
https://wordpress.org/plugins/temporary-login-without-password/
Reply back, as a private reply, with the login link. When I receive it, I’ll take a look asap.
Thanks!
Steven Zahm
Keymaster@ Kathleen
Perhaps the page cache is not being flushed as it should be because of Windows. Honestly, I do not know. What I can say, is that is you see your changes reflected only when you do a search that indicated that it is a caching issue because you will not being seeing cached pages when doing a search. Data being updated in Connections should not be affected by the underlying server.
Hope this helps!
Steven Zahm
Keymaster@ Kathleen
For the entry K.B. I see the new title regardless if I am searching or not. After you update entries, make sure to flush the WP Rocket page cache. It’s likely you were seeing an older cached page from your browser and the page was updated as it should have been.
Hope that helps.
ps. Look at you map in the footer. Looks like you need to setup the Google Maps API key for your site and make sure the billing address and payment methods are setup in the Google API Console. Policy changes Google enacted in July.
Steven Zahm
Keymaster@ Susan
RE: Over the last year, every time we update the plugin it crashes the website (www.grandbendchamber.ca) and we have to disable the plugin directory in order to access the Admin area of WordPress and then download Connections, unzip on the computer and FTP the updated files to the website.
Sorry to hear you are having trouble updating Connections! Unfortunately I do not believe there will be anything I can do to address it for you. The process is managed by WordPress and during the process Connections is not even active/running.
I suspect, if you are using a shared hosting provider, that the resources allocated to PHP are being exhausted. I would suggest following the instructions in these two articles:
After an update, if it fails, log into your web host control panel. Often times there is a place where you can view any errors PHP has logged. If you can not locate the PHP error log, your web host support team should be able to direct you to it. If there are errors being logged, that could shed some light on the root cause of the issue.
RE: Re-copy / pasted the API keys from Google into Connections – same result.
If you are certain you API keys are setup correctly then make sure you have a billing address and payment method setup in the Google API console. This is now a requirement by Google in order to use their Maps. This change took place in July. You should have received an email from Google earlier this year explaining their their policy changes regarding access to their Maps API. If you did not, I suggest checking the email address setup for your Google API Console account to make sure it is correct.
I hope this helps, let me know!
ps. I checked out your directory page. You should enable the pagination support. It appears you have it disabled. This causes the page to take a long time to load due to the amount of entries that have to be rendered by the server/browser. I would suggest displaying no more than 20 entries per page (which is the default configuration). This will allow the page to load much more quickly something Google evaluates when ranking the page in their search results.
pss. I see you are using Tribe Events. It appears the plugin is also using the Google Maps API or at least calling it with no API key. This is generating a browser Console error to be shown. You can use the Browser key you already setup for Connections in the setting Tribe Event has for the Google Maps API key.
-
AuthorPosts
