Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Trevor
Sure this is doable you would add something like this to the
card.phpandcard-single.phpfiles for the template.Something like this:
$categories = array(); foreach ( $entry->getCategory() as $category ) { $categories[ $category->slug ] = $category->name; } if ( true == $atts['show_image'] ) { if ( is_user_logged_in() ) { // code to display image } } else { if ( array_key_exists( 'senior-management', $categories ) ) { // code to display image } else { // I do not think you need this else since it does not do anything. } }Hope this helps!
Steven Zahm
Keymaster@ Adam
You need to change the
optionsarray value here:To this:
What changes did you make that you lose during updates? A lot can be done with customization in ways that are update safe.
Steven Zahm
Keymaster@ Donnie
By default the CSV Import import the CSV file in batches of 100. That is what the progress bar shows. It time it increases in length, a batch of 100 from the CSV file was imported.
The change I made was I limited the importing to 25 per batch. So each time the progress bar increases in length 25 rows from the CSV file was imported.
The file will continue to be imported in batches until the entire file has been imported. It just is not possible to import hundreds or thousands of items into the database all at once. That would exhaust server resources and cause the site to stop working.
I hope this clears it up and does not cause further confusion. Let me know.
Steven Zahm
Keymaster@ Mike
I took care of your request you made in your last reply.
Steven Zahm
Keymaster@ Jason
It appears you are using a plugin which causes the javascript on your site to defer its loading. So the script that decodes the email addresses and displays them is not working.
What you need to to do is exclude this script from being deferred:
www.totalnetworkingteam.com/wp-content/plugins/connections-rot13/cn_rot13.jsHope that helps, let me know.
Steven Zahm
Keymaster@ Mike
RE: My observation was meant to be a constructive criticism Steven.
Yes, that is how I was reading it. My sincerest apologies if I seemed to be negative in my response. It truly was not my intention. I was thinking aloud while attempting to understand the statement.
I understand what you mean. Yes, when I add a UI for my custom field API, I will very likely model it after contact form plugins. I was thinking more along the lines of how Advanced Custom Fields handles it since it is really popular with a lot of users already familiar to its workflow.
Steven Zahm
Keymaster@ Anne
RE: how can I increase the size of the font on the letter directory at the top, as well as in each address?
Add the following to the theme’s custom CSS area:
#cn-slim-plus div.cn-alphaindex { font-size: 16px; } #cn-slim-plus .cn-entry .cn-right { font-size: 14px !important; }RE: I think the name of the company looks a little fuzzy. How can I experiment with different fonts?
The font is being inherited from the style used by the theme. If the theme has options to set the font for the
h3HTML tag, you should be able to change it. If the theme does not have font options for the header tags. Add the following to the theme’s custom CSS area:#cn-slim-plus h3 { font-family:sans-serif; font-style: normal; }Tweak as desired.
RE: How would I change the color of the hover and selected names?
The color hover for links is also inherited from the theme. If the theme has option to change it in its settings you should be able to change it. If the theme does not. Add the following to the theme’s custom CSS area:
#cn-slim-plus h3 > a:hover { color: pink; }Here’s a link to a FAQ which covers how to change the color of the underline and the toggle arrow in Slim Plus.
RE: I want to have a different page that lists each contractor by category: Electrical, HVAC, Pipefitter, etc. How do I do that?
I’m sorry but grouping by category is not possible.
Hope this helps, let me know.
Steven Zahm
Keymaster@ lebon
I located the issue. It is a bug in RSVPMaker version 4.7.2. They are accidentally overwriting the
$_GET['page']global variable. I can work around this but it would be best that they correct this. I’ve already reported this to them on GitHub. I did see your post to the wp.org so I’ll also reply to that thread for completeness.Again, my apologies for the trouble!
Steven Zahm
Keymaster@ lebon
I installed RSVPMaker version 4.7.2 and I am experiencing the same issue on my test site. It is a head scratcher … no error messages or anything. I’m downloading their code now to see if I can track down the source on the conflict. Give me an hour or so and I’ll report back.
Apologies for the trouble!
Steven Zahm
Keymaster@ Robert
Oh, another thought… did you sent the entry or just the birthday to private? If it was the later, that is by design. Make sure you set the entry itself to “Private” not just the date.
-
AuthorPosts
