Make WordPress Themes

Changeset 294910


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

New version of Pixel Digital Marketing - 2.7

Location:
pixel-digital-marketing/2.7
Files:
1 added
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • pixel-digital-marketing/2.7/inc/template-functions.php

    r272014 r294910  
    5151
    5252/**
    53  * Adds custom size in images
    54  */
    55 function pixel_digital_marketing_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_digital_marketing_image_size( $pixel_digital_marketing_image_size ) {
     56    // Get the post's featured image ID
     57    $pixel_digital_marketing_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_digital_marketing_image_id ) {
     61        // Get the alt text for the featured image
     62        $pixel_digital_marketing_alt_text = esc_attr( get_post_meta( $pixel_digital_marketing_image_id, '_wp_attachment_image_alt', true ) );
     63       
     64        // Display the post thumbnail
     65        the_post_thumbnail( $pixel_digital_marketing_image_size, array( 'alt' => $pixel_digital_marketing_alt_text ) );
     66    } else {
     67        // Get the default image URL from the theme's 'images' folder
     68        $pixel_digital_marketing_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_digital_marketing_default_image_url ) . '" alt="' . esc_attr__( 'Default Image', 'pixel-digital-marketing' ) . '" />';
     72    }
     73}
     74
     75/* Breadcrumb Begin */
     76function pixel_digital_marketing_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-digital-marketing/2.7/languages/pixel-digital-marketing.pot

    r288721 r294910  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Pixel Digital Marketing 2.1\n"
     5"Project-Id-Version: Pixel Digital Marketing 2.7\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/pixel-digital-marketing\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:47+00:00\n"
     12"POT-Creation-Date: 2025-10-25T11:36:33+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-digital-marketing\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:237
     139#, php-format
    137140msgid "Hello! Thank you for choosing our %1$s!"
    138141msgstr ""
    … …  
    544547#. translators: %s: plugin name.
    545548#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:330
     549#, php-format
    546550msgid "Installing Plugin: %s"
    547551msgstr ""
    … …  
    549553#. translators: %s: plugin name.
    550554#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:332
     555#, php-format
    551556msgid "Updating Plugin: %s"
    552557msgstr ""
    … …  
    558563#. translators: 1: plugin name(s).
    559564#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:334
     565#, php-format
    560566msgid "This theme requires the following plugin: %1$s."
    561567msgid_plural "This theme requires the following plugins: %1$s."
    … …  
    565571#. translators: 1: plugin name(s).
    566572#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:340
     573#, php-format
    567574msgid "This theme recommends the following plugin: %1$s."
    568575msgid_plural "This theme recommends the following plugins: %1$s."
    … …  
    572579#. translators: 1: plugin name(s).
    573580#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:346
     581#, php-format
    574582msgid "The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s."
    575583msgid_plural "The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s."
    … …  
    579587#. translators: 1: plugin name(s).
    580588#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:352
     589#, php-format
    581590msgid "There is an update available for: %1$s."
    582591msgid_plural "There are updates available for the following plugins: %1$s."
    … …  
    586595#. translators: 1: plugin name(s).
    587596#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:358
     597#, php-format
    588598msgid "The following required plugin is currently inactive: %1$s."
    589599msgid_plural "The following required plugins are currently inactive: %1$s."
    … …  
    593603#. translators: 1: plugin name(s).
    594604#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:364
     605#, php-format
    595606msgid "The following recommended plugin is currently inactive: %1$s."
    596607msgid_plural "The following recommended plugins are currently inactive: %1$s."
    … …  
    641652#. translators: 1: plugin name.
    642653#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:390
     654#, php-format
    643655msgid "No action taken. Plugin %1$s was already active."
    644656msgstr ""
    … …  
    646658#. translators: 1: plugin name.
    647659#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:392
     660#, php-format
    648661msgid "Plugin not activated. A higher version of %s is needed for this theme. Please update the plugin."
    649662msgstr ""
    … …  
    651664#. translators: 1: dashboard link.
    652665#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:394
     666#, php-format
    653667msgid "All plugins installed and activated successfully. %1$s"
    654668msgstr ""
    … …  
    695709#. translators: %s: version number
    696710#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:1978
     711#, php-format
    697712msgid "TGMPA v%s"
    698713msgstr ""
    … …  
    744759#. translators: 1: install status, 2: update status
    745760#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2338
     761#, php-format
    746762msgctxt "Install/Update Status"
    747763msgid "%1$s, %2$s"
    … …  
    750766#. translators: 1: number of plugins.
    751767#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2384
     768#, php-format
    752769msgctxt "plugins"
    753770msgid "All <span class=\"count\">(%s)</span>"
    … …  
    758775#. translators: 1: number of plugins.
    759776#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2388
     777#, php-format
    760778msgid "To Install <span class=\"count\">(%s)</span>"
    761779msgid_plural "To Install <span class=\"count\">(%s)</span>"
    … …  
    765783#. translators: 1: number of plugins.
    766784#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2392
     785#, php-format
    767786msgid "Update Available <span class=\"count\">(%s)</span>"
    768787msgid_plural "Update Available <span class=\"count\">(%s)</span>"
    … …  
    772791#. translators: 1: number of plugins.
    773792#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2396
     793#, php-format
    774794msgid "To Activate <span class=\"count\">(%s)</span>"
    775795msgid_plural "To Activate <span class=\"count\">(%s)</span>"
    … …  
    820840#. translators: %2$s: plugin name in screen reader markup
    821841#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2599
     842#, php-format
    822843msgid "Install %2$s"
    823844msgstr ""
    … …  
    825846#. translators: %2$s: plugin name in screen reader markup
    826847#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2604
     848#, php-format
    827849msgid "Update %2$s"
    828850msgstr ""
    … …  
    830852#. translators: %2$s: plugin name in screen reader markup
    831853#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:2610
     854#, php-format
    832855msgid "Activate %2$s"
    833856msgstr ""
    … …  
    879902#. translators: 1: plugin name, 2: action number 3: total number of actions.
    880903#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3494
     904#, php-format
    881905msgid "Updating Plugin %1$s (%2$d/%3$d)"
    882906msgstr ""
    … …  
    884908#. translators: 1: plugin name, 2: error message.
    885909#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3497
     910#, php-format
    886911msgid "An error occurred while installing %1$s: <strong>%2$s</strong>."
    887912msgstr ""
    … …  
    889914#. translators: 1: plugin name.
    890915#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3499
     916#, php-format
    891917msgid "The installation of %1$s failed."
    892918msgstr ""
    … …  
    898924#. translators: 1: plugin name.
    899925#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3505
     926#, php-format
    900927msgid "%1$s installed and activated successfully."
    901928msgstr ""
    … …  
    919946#. translators: 1: plugin name, 2: action number 3: total number of actions.
    920947#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3508
     948#, php-format
    921949msgid "Installing and Activating Plugin %1$s (%2$d/%3$d)"
    922950msgstr ""
    … …  
    928956#. translators: 1: plugin name.
    929957#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3513
     958#, php-format
    930959msgid "%1$s installed successfully."
    931960msgstr ""
    … …  
    937966#. translators: 1: plugin name, 2: action number 3: total number of actions.
    938967#: inc/free-demo-content/tgm/class-tgm-plugin-activation.php:3516
     968#, php-format
    939969msgid "Installing Plugin %1$s (%2$d/%3$d)"
    940970msgstr ""
    … …  
    946976#. translators: %s is the search query
    947977#: inc/template-functions.php:44
     978#, php-format
    948979msgid "Search Results for: %s"
    949980msgstr ""
    … …  
    953984msgstr ""
    954985
    955 #: inc/template-functions.php:109
     986#: inc/template-functions.php:71
     987msgid "Default Image"
     988msgstr ""
     989
     990#: inc/template-functions.php:143
    956991msgid "Left Sidebar"
    957992msgstr ""
    958993
    959 #: inc/template-functions.php:111
    960 #: inc/template-functions.php:122
     994#: inc/template-functions.php:145
     995#: inc/template-functions.php:156
    961996msgid "Add widgets here."
    962997msgstr ""
    963998
    964 #: inc/template-functions.php:120
     999#: inc/template-functions.php:154
    9651000msgid "Footer Sidebar"
    9661001msgstr ""
    9671002
    968 #: inc/template-functions.php:157
     1003#: inc/template-functions.php:191
    9691004msgctxt "yearly archives date format"
    9701005msgid "Y"
    9711006msgstr ""
    9721007
    973 #: inc/template-functions.php:159
     1008#: inc/template-functions.php:193
    9741009msgctxt "monthly archives date format"
    9751010msgid "F Y"
    9761011msgstr ""
    9771012
    978 #: inc/template-functions.php:161
     1013#: inc/template-functions.php:195
    9791014msgctxt "daily archives date format"
    9801015msgid "F j, Y"
    9811016msgstr ""
    9821017
    983 #: inc/template-functions.php:267
     1018#: inc/template-functions.php:301
    9841019msgid "Full Size"
    9851020msgstr ""
    9861021
    987 #: inc/template-functions.php:268
     1022#: inc/template-functions.php:302
    9881023msgid "Large Size"
    9891024msgstr ""
    9901025
    991 #: inc/template-functions.php:269
     1026#: inc/template-functions.php:303
    9921027msgid "Medium Size"
    9931028msgstr ""
    9941029
    995 #: inc/template-functions.php:270
     1030#: inc/template-functions.php:304
    9961031msgid "Medium Large Size"
    9971032msgstr ""
    9981033
    999 #: inc/template-functions.php:271
     1034#: inc/template-functions.php:305
    10001035msgid "Thumbnail Size"
    10011036msgstr ""
    10021037
    1003 #: inc/template-functions.php:272
     1038#: inc/template-functions.php:306
    10041039msgid "1536x1536 Size"
    10051040msgstr ""
    10061041
    1007 #: inc/template-functions.php:273
     1042#: inc/template-functions.php:307
    10081043msgid "2048x2048 Size"
    10091044msgstr ""
    10101045
    1011 #: inc/template-functions.php:274
     1046#: inc/template-functions.php:308
    10121047msgid "1920x550 Size"
    10131048msgstr ""
    10141049
    1015 #: inc/template-functions.php:275
     1050#: inc/template-functions.php:309
    10161051msgid "1370x550 Size"
    10171052msgstr ""
    10181053
    1019 #: inc/template-functions.php:276
     1054#: inc/template-functions.php:310
    10201055msgid "590x310 Size"
    10211056msgstr ""
    10221057
    1023 #: inc/template-functions.php:277
     1058#: inc/template-functions.php:311
    10241059msgid "420x380 Size"
    10251060msgstr ""
    10261061
    1027 #: inc/template-functions.php:278
     1062#: inc/template-functions.php:312
    10281063msgid "420x300 Size"
    10291064msgstr ""
    10301065
    1031 #: inc/template-functions.php:279
     1066#: inc/template-functions.php:313
    10321067msgid "420x200 Size"
    10331068msgstr ""
    10341069
    1035 #: inc/template-functions.php:280
     1070#: inc/template-functions.php:314
    10361071msgid "290x150 Size"
    10371072msgstr ""
    10381073
    1039 #: inc/template-functions.php:281
     1074#: inc/template-functions.php:315
    10401075msgid "80x60 Size"
    10411076msgstr ""
    … …  
    10431078#. translators: %s: post title
    10441079#: inc/template-tags.php:68
     1080#, php-format
    10451081msgid "Comment<span class=\"screen-reader-text\"> on %s</span>"
    10461082msgstr ""
    … …  
    10481084#. translators: %s: post title
    10491085#: inc/template-tags.php:85
     1086#, php-format
    10501087msgid "Leave a Comment<span class=\"screen-reader-text\"> on %s</span>"
    10511088msgstr ""
    … …  
    10671104#. translators: %s: Name of current post
    10681105#: inc/template-tags.php:172
     1106#, php-format
    10691107msgid "EDIT<span class=\"screen-reader-text\"> \"%s\"</span>"
    10701108msgstr ""
    … …  
    10741112msgstr ""
    10751113
    1076 #: sidebar.php:16
     1114#: sidebar.php:14
    10771115#: template-parts/footer/footer-widget-one.php:7
    10781116msgid "Search Here"
    10791117msgstr ""
    10801118
    1081 #: sidebar.php:21
     1119#: sidebar.php:19
    10821120msgid "Recent Posts"
    10831121msgstr ""
    10841122
    1085 #: sidebar.php:42
     1123#: sidebar.php:40
    10861124msgid "Recent Comments"
    10871125msgstr ""
    10881126
    1089 #: sidebar.php:60
     1127#: sidebar.php:58
    10901128msgid "Archives"
    10911129msgstr ""
    10921130
    1093 #: sidebar.php:73
     1131#: sidebar.php:71
    10941132msgid "Categories"
    10951133msgstr ""
    … …  
    11011139#. translators: 1: link to WP admin new post page.
    11021140#: template-parts/content-none.php:22
     1141#, php-format
    11031142msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
    11041143msgstr ""
    … …  
    11561195#. translators: 1: Theme author with link, 2: Copyright year, 3: Theme name with link
    11571196#: template-parts/site-info.php:20
     1197#, php-format
    11581198msgid "Theme design by %1$s | Copyright @ %2$s %3$s"
    11591199msgstr ""
    … …  
    11621202#: themeinfo/pixel_digital_marketing_themeinfo_page.php:47
    11631203#: themeinfo/pixel_digital_marketing_themeinfo_page.php:48
     1204#, php-format
    11641205msgid "%1$s Info"
    11651206msgstr ""
    … …  
    11881229#. translators: 1: Theme Name.
    11891230#: themeinfo/pixel_digital_marketing_themeinfo_page.php:74
     1231#, php-format
    11901232msgid "%1$s - Version %2$s"
    11911233msgstr ""
  • pixel-digital-marketing/2.7/page.php

    r266046 r294910  
    1111<div id="content" class="site-content">
    1212        <div class="container">
     13                <div class="pixel-digital-marketing-breadcrumb">
     14            <?php pixel_digital_marketing_breadcrumb_function(); ?>
     15        </div>
    1316                <section class="wrap-detail-page">
    1417                        <div class="row">
  • pixel-digital-marketing/2.7/readme.txt

    r292153 r294910  
    55Requires PHP: 5.6
    66Tested up to: 6.8
    7 Stable tag: 2.6
     7Stable tag: 2.7
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
    … …  
    7878= 1.9 =
    7979* Added Post Formats Tag.
     80* Added Section's ON/OFF Settings.
     81* Added Default Sidebar.
     82
     83= 1.5 =
     84* Resolved error.
     85* Updated WordPress Version.
     86* Added Free Demo Content.
     87
     88= 1.6 =
     89* Added tags in posts
     90* Added edit links
    8091* Added CSS for different Post Formats.
    8192* Updated Get Start CSS.
    … …  
    104115* Minor errors resolved.
    105116
     117= 2.7 =
     118* Added Breadcrumbs.
     119* Added Default Relevant Images in Posts.
     120
    106121== Resources ==
    107122
    … …  
    111126  https://github.com/necolas/normalize.css/blob/master/LICENSE.md
    112127
     128* Updated WordPress Version.
     129* Added Free Demo Content.
     130
     131= 1.6 =
     132* Added tags in posts
     133* Added edit links
    113134* Bootstrap http://getbootstrap.com [MIT]
    114135  https://github.com/twbs/bootstrap/blob/main/LICENSE
    … …  
    116137* Font Awesome http://fontawesome.io/
    117138  Icons — CC BY 4.0 License
     139* Updated WordPress Version.
     140* Added Free Demo Content.
     141
     142= 1.6 =
     143* Added tags in posts
     144* Added edit links
    118145  Fonts — SIL OFL 1.1 License
    119146  Code  — MIT License
    120147  License — https://fontawesome.com/v4/license/
     148License
     149* Updated WordPress Version.
     150* Added Free Demo Content.
    121151
     152= 1.6 =
     153* Added tags in posts
    122154* OwlCarousel
    123155  Copyright 2013-2017 David Deutsch
  • pixel-digital-marketing/2.7/sidebar.php

    r272014 r294910  
    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-digital-marketing/2.7/single.php

    r266046 r294910  
    1111<div id="content" class="site-content">
    1212        <div class="container">
     13                <div class="pixel-digital-marketing-breadcrumb">
     14            <?php pixel_digital_marketing_breadcrumb_function(); ?>
     15        </div>
    1316                <section class="wrap-detail-page">
    1417                        <div class="row">
  • pixel-digital-marketing/2.7/style.css

    r292153 r294910  
    55Author URI: https://www.themepixels.net/
    66Description: The Pixel Digital Marketing theme is a premium solution designed for digital marketing agencies, SEO experts, branding strategists, PPC specialists, content marketers, social media managers, affiliate marketers, and growth hackers to showcase services and drive results. Perfect for businesses looking to optimize organic reach, boost engagement, and implement data-driven strategies, this theme supports SEO audits, technical SEO, on-page SEO, backlinks, paid campaigns, banner ads, and display advertising. Ideal for marketing consultants, B2B and B2C marketing firms, SaaS marketers, startups, and eCommerce SEO services, it features a sleek, modern UX/UI design to create an engaging experience. With dedicated sections for influencer campaigns, content calendars, webinar promotions, email marketing, lead generation, competitor benchmarking, and video advertising, agencies can easily demonstrate expertise. Built-in integration with HubSpot plugin and Google Analytics provides advanced CRM management, performance tracking, and campaign automation, making it perfect for conversion optimization and growth marketing. Offering customizable layouts, landing pages, interactive elements, marketing case studies, white-label options, and call-to-action placements, this SEO-friendly and fast-loading theme improves online visibility. Whether promoting real estate marketing, product launches, creative agencies, or corporate branding, Pixel Digital Marketing provides a powerful, responsive, and user-friendly platform to deliver measurable results and establish a strong online presence.
    7 Version: 2.6
     7Version: 2.7
    88Requires PHP: 5.6
    99Tested up to: 6.8
    … …  
    17671767  opacity: 0.75;
    17681768}
    1769 .post.no-thumbnail .entry-content,
     1769/* .post.no-thumbnail .entry-content,
    17701770.attachment.no-thumbnail .entry-content {
    17711771  padding-top: 0;
    1772 }
     1772} */
    17731773
    17741774.entry-title a {
    … …  
    34453445  margin-bottom: 50px;
    34463446  overflow-wrap: anywhere;
     3447  border: 1px solid #e6e6e6;
     3448  padding: 10px;
    34473449}
    34483450@media screen and (max-width: 575px) {
    … …  
    53515353  width: 100%;
    53525354}
     5355
     5356/* Breadcrumb */
     5357.pixel-digital-marketing-breadcrumb{
     5358  padding:30px 0;
     5359  flex-direction: row;
     5360  gap: 10px;
     5361}
     5362.pixel-digital-marketing-breadcrumb a,.pixel-digital-marketing-breadcrumb span{
     5363  background: var(--global-color);
     5364  color:#fff;
     5365  padding: 7px 15px;
     5366  border-radius: 4px;
     5367  display: inline-block;
     5368  align-content: center;
     5369  margin-bottom: 10px;
     5370}
     5371.pixel-digital-marketing-breadcrumb span{
     5372  margin-left: 5px;
     5373}
     5374.pixel-digital-marketing-breadcrumb a:hover, .post-categories li a:hover{
     5375  background: #000;
     5376  color:#fff;
     5377}
  • pixel-digital-marketing/2.7/template-parts/content-image.php

    r280612 r294910  
    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_digital_marketing_image_size( 'pixel-digital-marketing-1370-550' ) ?>
    23                         </a>
    24                 </figure>
    25         <?php endif; ?>
     19        <figure class="featured-image">
     20                <a href="<?php the_permalink(); ?>">
     21                        <?php pixel_digital_marketing_image_size( 'pixel-digital-marketing-1370-550' ) ?>
     22                </a>
     23        </figure>
    2624
    2725        <div class="entry-content">
  • pixel-digital-marketing/2.7/template-parts/content-search.php

    r261555 r294910  
    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_digital_marketing_image_size( 'pixel-digital-marketing-1370-550' ) ?>
    20                         </a>
    21                 </figure>
    22         <?php endif; ?>
     16        <figure class="featured-image">
     17                <a href="<?php the_permalink(); ?>">
     18                        <?php pixel_digital_marketing_image_size( 'pixel-digital-marketing-1370-550' ) ?>
     19                </a>
     20        </figure>
    2321        <div class="entry-content">
    2422                <header class="entry-header">
  • pixel-digital-marketing/2.7/template-parts/content.php

    r272014 r294910  
    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_digital_marketing_image_size( 'pixel-digital-marketing-1370-550' ) ?>
    20                         </a>
    21                 </figure>
    22         <?php endif; ?>
     16        <figure class="featured-image">
     17                <a href="<?php the_permalink(); ?>">
     18                        <?php pixel_digital_marketing_image_size( 'pixel-digital-marketing-1370-550' ) ?>
     19                </a>
     20        </figure>
    2321
    2422        <div class="entry-content">
Note: See TracChangeset for help on using the changeset viewer.