ampedandy
Forum Replies Created
-
Just a quick note here. In the course builder, you can “detach lesson” by clicking the broken link icon. That orphans the lesson which you can then use in another course.
I recycle redundant content from one course to the next that way.
I think the using one lesson for all thing was a thing of the past.
It was convenient because, as you say, you could edit that one lesson, and have it show the new info in multiple courses.If I were designing it, I would simply show the results the way they display on the submission page in the back end. The user entered responses still get grouped with “other” in the statistics, but their typed in answers show under the results.
It’s a good way to encourage engagement.
Forum: Plugins
In reply to: [LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes] Course DatesThat looks like a great way to handle it from what I can tell from the tutorial on access plans.
However, I suspect I’m running into another limitation when using WooCommerce with Lifter, since I don’t see access plans as an option in my courses. Under product options I can only select the Woo product the course is associated with, and define the sort order.In the interim, I have included a “View Class” link in the note of the WooComm product note under ‘Advanced Settings.’ It’s a fall-back position, but better than nothing.
Funny, I just finished an e-mail to you about this very subject.
Please keep me updated on any developments or work-arounds you can think of.Sluthed it out to another unrelated piece of code. Sorry to bother you. Will try again now that the site is in better shape.
Forum: Plugins
In reply to: [WooCommerce] HTML StrippingThanks!
Forum: Plugins
In reply to: [WooCommerce] HTML StrippingIs that a second function, or something I put into the first function, or the page that I’m adding the shortcode to?
Forum: Plugins
In reply to: [WooCommerce] HTML StrippingOK, I’ve sorted it out on the functions plugin. Thanks for that tip.
Two more questions:
Do the “my function” names have to match the “my shortcode” name?
I’m assuming that I replace: function my_function with: function time_checkSecond;
I added the shortcode on the second line of text in the content, but it shows up in the first line of text.Forum: Plugins
In reply to: [WooCommerce] HTML StrippingI’ll double check the smart quotes.
I’m entering it to Genisis –> Dynamik – Custom Options–> Custom FunctionsOk can’t get it past the code checker or the Custom Functions plugin
Forum: Plugins
In reply to: [WooCommerce] HTML StrippingYa, tried that. Didn’t make a difference.
I suspect I’m in the wrong place, since the syntax error comes up site-wide.
Forum: Plugins
In reply to: [WooCommerce] HTML StrippingThanks. This looks like it might help me, but I am getting a syntax error.
Here’s what I pasted, yes, leaving ‘my_shortcode’ and so on, which I figured I’d update with real names once I have it working.
<?php
add_shortcode( ‘my_shortcode_name’, ‘my_function’ );
function my_function() {
?>
<p>
<html>
<body>
Classes are held at 9pm Eastern Time. To see what time the class will be where you are, select your location below.<form>
Select Your Location:
<select id=”mySelect”>
<optgroup label=”United States & Canada”>
<option value=”10:30pm”>Newfoundland Time</option>
<option value=”10pm”>Atlantic Time</option>
<option value=”9pm”>Eastern Time</option>
<option value=”8pm”>Central Time</option>
<option value=”7pm”>Mountain Time</option>
<option value=”6pm”>Pacific Time</option>
</optgroup>
<optgroup label=”Australia”>
<option value=”12pm + 1 day”>Australian Eastern Standard Time</option>
<option value=”1pm + 1 day”>Australian Eastern Daylight Time</option>
<option value=”11:30am + 1 day”>Australian Central Standard Time</option>
<option value=”12:30pm + 1 day”>Australian Central Daylight Time</option>
<option value=”10am + 1 day”>Australian Western Standard Time</option>
</optgroup>
<optgroup label=”New Zealand”>
<option value=”3pm”>New Zealand Daylight Time</option>
<option value=”3:45pm”>Chatham Daylight Time</option>
</optgroup>
<optgroup label=”Europe”>
<option value=”2am + 1 day”>Western European Time</option>
<option value=”3am + 1 day”>Central European Time</option>
<option value=”4am + 1 day”>Eastern European Time</option>
</optgroup>
</select> <button type=”button” onclick=”myFunction()”>Show Time</button> <b id=”demo”></b>
</form><script>
function myFunction() {
var x = document.getElementById(“mySelect”).value;
document.getElementById(“demo”).innerHTML = x;
}
</script></body>
</html></p>
<?php
} // end functionForum: Fixing WordPress
In reply to: HTML StrippingGreat idea
- This reply was modified 6 years, 9 months ago by ampedandy.
Forum: Fixing WordPress
In reply to: Page for specific post category…and while I’m asking, I assume that this will sort the posts in the order in which they were written, the way the blog posts are sorted.
Since this is more along the line of an upcoming events page, it would be better that they sort in the order the event is scheduled for.Forum: Fixing WordPress
In reply to: Page for specific post categoryHa! I knew it was something simple. You should see all of the coding gymnastics people are suggesting to do just to accomplish this one simple task!
One small followup question:
Blog pages force the featured photo down to a reasonable size for the blog list. This page however does not. Suggestions?