Make WordPress Themes

Changeset 357435


Ignore:
Timestamp:
11/05/2026 03:22:04 PM (3 hours ago)
Author:
themedropbox
Message:

New version of Resume X - 1.1.8

Location:
resume-x/1.1.8
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • resume-x/1.1.8/actions/header-actions.php

    r314900 r357435  
    2020                                                'menu_id'        => 'resume-x-menu',
    2121                                                'menu_class'        => 'resume-x-menu',
    22                                         ));
     22                                                'fallback_cb'       => 'resume_x_menu_fallback',
     23                ));
    2324                                        ?>
    2425                                </nav><!-- #site-navigation -->
    … …  
    6869                                        'menu_id'        => 'resume-x-smenu',
    6970                                        'menu_class'        => 'resume-x-menu sm-menu-list',
    70                                 ));
     71                                        'fallback_cb'       => 'resume_x_menu_fallback',
     72                ));
    7173                                ?>
    7274                        </nav>
  • resume-x/1.1.8/assets/css/main.css

    r246359 r357435  
    696696  box-shadow: var(--box-shadow);
    697697}
     698
     699/* ==========================================================================
     700   Header Logo & Navigation Spacing Rule (Collision Prevention)
     701   Ensures at least 30-40px gap between logo and menu so they never touch.
     702   ========================================================================== */
     703@media (min-width: 992px) {
     704  .menubar-content,
     705  .pxm-style1 .navigation .d-flex,
     706  .pxm-style2 .navigation .d-flex,
     707  .navigation .d-flex,
     708  .site-header .d-flex,
     709  .header-main-wrapper .d-flex,
     710  .resume-x-container.menu-inner,
     711  .travel-x-container.menu-inner {
     712    gap: 35px;
     713  }
     714
     715  .head-logo-sec,
     716  .pxms1-logo,
     717  .site-branding.brand-logo,
     718  .site-branding.brand-text,
     719  .menubar-content .head-logo-sec,
     720  .header-logo-wrap,
     721  .sm-logo {
     722    flex-shrink: 0;
     723    margin-right: 30px;
     724  }
     725
     726  .main-navigation,
     727  .pxms1-menu,
     728  .resume-x-container.menu-inner,
     729  .travel-x-container.menu-inner {
     730    min-width: 0;
     731  }
     732}
  • resume-x/1.1.8/functions.php

    r344067 r357435  
    291291}
    292292add_filter('excerpt_more', 'resume_x_excerpt_more');
     293
     294
     295/**
     296 * Fallback menu for Resume X
     297 * Limits fallback menu display to a maximum of 7 items (Home + up to 6 published pages)
     298 * to prevent header layout break when no custom menu is assigned.
     299 *
     300 * @param array|object $args Arguments passed from wp_nav_menu.
     301 */
     302function resume_x_menu_fallback($args = array())
     303{
     304        $menu_id = is_array($args) && isset($args['menu_id']) ? $args['menu_id'] : (is_object($args) && isset($args->menu_id) ? $args->menu_id : 'resume-x-menu');
     305        $menu_class = is_array($args) && isset($args['menu_class']) ? $args['menu_class'] : (is_object($args) && isset($args->menu_class) ? $args->menu_class : 'resume-x-menu');
     306
     307        $menu = '<ul id="' . esc_attr($menu_id) . '" class="' . esc_attr($menu_class) . '">';
     308
     309        // 1. Add Home link as first item
     310        $home_current = (is_front_page() || is_home()) ? ' current-menu-item' : '';
     311        $menu .= '<li class="menu-item menu-item-home' . $home_current . '"><a href="' . esc_url(home_url('/')) . '">' . esc_html__('Home', 'resume-x') . '</a></li>';
     312
     313        // 2. Query up to 6 published pages, excluding static front page if configured
     314        $exclude_ids = array();
     315        $front_page_id = (int) get_option('page_on_front');
     316        if ($front_page_id > 0) {
     317                $exclude_ids[] = $front_page_id;
     318        }
     319
     320        $pages = get_pages(array(
     321                'number'      => 6,
     322                'sort_column' => 'menu_order, post_title',
     323                'sort_order'  => 'ASC',
     324                'post_status' => 'publish',
     325                'exclude'     => $exclude_ids,
     326        ));
     327
     328        if (!empty($pages)) {
     329                foreach ($pages as $page) {
     330                        $page_current = (is_page($page->ID)) ? ' current-menu-item' : '';
     331                        $menu .= '<li class="menu-item menu-item-type-post_type menu-item-object-page' . $page_current . '"><a href="' . esc_url(get_permalink($page->ID)) . '">' . esc_html($page->post_title) . '</a></li>';
     332                }
     333        }
     334
     335        $menu .= '</ul>';
     336
     337        echo $menu;
     338}
  • resume-x/1.1.8/inc/about/about.php

    r344067 r357435  
    298298 *
    299299 */
     300
     301/**
     302 * Pro notice text (Modern SaaS Card Design)
     303 */
    300304function resume_x_pnotice_output()
    301305{
     306        $current_theme = wp_get_theme();
     307        $current_theme_name = $current_theme->get('Name');
     308        $pro_link  = esc_url('https://wpthemespace.com/product/resumex-pro/');
    302309        $demo_link = esc_url('https://wpthemespace.com/product/resumex-pro/');
    303         $pro_link = esc_url('https://wpthemespace.com/product/resumex-pro/?add-to-cart=6049');
    304 
    305310?>
    306         <div class="resume-x-pro-notice">
    307                 <div class="resume-x-notice-content">
    308                         <div class="resume-x-notice-icon">
    309                                 <span class="resume-x-rocket">🚀</span>
     311        <style>
     312                @keyframes RedGlow {
     313                        0% { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.3); }
     314                        50% { box-shadow: 0 6px 28px rgba(239, 68, 68, 0.35); border-color: rgba(239, 68, 68, 0.65); }
     315                        100% { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.3); }
     316                }
     317                @keyframes BtnPulse {
     318                        0% { transform: scale(1); box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35); }
     319                        50% { transform: scale(1.02); box-shadow: 0 6px 18px rgba(220, 38, 38, 0.55); }
     320                        100% { transform: scale(1); box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35); }
     321                }
     322                @keyframes TagPulse {
     323                        0% { transform: scale(1); }
     324                        50% { transform: scale(1.04); }
     325                        100% { transform: scale(1); }
     326                }
     327                .resume-x-pro-notice-card {
     328                        background: #ffffff !important;
     329                        border: 1px solid rgba(239, 68, 68, 0.35) !important;
     330                        border-left: 5px solid #ef4444 !important;
     331                        border-radius: 12px !important;
     332                        padding: 24px 28px !important;
     333                        margin: 20px 0 !important;
     334                        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.12) !important;
     335                        animation: RedGlow 3.5s ease-in-out infinite !important;
     336                        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
     337                        box-sizing: border-box !important;
     338                        position: relative !important;
     339                }
     340                .resume-x-pro-wrapper {
     341                        display: flex !important;
     342                        align-items: center !important;
     343                        justify-content: space-between !important;
     344                        gap: 32px !important;
     345                        flex-wrap: wrap !important;
     346                }
     347                .resume-x-pro-left {
     348                        flex: 1 1 560px !important;
     349                }
     350                .resume-x-pro-header {
     351                        display: flex !important;
     352                        align-items: center !important;
     353                        gap: 10px !important;
     354                        margin-bottom: 10px !important;
     355                        flex-wrap: wrap !important;
     356                }
     357                .resume-x-tag-pro {
     358                        background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
     359                        color: #ffffff !important;
     360                        font-size: 11px !important;
     361                        font-weight: 800 !important;
     362                        letter-spacing: 1px !important;
     363                        padding: 3px 10px !important;
     364                        border-radius: 6px !important;
     365                        text-transform: uppercase !important;
     366                }
     367                .resume-x-tag-deal {
     368                        background: #fef2f2 !important;
     369                        color: #b91c1c !important;
     370                        border: 1px solid #fecaca !important;
     371                        font-size: 12px !important;
     372                        font-weight: 700 !important;
     373                        padding: 3px 10px !important;
     374                        border-radius: 6px !important;
     375                        animation: TagPulse 2.5s ease-in-out infinite !important;
     376                        display: inline-flex !important;
     377                        align-items: center !important;
     378                        gap: 5px !important;
     379                }
     380                .resume-x-pro-headline {
     381                        font-size: 20px !important;
     382                        font-weight: 800 !important;
     383                        color: #111827 !important;
     384                        margin: 0 0 10px 0 !important;
     385                        line-height: 1.35 !important;
     386                }
     387                .resume-x-pro-desc {
     388                        font-size: 13.5px !important;
     389                        line-height: 1.6 !important;
     390                        color: #4b5563 !important;
     391                        margin: 0 0 16px 0 !important;
     392                }
     393                .resume-x-pro-badges {
     394                        display: flex !important;
     395                        flex-wrap: wrap !important;
     396                        gap: 8px !important;
     397                }
     398                .resume-x-badge-item {
     399                        background: #f3f4f6 !important;
     400                        color: #374151 !important;
     401                        border: 1px solid #e5e7eb !important;
     402                        font-size: 11.5px !important;
     403                        font-weight: 600 !important;
     404                        padding: 4px 10px !important;
     405                        border-radius: 6px !important;
     406                        display: inline-flex !important;
     407                        align-items: center !important;
     408                        gap: 5px !important;
     409                }
     410                .resume-x-badge-item span {
     411                        color: #10b981 !important;
     412                        font-weight: bold !important;
     413                }
     414                .resume-x-pro-right {
     415                        display: flex !important;
     416                        flex-direction: column !important;
     417                        align-items: flex-end !important;
     418                        gap: 10px !important;
     419                }
     420                .resume-x-btn-cta {
     421                        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
     422                        color: #ffffff !important;
     423                        font-size: 14px !important;
     424                        font-weight: 700 !important;
     425                        padding: 12px 24px !important;
     426                        border-radius: 8px !important;
     427                        text-decoration: none !important;
     428                        display: inline-flex !important;
     429                        align-items: center !important;
     430                        gap: 8px !important;
     431                        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35) !important;
     432                        animation: BtnPulse 2.8s ease-in-out infinite !important;
     433                        transition: all 0.2s ease !important;
     434                        border: none !important;
     435                }
     436                .resume-x-btn-cta:hover {
     437                        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
     438                        color: #ffffff !important;
     439                        transform: translateY(-2px) !important;
     440                        box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45) !important;
     441                }
     442                .resume-x-btn-demo {
     443                        background: #ffffff !important;
     444                        color: #4b5563 !important;
     445                        font-size: 13px !important;
     446                        font-weight: 600 !important;
     447                        padding: 8px 18px !important;
     448                        border-radius: 8px !important;
     449                        text-decoration: none !important;
     450                        border: 1px solid #d1d5db !important;
     451                        display: inline-flex !important;
     452                        align-items: center !important;
     453                        gap: 6px !important;
     454                        transition: all 0.2s ease !important;
     455                }
     456                .resume-x-btn-demo:hover {
     457                        background: #f9fafb !important;
     458                        color: #111827 !important;
     459                        border-color: #9ca3af !important;
     460                }
     461                .resume-x-btn-dismiss {
     462                        background: transparent !important;
     463                        border: none !important;
     464                        color: #9ca3af !important;
     465                        font-size: 12px !important;
     466                        cursor: pointer !important;
     467                        padding: 4px 6px !important;
     468                        text-decoration: underline !important;
     469                        transition: color 0.2s ease !important;
     470                }
     471                .resume-x-btn-dismiss:hover {
     472                        color: #4b5563 !important;
     473                }
     474                @media (max-width: 782px) {
     475                        .resume-x-pro-wrapper {
     476                                flex-direction: column !important;
     477                                align-items: flex-start !important;
     478                        }
     479                        .resume-x-pro-right {
     480                                align-items: flex-start !important;
     481                                width: 100% !important;
     482                        }
     483                        .resume-x-btn-cta {
     484                                width: 100% !important;
     485                                justify-content: center !important;
     486                        }
     487                }
     488        </style>
     489
     490        <div class="resume-x-pro-notice-card">
     491                <div class="resume-x-pro-wrapper">
     492                        <div class="resume-x-pro-left">
     493                                <div class="resume-x-pro-header">
     494                                        <span class="resume-x-tag-pro"><?php esc_html_e('PRO UPGRADE', 'resume-x'); ?></span>
     495                                        <span class="resume-x-tag-deal">⚡ <?php esc_html_e('Special Offer: Now Only $19 - Price Dropped!', 'resume-x'); ?></span>
     496                                </div>
     497                                <h2 class="resume-x-pro-headline">
     498                                        <?php printf(esc_html__('%s Pro — Showcase Your Portfolio, Land Clients & Dream Jobs!', 'resume-x'), esc_html($current_theme_name)); ?>
     499                                </h2>
     500                                <p class="resume-x-pro-desc">
     501                                        <?php esc_html_e('Take your personal branding to the next level with elegant resume templates, interactive skill bars, timeline milestones, and premium speed.', 'resume-x'); ?>
     502                                </p>
     503                                <div class="resume-x-pro-badges">
     504                                        <div class="resume-x-badge-item"><span>✓</span> <?php esc_html_e('1-Click Demo Import (Starter Sites)', 'resume-x'); ?></div>
     505                                        <div class="resume-x-badge-item"><span>✓</span> <?php esc_html_e('Multiple Resume & Portfolio Layouts', 'resume-x'); ?></div>
     506                                        <div class="resume-x-badge-item"><span>✓</span> <?php esc_html_e('10x Faster Speed & Core Web Vitals', 'resume-x'); ?></div>
     507                                        <div class="resume-x-badge-item"><span>✓</span> <?php esc_html_e('Interactive Skills & Experience Showcase', 'resume-x'); ?></div>
     508                                        <div class="resume-x-badge-item"><span>✓</span> <?php esc_html_e('Remove Footer Credit & 24/7 VIP Support', 'resume-x'); ?></div>
     509                                </div>
    310510                        </div>
    311                         <div class="resume-x-notice-text">
    312                                 <h3 class="resume-x-notice-title">
    313                                         <?php esc_html_e('Unlock Premium Features!', 'resume-x'); ?>
    314                                         <span class="resume-x-pro-badge"><?php esc_html_e('PRO', 'resume-x'); ?></span>
    315                                         <span class="resume-x-lifetime-badge"><?php esc_html_e('✔ Pay Once · Lifetime Access', 'resume-x'); ?></span>
    316                                 </h3>
    317                                 <p class="resume-x-notice-desc">
    318                                         <?php esc_html_e('Transform your website with Resume X Pro - Get premium demos, advanced customization, and exclusive widgets.', 'resume-x'); ?>
    319                                 </p>
    320                         </div>
    321                         <div class="resume-x-notice-actions">
    322                                 <a href="<?php echo esc_url($pro_link); ?>" target="_blank" class="resume-x-btn-primary">
    323                                         <?php esc_html_e('Upgrade Now', 'resume-x'); ?>
     511                        <div class="resume-x-pro-right">
     512                                <a href="<?php echo esc_url($pro_link); ?>" target="_blank" class="resume-x-btn-cta">
     513                                        🚀 <?php esc_html_e('Upgrade to Pro for Only $19', 'resume-x'); ?>
    324514                                </a>
    325                                 <a href="<?php echo esc_url($demo_link); ?>" target="_blank" class="resume-x-btn-secondary">
    326                                         <?php esc_html_e('View Demo', 'resume-x'); ?>
     515                                <a href="<?php echo esc_url($demo_link); ?>" target="_blank" class="resume-x-btn-demo">
     516                                        👀 <?php esc_html_e('Live Demo & Features', 'resume-x'); ?>
    327517                                </a>
    328                                 <button class="button button-info btnend"><?php esc_html_e('Maybe Later', 'resume-x') ?></button>
     518                                <button class="resume-x-btn-dismiss btnend"><?php esc_html_e('Maybe Later', 'resume-x'); ?></button>
    329519                        </div>
    330520                </div>
    331521        </div>
    332        
    333522<?php
    334523}
    335524
    336 
    337 //Admin notice
     525// Admin notice display
    338526function resume_x_new_optins_texts()
    339527{
    340         $hide_date = get_option('resume_x_text_info1_v2');
     528        $hide_date = get_option('resume_x_pro_textinfo_v118');
    341529        if (!empty($hide_date)) {
    342530                $clickhide = round((time() - strtotime($hide_date)) / 24 / 60 / 60);
    … …  
    346534        }
    347535
    348 
    349536?>
    350         <div class="mgadin-notice notice notice-success mgadin-theme-dashboard mgadin-theme-dashboard-notice mge is-dismissible meis-dismissible">
     537        <div class="mgadin-notice notice notice-success mgadin-theme-dashboard mgadin-theme-dashboard-notice mge is-dismissible meis-dismissible" style="padding:0; border:none; background:transparent;">
    351538                <?php resume_x_pnotice_output(); ?>
    352539        </div>
    353540<?php
    354 
    355541}
    356542add_action('admin_notices', 'resume_x_new_optins_texts');
    357 
    358543
    359544function resume_x_new_optins_texts_init()
    360545{
    361546        if (isset($_GET['xbnotice']) && $_GET['xbnotice'] == 1) {
    362                 update_option('resume_x_text_info1_v2', current_time('mysql'));
     547                update_option('resume_x_pro_textinfo_v118', current_time('mysql'));
     548        }
     549        $install_date = get_option('resume_x_theme_install_date');
     550        if (empty($install_date)) {
     551                update_option('resume_x_theme_install_date', current_time('mysql'));
    363552        }
    364553}
    365554add_action('init', 'resume_x_new_optins_texts_init');
     555
  • resume-x/1.1.8/readme.txt

    r344067 r357435  
    33Contributors: nalam
    44Tags: two-columns, blog, photography, portfolio, right-sidebar, custom-background, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
    5 Requires PHP: 5.6
    6 Requires at least: 5.0
    7 Tested up to: 7.0
    8 Stable tag: 1.1.7
     5Requires PHP: 7.4
     6Requires at least: 6.0
     7Tested up to: 7.1
     8Stable tag: 1.1.8
    99License: GNU General Public License v2 or later
    10 License URI: http://opensource.org/licenses/gpl-2.0.php
     10License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111
    1212== Description ==
    … …  
    7272== Changelog ==
    7373
     74= 1.1.8 =
     75* Tested with latest WordPress version.
     76* Enhanced navigation menu fallback with 7-item clean display.
     77* Header logo collision prevention and styling improvements.
     78
     79
    7480= 1.1.6 =
    7581* Mobile menu issue fixed
  • resume-x/1.1.8/style.css

    r344067 r357435  
    55Author URI: https://wpthemespace.com/
    66Description: Resume X – is Resume / Portfolio / Personal Blog WordPress theme. Resume X is the best WordPress theme for photographers, doctors, programmers, designers, freelancers, writers, artists, lawyers, musicians, trainers, developers or any other profession. No coding skills are needed for this theme. Its unique and modern design and All the codes are well organized. Resume X will help you to Introduce yourself to visitors in an awesome way to showcase your works and services with different types of content. Resume X is a responsive WordPress theme that means your website will look awesome on any devices.
    7 Version: 1.1.7
    8 Tested up to: 7.0
    9 Requires PHP: 5.6
     7Version: 1.1.8
     8Tested up to: 7.1
     9Requires PHP: 7.4
     10Requires at least: 6.0
    1011License: GNU General Public License v2 or later
    11 License URI: http://opensource.org/licenses/gpl-2.0.php
     12License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1213Text Domain: resume-x
    1314Tags: two-columns, blog, photography, portfolio, right-sidebar, custom-background, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, rtl-language-support
    … …  
    2223Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
    2324*/
     25
     26/* ==========================================================================
     27   Header Logo & Navigation Spacing Rule (Collision Prevention)
     28   Ensures at least 30-40px gap between logo and menu so they never touch.
     29   ========================================================================== */
     30@media (min-width: 992px) {
     31  .menubar-content,
     32  .pxm-style1 .navigation .d-flex,
     33  .pxm-style2 .navigation .d-flex,
     34  .navigation .d-flex,
     35  .site-header .d-flex,
     36  .header-main-wrapper .d-flex,
     37  .resume-x-container.menu-inner,
     38  .travel-x-container.menu-inner {
     39    gap: 35px;
     40  }
     41
     42  .head-logo-sec,
     43  .pxms1-logo,
     44  .site-branding.brand-logo,
     45  .site-branding.brand-text,
     46  .menubar-content .head-logo-sec,
     47  .header-logo-wrap,
     48  .sm-logo {
     49    flex-shrink: 0;
     50    margin-right: 30px;
     51  }
     52
     53  .main-navigation,
     54  .pxms1-menu,
     55  .resume-x-container.menu-inner,
     56  .travel-x-container.menu-inner {
     57    min-width: 0;
     58  }
     59}
Note: See TracChangeset for help on using the changeset viewer.