소스 검색

Bumped version to 0.0.76

Jannick Knudsen 3 년 전
부모
커밋
eca70f3e7b
5개의 변경된 파일25개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      VERSION
  2. 1 0
      VERSIONLOG
  3. 1 1
      package.json
  4. 2 2
      plugin.php
  5. 20 0
      tpl_default.php

+ 1 - 1
VERSION

@@ -1 +1 @@
-v0.0.75
+v0.0.76

+ 1 - 0
VERSIONLOG

@@ -74,3 +74,4 @@ v0.0.72
 v0.0.73
 v0.0.74
 v0.0.75
+v0.0.76

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "dagsplug",
-  "version": "0.0.75",
+  "version": "0.0.76",
   "description": "",
   "main": "script_backend.js",
   "scripts": {

+ 2 - 2
plugin.php

@@ -4,7 +4,7 @@ Plugin Name: dagsopt
 Plugin URI: https://git.tum.dk/tum.dk/dagsplug/
 Description: Tools
 Author: iskedk
-Version: 0.0.75
+Version: 0.0.76
 Date: 2021-01-14
 Author URI: https://iske.dk/
 Text Domain: dagsopt
@@ -17,7 +17,7 @@ function wppluginspage() {
 $wp_dagsopt = new dagsopt();
 
 class dagsopt {
-	var $version = "0.0.75";
+	var $version = "0.0.76";
 	var $publish_date = "2021-01-14";
 	var $pluginname;
 	var $plugintitle;

+ 20 - 0
tpl_default.php

@@ -3,3 +3,23 @@
 
 <?php get_template_part('content', 'single');?>
 
+<?php /*$image = post_image_($post->ID,'medium'); */
+$post_images = post_images($post->ID);
+$imageurl = get_the_post_thumbnail_url($post->ID);
+?>
+
+<article  id="post-<?php the_ID();?>">
+	<div class="image">
+		<?php post_badge();?>
+			<a href="<?php the_permalink()?>" title="<?php the_title_attribute();?>"><img src="<?php echo $imageurl ? $imageurl : $post_images[0]['large'][0]; ?>" alt="<?php the_title_attribute();?>"></a>
+		<h2><a href="<?php the_permalink()?>" rel="bookmark" title="Permanent link til <?php the_title_attribute();?>"><?php the_title();?></a></h2>
+	</div>
+	<div class="content">
+		<?php echo (is_single() . "LL"); ?>
+		xxx<?php the_content();?>xxx
+
+	</div>
+
+
+</article>
+