Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apex_micro_site
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Ali Arshad
apex_micro_site
Commits
d955f49d
Commit
d955f49d
authored
Feb 21, 2018
by
Muhammad Usman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another small fix
parent
4ccc0070
Pipeline
#338
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ct_max_meta.php
.../wp-content/plugins/apex_global_lms/admin/ct_max_meta.php
+2
-2
it-course.php
...wp-content/plugins/apex_global_lms/template/it-course.php
+1
-1
No files found.
WWW_DATA/wp-content/plugins/apex_global_lms/admin/ct_max_meta.php
View file @
d955f49d
...
@@ -54,10 +54,10 @@ if ( ! class_exists( 'CT_TAX_META' ) ) {
...
@@ -54,10 +54,10 @@ if ( ! class_exists( 'CT_TAX_META' ) ) {
public
function
save_category_image
(
$term_id
,
$tt_id
)
{
public
function
save_category_image
(
$term_id
,
$tt_id
)
{
if
(
isset
(
$_POST
[
'vq_course_taxonomy-image-id'
]
)
&&
''
!==
$_POST
[
'vq_course_taxonomy-image-id'
]
){
if
(
isset
(
$_POST
[
'vq_course_taxonomy-image-id'
]
)
&&
''
!==
$_POST
[
'vq_course_taxonomy-image-id'
]
){
$image
=
$_POST
[
'vq_course_taxonomy-image-id'
];
$image
=
$_POST
[
'vq_course_taxonomy-image-id'
];
$link
=
$_POST
[
'vq_course_ct_tax_redirect'
];
add_term_meta
(
$term_id
,
'vq_course_taxonomy-image-id'
,
$image
,
true
);
add_term_meta
(
$term_id
,
'vq_course_taxonomy-image-id'
,
$image
,
true
);
add_term_meta
(
$term_id
,
'vq_course_ct_tax_redirect'
,
$link
,
true
);
}
}
$link
=
$_POST
[
'vq_course_ct_tax_redirect'
];
add_term_meta
(
$term_id
,
'vq_course_ct_tax_redirect'
,
$link
,
true
);
}
}
/*
/*
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/it-course.php
View file @
d955f49d
...
@@ -72,7 +72,7 @@ $page = get_page_by_path('lms-courses');
...
@@ -72,7 +72,7 @@ $page = get_page_by_path('lms-courses');
<div
class=
"col-sm-3 col-padding"
>
<div
class=
"col-sm-3 col-padding"
>
<div
class=
"download-course-box"
>
<div
class=
"download-course-box"
>
<div
class=
"course-heading"
>
<div
class=
"course-heading"
>
<h4><a
href=
"
/
<?php
echo
get_term_meta
(
$child
,
'vq_course_ct_tax_redirect'
,
true
)
?>
"
>
Download
<br>
course list
</a></h4>
<h4><a
href=
"
<?php
echo
get_term_meta
(
$child
,
'vq_course_ct_tax_redirect'
,
true
)
?>
"
>
Download
<br>
course list
</a></h4>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment