Make WordPress Themes

Changeset 182195 for newspaperex


Ignore:
Timestamp:
12/27/2022 04:54:02 AM (3 years ago)
Author:
themedropbox
Message:

New version of Newspaperex - 1.1

Location:
newspaperex/1.1
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • newspaperex/1.1/css/colors/default.css

    r182109 r182195  
    1919    color: #fff;
    2020}
    21 .mg-headwidget .site-branding-text, .mg-headwidget .site-branding-text a, .site-title a, .site-description, .site-title a:hover {
    22     color: #fff;
    23 }
     21/* .mg-headwidget .site-branding-text, .mg-headwidget .site-branding-text a, .site-title a, .site-description, .site-title a:hover {
     22    color: #fff;
     23} */
    2424.mg-headwidget .trans {
    2525    background: rgba(0, 0, 0, 0.0);
     
    3838    background: #008080;
    3939}
    40 .site-title a{color: #fff;}
     40.site-title a, .site-description{color: #fff;}
     41.site-title a:hover, .site-title a:focus{
     42    color: #008080;
     43}
    4144/*=== navbar Header colors ===*/
    4245.mg-headwidget .navbar-wp {
  • newspaperex/1.1/header.php

    r182109 r182195  
    3838                    <div class="mg-nav-widget-area">
    3939                        <div class="row align-items-center">
    40                             <?php $newsup_right_banner_advertisement = newsup_get_option('banner_right_advertisement_section');
    41                                   do_action('newspaperex_action_right_banner_advertisement'); ?>
     40                            <?php $newsup_right_banner_advertisement = newsup_get_option('banner_right_advertisement_section');         
     41                                   $newsup_center_logo_title = get_theme_mod('newsup_center_logo_title',false);
     42                                  do_action('newspaperex_action_right_banner_advertisement');
     43                                  if($newsup_center_logo_title == false ) { ?>
    4244                            <div class="col-md-4 col-sm-4">
     45                              <?php } else { ?>
     46                                <div class="col-12 text-center mx-auto mt-3">
     47                              <?php } ?>
    4348                                <div class="navbar-header">
    4449                                <?php the_custom_logo();
    4550                                if (display_header_text()) : if($newsup_right_banner_advertisement) { ?>
    4651                                <div class="site-branding-text text-center">
    47                                 <?php } else { ?> <div class="site-branding-text"><?php } ?>
    48                                 <h1 class="site-title"> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo esc_html(get_bloginfo( 'name' )); ?></a></h1>
     52                                <?php } else { ?> <div class="site-branding-text"><?php }                                 
     53                                if (is_front_page() || is_home()) { ?>
     54                                <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo esc_html(get_bloginfo( 'name' )); ?></a></h1>
     55                               <?php } else { ?>
     56                                <p class="site-title"> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo esc_html(get_bloginfo( 'name' )); ?></a></p>
     57                                <?php } ?>
    4958                                <p class="site-description"><?php echo esc_html(get_bloginfo( 'description' )); ?></p>
    5059                                </div>
     
    126135              if($subsc_enable == true) { ?>
    127136              <!-- Subscribe Button -->
    128                 <a href="<?php echo esc_url($subsc_link); ?>" <?php if($subsc_target) { ?> target="_blank" <?php } ?>  class="btn-bell btn-theme mx-2"><i class="fa fa-bell"></i></a>
     137                <a href="<?php echo esc_url($subsc_link); ?>" <?php if($subsc_target) { ?> target="_blank" <?php } ?>  class="btn-bell btn-theme d-none d-lg-block mx-2"><i class="fa fa-bell"></i></a>
    129138              <!-- /Subscribe Button -->
    130139              <?php } ?>
  • newspaperex/1.1/hooks/hooks.php

    r178706 r182195  
    188188    {
    189189
    190         if (('' != newsup_get_option('banner_right_advertisement_section')) ) {
     190        if (('' != newsup_get_option('banner_right_advertisement_section')) ) {       
     191            $newsup_center_logo_title = get_theme_mod('newsup_center_logo_title',false);
     192            if($newsup_center_logo_title == false ) {
     193         
    191194            if(newsup_get_option('banner_advertisement_section'))
    192195            {
     
    195198            <?php } else { ?>
    196199             <div class="col-md-8 col-sm-8">
    197              <?php } ?>   
    198                 <?php if (('' != newsup_get_option('banner_right_advertisement_section'))):
     200             <?php } } else { ?>   
     201             <div class="col-8 text-center mx-auto">
     202                <?php } if (('' != newsup_get_option('banner_right_advertisement_section'))):
    199203
    200204                    $newsup_right_banner_advertisement = newsup_get_option('banner_right_advertisement_section');
     
    236240    {
    237241
    238         if (('' != newsup_get_option('banner_advertisement_section')) ) {
     242        if (('' != newsup_get_option('banner_advertisement_section')) ) {     
     243            $newsup_center_logo_title = get_theme_mod('newsup_center_logo_title',false);
     244            if($newsup_center_logo_title == false ) {
    239245           
    240246            if(newsup_get_option('banner_right_advertisement_section'))
     
    244250            <?php } else { ?>
    245251             <div class="col-md-8 col-sm-8">
    246              <?php } ?>
    247                 <?php if (('' != newsup_get_option('banner_advertisement_section'))):
     252             <?php } } else { ?>   
     253             <div class="col-8 text-center mx-auto">
     254                <?php } if (('' != newsup_get_option('banner_advertisement_section'))):
    248255
    249256                    $newsup_banner_advertisement = newsup_get_option('banner_advertisement_section');
  • newspaperex/1.1/readme.txt

    r182109 r182195  
    55Requires PHP: 7
    66Tested up to: 6.1
    7 Stable tag: 1.0
     7Stable tag: 1.1
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    8787= 1.0 =
    8888* Fixed Header banner issue.
     89
     90= 1.0 =
     91* Added center logo setting.
  • newspaperex/1.1/style.css

    r182109 r182195  
    55Author URI: https://themeansar.com
    66Description: Newspaperex is a fast, clean, modern-looking Best Responsive News Magazine WordPress theme. The theme is fully widgetized, so users can manage the content by using easy to use widgets. Newspaperex is suitable for dynamic news, newspapers, magazine, publishers, blogs, editors, online and gaming magazines, newsportals,personal blogs, newspaper, publishing or review siteand any creative website. Newspaperex is SEO friendly, WPML,Gutenberg, translation and RTL ready. Live preview : https://newsup.themeansar.com/newspaperex/ and documentation at https://docs.themeansar.com/docs/newsup/
    7 Version: 1.0
     7Version: 1.1
    88Requires PHP: 7
    99Tested up to: 6.1
Note: See TracChangeset for help on using the changeset viewer.