Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloud.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJos Poortvliet <jospoortvliet@gmail.com>2020-04-01 12:37:34 +0300
committerJos Poortvliet <jospoortvliet@gmail.com>2020-04-01 12:37:34 +0300
commitf2d417f904aaf42c519717f009fea0fcbfc01c27 (patch)
treeecfec63d134a2e0f3face148419457f8bedeefd1 /page-education.php
parent57fd1210914771644af56a4452b2cad1feb5d053 (diff)
fix social media images
Signed-off-by: Jos Poortvliet <jospoortvliet@gmail.com>
Diffstat (limited to 'page-education.php')
-rw-r--r--page-education.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/page-education.php b/page-education.php
index aeb15ff7..7a024fdd 100644
--- a/page-education.php
+++ b/page-education.php
@@ -7,10 +7,10 @@ require(["require.config"], function() {
require(["pages/education", "modules/submenu", "bootstrap", "modules/youtubePlayer"])
});
</script>
-<meta itemprop="image" content="<?php bloginfo('template_directory'); ?>/assets/img/features/moodle-nw.png">
-<meta name="twitter:image" content="<?php bloginfo('template_directory'); ?>/assets/img/features/moodle-nw.png">
-<meta name="twitter:image:src" content="<?php bloginfo('template_directory'); ?>/assets/img/features/moodle-nw.png">
-<meta property="og:image" content="<?php bloginfo('template_directory'); ?>/assets/img/features/moodle-nw.png">
+<meta itemprop="image" content="<?php echo get_template_directory_uri(); ?>/assets/img/features/moodle-nw.png">
+<meta name="twitter:image" content="<?php echo get_template_directory_uri(); ?>/assets/img/features/moodle-nw.png">
+<meta name="twitter:image:src" content="<?php echo get_template_directory_uri(); ?>/assets/img/features/moodle-nw.png">
+<meta property="og:image" content="<?php echo get_template_directory_uri(); ?>/assets/img/features/moodle-nw.png">
<!-- <script src='https://www.google.com/recaptcha/api.js'></script> -->
</head>
<div class="education-background second-menu">