I am attaching a video of the error:
https://skr.sh/vF8Xrxb00X5?a
I have a recurring problem, that when I create a course and start adding lessons, sometimes, after I finish adding courses and update / refresh the site all lessons dissappear from that course and even the course name changes from the name I gave it to my WordPress name.
Even when the course lessons were saved previously and this happens, I cannot make them come back to the course through revisions, even though for instance the name of the course can be returned back to the name I gave it.
The lessons still do exist, since when I go into “MS LMS –> Lessons”, the lessons are there and published, but they are not in the given course.
Is there a way to add lessons to a course through the “Lessons” tab? If not, this could be a handy option, since it could solve this deleting problem, and I could just take more lessons and through “Bulk action” add them to a course.
As of now I have to add all the lessons again, and hope what I press “update”, it does not delete all the content again.
Thank you very much in advance!
Daniel
]]>Can I do this with YoastSEO or is there some where else I need to add it?
Thank you
]]>Please suggest a solution
]]>I am using a combination of WP_Query with ACF to display a subset of data based on a general category (WP_Query loops through the whole category) and a sub-category (based on a field added using ACF for each of the items pulled in by the WP_Query).
Ultimately I’d like one of the category buttons to assign the category to a variable which will be used in my WP_Query and if statement to display matching items only, on the same page. The page starts off displaying all items in all categories (the WP_Query and if statement take their initial arguments from parameters passed to the function called in the page code, I need to overwrite one of those parameter values).
Is it possible, or more rather, can you help out a relative green-horn to have a button refresh the page with a sub-category assigned to a variable so that my existing query and if statement will display the subset of data requested? I’m just not sure how well WordPress is going to take to this very dynamic use of a single page, or if it would just be better to split out the sub-categories to individual WordPress pages (which I know I can do and will work, but it’s not very elegant or efficient).
Here’s my button set (pulled from an ACF Select field):
<div class="category-buttons">
<?php
$choices = get_field_choices('website_category');
//var_dump($choices);
?>
<ul class="website-categories">
<?php foreach ( $choices as $value => $label ): ?>
<li><a href=""><?php echo $label; ?></a></li>
<?php endforeach; ?>
</ul>
<?php //endif; ?>
</div>
(get_field_choices() is a custom function a clever person over on stackexchange coded to get the choices from the ACF post metadata).
Here’s my main query loop:
<?php if ($sub_category) { ?>
<div class="portfolio">
<?php
$args = array(
'post_type' => 'portfolio',
'category_name' => $category,
'posts_per_page' => -1,
'orderby' => 'date',
'order' => 'ASC',
);
$portfolio_query = new WP_Query( $args );
$i = 1;
while($portfolio_query->have_posts()): $portfolio_query->the_post();
if ((get_field('website_category') == $sub_category) && ($i <= $limit)) {
$i++;
// html to display the results here
I’m thinking there might be some built-in WordPress function I don’t know about, or some simple javascript, just need pointing in the right direction.
]]>2. Is there a wallet system where users can convert their earned points into real money and withdraw or redeemed for a gift voucher or any payment gatway like paypal.
3. can I integrate it with buddypress.
4. Can I create video questions, like embed a video from youtube, vimeo etc.
]]>