Make WordPress Themes

Changeset 294911


Ignore:
Timestamp:
10/27/2025 05:59:46 AM (12 months ago)
Author:
themedropbox
Message:

New version of Pixel Ebook Store - 2.3

Location:
pixel-ebook-store/2.3
Files:
1 added
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • pixel-ebook-store/2.3/inc/template-functions.php

    r272017 r294911  
    5151
    5252/**
    53  * Adds custom size in images
    54  */
    55 function pixel_ebook_store_image_size( $image_size ){
    56         $image_id = get_post_thumbnail_id();
    57        
    58         the_post_thumbnail( $image_size, array(
    59                 'alt' => esc_attr(get_post_meta( $image_id, '_wp_attachment_image_alt', true))
    60         ) );
     53 * Adds custom size in images and fallback to a default image if no featured image is available
     54 */
     55function pixel_ebook_store_image_size( $pixel_ebook_store_image_size ) {
     56    // Get the post's featured image ID
     57    $pixel_ebook_store_image_id = get_post_thumbnail_id();
     58
     59    // If a featured image is set, use it, otherwise fallback to a default image
     60    if ( $pixel_ebook_store_image_id ) {
     61        // Get the alt text for the featured image
     62        $pixel_ebook_store_alt_text = esc_attr( get_post_meta( $pixel_ebook_store_image_id, '_wp_attachment_image_alt', true ) );
     63       
     64        // Display the post thumbnail
     65        the_post_thumbnail( $pixel_ebook_store_image_size, array( 'alt' => $pixel_ebook_store_alt_text ) );
     66    } else {
     67        // Get the default image URL from the theme's 'images' folder
     68        $pixel_ebook_store_default_image_url = get_template_directory_uri() . '/assets/images/default-posts-image.png'; // Adjust the path as necessary
     69       
     70        // Display the default image with proper escaping
     71        echo '<img src="' . esc_url( $pixel_ebook_store_default_image_url ) . '" alt="' . esc_attr__( 'Default Image', 'pixel-ebook-store' ) . '" />';
     72    }
     73}
     74
     75/* Breadcrumb Begin */
     76function pixel_ebook_store_breadcrumb_function() {
     77        if (!is_home()) {
     78                echo '<a href="';
     79                        echo esc_url( home_url() );
     80                echo '">';
     81                        bloginfo('name');
     82                echo "</a> ";
     83                if (is_category() || is_single()) {
     84                        the_category(',');
     85                        if (is_single()) {
     86                                echo "<span> ";
     87                                        the_title();
     88                                echo "</span> ";
     89                        }
     90                } elseif (is_page()) {
     91                        echo "<span> ";
     92                                the_title();
     93                }
     94        }
    6195}
    6296
  • pixel-ebook-store/2.3/languages/pixel-ebook-store.pot

    r292154 r294911  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Pixel Ebook Store 1.6\n"
     5"Project-Id-Version: Pixel Ebook Store 2.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/pixel-ebook-store\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    … …  
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-08-23T04:08:56+00:00\n"
     12"POT-Creation-Date: 2025-10-25T11:37:56+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.11.0\n"
     14"X-Generator: WP-CLI 2.12.0\n"
    1515"X-Domain: pixel-ebook-store\n"
    1616
    … …  
    8686#. translators: 1: title.
    8787#: comments.php:29
     88#, php-format
    8889msgid "One thought on &ldquo;%1$s&rdquo;"
    8990msgstr ""
    … …  
    9192#. translators: 1: comment count number, 2: title.
    9293#: comments.php:35
     94#, php-format
    9395msgctxt "comments title"
    9496msgid "%1$s thought on &ldquo;%2$s&rdquo;"
    … …  
    135137#. translators: 1: Theme name
    136138#: functions.php:239
     139#, php-format
    137140msgid "Hello! Thank you for choosing our %1$s!"
    138141msgstr ""
    … …  
    635638#. translators: %s: plugin name.
    636639#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:330
     640#, php-format
    637641msgid "Installing Plugin: %s"
    638642msgstr ""
    … …  
    640644#. translators: %s: plugin name.
    641645#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:332
     646#, php-format
    642647msgid "Updating Plugin: %s"
    643648msgstr ""
    … …  
    649654#. translators: 1: plugin name(s).
    650655#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:334
     656#, php-format
    651657msgid "This theme requires the following plugin: %1$s."
    652658msgid_plural "This theme requires the following plugins: %1$s."
    … …  
    656662#. translators: 1: plugin name(s).
    657663#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:340
     664#, php-format
    658665msgid "This theme recommends the following plugin: %1$s."
    659666msgid_plural "This theme recommends the following plugins: %1$s."
    … …  
    663670#. translators: 1: plugin name(s).
    664671#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:346
     672#, php-format
    665673msgid "The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s."
    666674msgid_plural "The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s."
    … …  
    670678#. translators: 1: plugin name(s).
    671679#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:352
     680#, php-format
    672681msgid "There is an update available for: %1$s."
    673682msgid_plural "There are updates available for the following plugins: %1$s."
    … …  
    677686#. translators: 1: plugin name(s).
    678687#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:358
     688#, php-format
    679689msgid "The following required plugin is currently inactive: %1$s."
    680690msgid_plural "The following required plugins are currently inactive: %1$s."
    … …  
    684694#. translators: 1: plugin name(s).
    685695#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:364
     696#, php-format
    686697msgid "The following recommended plugin is currently inactive: %1$s."
    687698msgid_plural "The following recommended plugins are currently inactive: %1$s."
    … …  
    732743#. translators: 1: plugin name.
    733744#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:390
     745#, php-format
    734746msgid "No action taken. Plugin %1$s was already active."
    735747msgstr ""
    … …  
    737749#. translators: 1: plugin name.
    738750#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:392
     751#, php-format
    739752msgid "Plugin not activated. A higher version of %s is needed for this theme. Please update the plugin."
    740753msgstr ""
    … …  
    742755#. translators: 1: dashboard link.
    743756#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:394
     757#, php-format
    744758msgid "All plugins installed and activated successfully. %1$s"
    745759msgstr ""
    … …  
    786800#. translators: %s: version number
    787801#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:1978
     802#, php-format
    788803msgid "TGMPA v%s"
    789804msgstr ""
    … …  
    835850#. translators: 1: install status, 2: update status
    836851#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2338
     852#, php-format
    837853msgctxt "Install/Update Status"
    838854msgid "%1$s, %2$s"
    … …  
    841857#. translators: 1: number of plugins.
    842858#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2384
     859#, php-format
    843860msgctxt "plugins"
    844861msgid "All <span class=\"count\">(%s)</span>"
    … …  
    849866#. translators: 1: number of plugins.
    850867#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2388
     868#, php-format
    851869msgid "To Install <span class=\"count\">(%s)</span>"
    852870msgid_plural "To Install <span class=\"count\">(%s)</span>"
    … …  
    856874#. translators: 1: number of plugins.
    857875#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2392
     876#, php-format
    858877msgid "Update Available <span class=\"count\">(%s)</span>"
    859878msgid_plural "Update Available <span class=\"count\">(%s)</span>"
    … …  
    863882#. translators: 1: number of plugins.
    864883#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2396
     884#, php-format
    865885msgid "To Activate <span class=\"count\">(%s)</span>"
    866886msgid_plural "To Activate <span class=\"count\">(%s)</span>"
    … …  
    911931#. translators: %2$s: plugin name in screen reader markup
    912932#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2599
     933#, php-format
    913934msgid "Install %2$s"
    914935msgstr ""
    … …  
    916937#. translators: %2$s: plugin name in screen reader markup
    917938#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2604
     939#, php-format
    918940msgid "Update %2$s"
    919941msgstr ""
    … …  
    921943#. translators: %2$s: plugin name in screen reader markup
    922944#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2610
     945#, php-format
    923946msgid "Activate %2$s"
    924947msgstr ""
    … …  
    970993#. translators: 1: plugin name, 2: action number 3: total number of actions.
    971994#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3494
     995#, php-format
    972996msgid "Updating Plugin %1$s (%2$d/%3$d)"
    973997msgstr ""
    … …  
    975999#. translators: 1: plugin name, 2: error message.
    9761000#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3497
     1001#, php-format
    9771002msgid "An error occurred while installing %1$s: <strong>%2$s</strong>."
    9781003msgstr ""
    … …  
    9801005#. translators: 1: plugin name.
    9811006#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3499
     1007#, php-format
    9821008msgid "The installation of %1$s failed."
    9831009msgstr ""
    … …  
    9891015#. translators: 1: plugin name.
    9901016#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3505
     1017#, php-format
    9911018msgid "%1$s installed and activated successfully."
    9921019msgstr ""
    … …  
    10101037#. translators: 1: plugin name, 2: action number 3: total number of actions.
    10111038#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3508
     1039#, php-format
    10121040msgid "Installing and Activating Plugin %1$s (%2$d/%3$d)"
    10131041msgstr ""
    … …  
    10191047#. translators: 1: plugin name.
    10201048#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3513
     1049#, php-format
    10211050msgid "%1$s installed successfully."
    10221051msgstr ""
    … …  
    10281057#. translators: 1: plugin name, 2: action number 3: total number of actions.
    10291058#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3516
     1059#, php-format
    10301060msgid "Installing Plugin %1$s (%2$d/%3$d)"
    10311061msgstr ""
    … …  
    10371067#. translators: %s is the search query
    10381068#: inc/template-functions.php:44
     1069#, php-format
    10391070msgid "Search Results for: %s"
    10401071msgstr ""
    … …  
    10441075msgstr ""
    10451076
    1046 #: inc/template-functions.php:109
     1077#: inc/template-functions.php:71
     1078msgid "Default Image"
     1079msgstr ""
     1080
     1081#: inc/template-functions.php:143
    10471082msgid "Left Sidebar"
    10481083msgstr ""
    10491084
    1050 #: inc/template-functions.php:111
    1051 #: inc/template-functions.php:122
     1085#: inc/template-functions.php:145
     1086#: inc/template-functions.php:156
    10521087msgid "Add widgets here."
    10531088msgstr ""
    10541089
    1055 #: inc/template-functions.php:120
     1090#: inc/template-functions.php:154
    10561091msgid "Footer Sidebar"
    10571092msgstr ""
    10581093
    1059 #: inc/template-functions.php:157
     1094#: inc/template-functions.php:191
    10601095msgctxt "yearly archives date format"
    10611096msgid "Y"
    10621097msgstr ""
    10631098
    1064 #: inc/template-functions.php:159
     1099#: inc/template-functions.php:193
    10651100msgctxt "monthly archives date format"
    10661101msgid "F Y"
    10671102msgstr ""
    10681103
    1069 #: inc/template-functions.php:161
     1104#: inc/template-functions.php:195
    10701105msgctxt "daily archives date format"
    10711106msgid "F j, Y"
    10721107msgstr ""
    10731108
    1074 #: inc/template-functions.php:267
     1109#: inc/template-functions.php:301
    10751110msgid "Full Size"
    10761111msgstr ""
    10771112
    1078 #: inc/template-functions.php:268
     1113#: inc/template-functions.php:302
    10791114msgid "Large Size"
    10801115msgstr ""
    10811116
    1082 #: inc/template-functions.php:269
     1117#: inc/template-functions.php:303
    10831118msgid "Medium Size"
    10841119msgstr ""
    10851120
    1086 #: inc/template-functions.php:270
     1121#: inc/template-functions.php:304
    10871122msgid "Medium Large Size"
    10881123msgstr ""
    10891124
    1090 #: inc/template-functions.php:271
     1125#: inc/template-functions.php:305
    10911126msgid "Thumbnail Size"
    10921127msgstr ""
    10931128
    1094 #: inc/template-functions.php:272
     1129#: inc/template-functions.php:306
    10951130msgid "1536x1536 Size"
    10961131msgstr ""
    10971132
    1098 #: inc/template-functions.php:273
     1133#: inc/template-functions.php:307
    10991134msgid "2048x2048 Size"
    11001135msgstr ""
    11011136
    1102 #: inc/template-functions.php:274
     1137#: inc/template-functions.php:308
    11031138msgid "1920x550 Size"
    11041139msgstr ""
    11051140
    1106 #: inc/template-functions.php:275
     1141#: inc/template-functions.php:309
    11071142msgid "1370x550 Size"
    11081143msgstr ""
    11091144
    1110 #: inc/template-functions.php:276
     1145#: inc/template-functions.php:310
    11111146msgid "590x310 Size"
    11121147msgstr ""
    11131148
    1114 #: inc/template-functions.php:277
     1149#: inc/template-functions.php:311
    11151150msgid "420x380 Size"
    11161151msgstr ""
    11171152
    1118 #: inc/template-functions.php:278
     1153#: inc/template-functions.php:312
    11191154msgid "420x300 Size"
    11201155msgstr ""
    11211156
    1122 #: inc/template-functions.php:279
     1157#: inc/template-functions.php:313
    11231158msgid "420x200 Size"
    11241159msgstr ""
    11251160
    1126 #: inc/template-functions.php:280
     1161#: inc/template-functions.php:314
    11271162msgid "290x150 Size"
    11281163msgstr ""
    11291164
    1130 #: inc/template-functions.php:281
     1165#: inc/template-functions.php:315
    11311166msgid "80x60 Size"
    11321167msgstr ""
    … …  
    11341169#. translators: %s: post title
    11351170#: inc/template-tags.php:68
     1171#, php-format
    11361172msgid "Comment<span class=\"screen-reader-text\"> on %s</span>"
    11371173msgstr ""
    … …  
    11391175#. translators: %s: post title
    11401176#: inc/template-tags.php:85
     1177#, php-format
    11411178msgid "Leave a Comment<span class=\"screen-reader-text\"> on %s</span>"
    11421179msgstr ""
    … …  
    11581195#. translators: %s: Name of current post
    11591196#: inc/template-tags.php:172
     1197#, php-format
    11601198msgid "EDIT<span class=\"screen-reader-text\"> \"%s\"</span>"
    11611199msgstr ""
    … …  
    11791217msgstr ""
    11801218
    1181 #: sidebar.php:16
     1219#: sidebar.php:14
    11821220#: template-parts/footer/footer-widget-one.php:7
    11831221msgid "Search Here"
    11841222msgstr ""
    11851223
    1186 #: sidebar.php:21
     1224#: sidebar.php:19
    11871225msgid "Recent Posts"
    11881226msgstr ""
    11891227
    1190 #: sidebar.php:42
     1228#: sidebar.php:40
    11911229msgid "Recent Comments"
    11921230msgstr ""
    11931231
    1194 #: sidebar.php:60
     1232#: sidebar.php:58
    11951233msgid "Archives"
    11961234msgstr ""
    11971235
    1198 #: sidebar.php:73
     1236#: sidebar.php:71
    11991237msgid "Categories"
    12001238msgstr ""
    … …  
    12061244#. translators: 1: link to WP admin new post page.
    12071245#: template-parts/content-none.php:22
     1246#, php-format
    12081247msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
    12091248msgstr ""
    … …  
    12411280#. translators: 1: Theme author with link, 2: Copyright year, 3: Theme name with link
    12421281#: template-parts/site-info.php:20
     1282#, php-format
    12431283msgid "Theme design by %1$s | Copyright @ %2$s %3$s"
    12441284msgstr ""
    … …  
    12471287#: themeinfo/pixel_ebook_store_themeinfo_page.php:47
    12481288#: themeinfo/pixel_ebook_store_themeinfo_page.php:48
     1289#, php-format
    12491290msgid "%1$s Info"
    12501291msgstr ""
    … …  
    12731314#. translators: 1: Theme Name.
    12741315#: themeinfo/pixel_ebook_store_themeinfo_page.php:74
     1316#, php-format
    12751317msgid "%1$s - Version %2$s"
    12761318msgstr ""
  • pixel-ebook-store/2.3/page.php

    r269792 r294911  
    1111<div id="content" class="site-content">
    1212        <div class="container">
     13                <div class="breadcrumbs">
     14            <?php pixel_ebook_store(); ?>
     15        </div>
    1316                <section class="wrap-detail-page">
    1417                        <div class="row">
  • pixel-ebook-store/2.3/readme.txt

    r292154 r294911  
    55Requires PHP: 5.6
    66Tested up to: 6.7
    7 Stable tag: 2.2
     7Stable tag: 2.3
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
    … …  
    8888* Minor errors resolved.
    8989
     90= 2.3 =
     91* Added Breadcrumbs.
     92* Added Default Relevant Images in Posts.
     93
    9094== Resources ==
    9195
  • pixel-ebook-store/2.3/sidebar.php

    r272017 r294911  
    99<?php
    1010if ( is_active_sidebar( 'sidebar-1' )) { ?>
    11         <div id="secondary" class="sidebar left-sidebar">
    1211                <?php dynamic_sidebar( 'sidebar-1' ); ?>
    13         </div>
    1412<?php } else { ?>
    1513        <div id="search-2" class="widget widget_search">
  • pixel-ebook-store/2.3/single.php

    r269792 r294911  
    1111<div id="content" class="site-content">
    1212        <div class="container">
     13                <div class="pixel-ebook-store-breadcrumb">
     14            <?php pixel_ebook_store_breadcrumb_function(); ?>
     15        </div>
    1316                <section class="wrap-detail-page">
    1417                        <div class="row">
  • pixel-ebook-store/2.3/style.css

    r292154 r294911  
    55Author URI: https://www.themepixels.net
    66Description: The Pixel Ebook Store theme is a sleek and modern solution designed for authors, publishers, bookstores, libraries, book clubs, comic shops, online bookshops, eBook retailers, and digital publishing platforms seeking a professional presence. Whether you run an independent bookstore, specialty shop, online library, digital reading platform, subscription-based book service, or audiobook store, this theme provides an intuitive and visually engaging platform to showcase and sell eBooks, audiobooks, bestsellers, limited editions, comics, magazines, academic publications, research papers, and novels. Ideal for self-published authors, audiobook creators, digital publishers, and book reviewers, it features customizable layouts, immersive reading previews, dynamic product showcases, advanced filtering, category-based organization, and wishlist options. With WooCommerce plugin integration, you can sell physical and digital books, offer book bundles, manage inventory, set up pre-orders, and provide subscription services effortlessly. This responsive, SEO-friendly, fast-loading, and translation-ready theme enhances engagement with social media integration, interactive showcases, author profiles, and promotional features for book signings, virtual book fairs, and literary events. Its built-in blogging capabilities are perfect for style guides, author spotlights, genre highlights, literary reviews, and reading recommendations, while multilingual support ensures global accessibility. Whether you manage a digital bookstore, academic library, literary café, or online reading community, Pixel Ebook Store combines elegant design, powerful eCommerce tools, and user-friendly navigation to deliver a professional, engaging, and feature-rich platform for readers and book sellers alike.
    7 Version: 2.2
     7Version: 2.3
    88Requires PHP: 5.6
    99Tested up to: 6.7
    … …  
    19381938  opacity: 0.75;
    19391939}
    1940 .post.no-thumbnail .entry-content,
     1940/* .post.no-thumbnail .entry-content,
    19411941.attachment.no-thumbnail .entry-content {
    19421942  padding-top: 0;
    1943 }
     1943} */
    19441944
    19451945.entry-title a {
    … …  
    34343434  margin-bottom: 50px;
    34353435  overflow-wrap: anywhere;
     3436  border: 1px solid #e6e6e6;
     3437  padding: 10px;
    34363438}
    34373439@media screen and (max-width: 575px) {
    … …  
    53395341  width: 100%;
    53405342}
     5343
     5344/* Breadcrumb */
     5345.pixel-ebook-store-breadcrumb{
     5346  padding:30px 0;
     5347  flex-direction: row;
     5348  gap: 10px;
     5349}
     5350.pixel-ebook-store-breadcrumb a,.pixel-ebook-store-breadcrumb span{
     5351  background: var(--global-color);
     5352  color:#000;
     5353  padding: 7px 15px;
     5354  border-radius: 4px;
     5355  display: inline-block;
     5356  align-content: center;
     5357  margin-bottom: 10px;
     5358}
     5359.pixel-ebook-store-breadcrumb span{
     5360  margin-left: 5px;
     5361}
     5362.pixel-ebook-store-breadcrumb a:hover, .post-categories li a:hover{
     5363  background: #fff;
     5364  color:#000;
     5365}
  • pixel-ebook-store/2.3/template-parts/content-image.php

    r280613 r294911  
    1717?>
    1818<article id="post-<?php the_ID(); ?>" <?php post_class( $class . ' ' ) ?> >
    19         <?php if ( has_post_thumbnail() ) : ?>
    20                 <figure class="featured-image">
    21                         <a href="<?php the_permalink(); ?>">
    22                                 <?php pixel_ebook_store_image_size( 'pixel-ebook-store-1370-550' ) ?>
    23                         </a>
    24                 </figure>
    25         <?php endif; ?>
     19        <figure class="featured-image">
     20                <a href="<?php the_permalink(); ?>">
     21                        <?php pixel_ebook_store_image_size( 'pixel-ebook-store-1370-550' ) ?>
     22                </a>
     23        </figure>
    2624
    2725        <div class="entry-content">
  • pixel-ebook-store/2.3/template-parts/content-search.php

    r269792 r294911  
    1414?>
    1515<article id="post-<?php the_ID(); ?>" <?php post_class( $class . ' ' ) ?>>
    16         <?php if ( has_post_thumbnail() ) : ?>
    17                 <figure class="featured-image">
    18                         <a href="<?php the_permalink(); ?>">
    19                                 <?php pixel_ebook_store_image_size( 'pixel-ebook-store-1370-550' ) ?>
    20                         </a>
    21                 </figure>
    22         <?php endif; ?>
     16        <figure class="featured-image">
     17                <a href="<?php the_permalink(); ?>">
     18                        <?php pixel_ebook_store_image_size( 'pixel-ebook-store-1370-550' ) ?>
     19                </a>
     20        </figure>
    2321        <div class="entry-content">
    2422                <header class="entry-header">
  • pixel-ebook-store/2.3/template-parts/content.php

    r272017 r294911  
    1414?>
    1515<article id="post-<?php the_ID(); ?>" <?php post_class( $class . ' ' ) ?> >
    16         <?php if ( has_post_thumbnail() ) : ?>
    17                 <figure class="featured-image">
    18                         <a href="<?php the_permalink(); ?>">
    19                                 <?php pixel_ebook_store_image_size( 'pixel-ebook-store-1370-550' ) ?>
    20                         </a>
    21                 </figure>
    22         <?php endif; ?>
     16        <figure class="featured-image">
     17                <a href="<?php the_permalink(); ?>">
     18                        <?php pixel_ebook_store_image_size( 'pixel-ebook-store-1370-550' ) ?>
     19                </a>
     20        </figure>
    2321
    2422        <div class="entry-content">
Note: See TracChangeset for help on using the changeset viewer.