Make WordPress Themes


Ignore:
Location:
bw-featuredimage-portfolio
Files:
5 added
2 deleted
17 edited

Legend:

Unmodified
Added
Removed
  • bw-featuredimage-portfolio/1.1.2/customize/bw-featuredimage-portfolio-introduction.php

    r357705 r357705  
    5959                 //  Setting my image 2
    6060                  $wp_customize->add_setting('bw_pfn_my_img2', array(
    61                     'default' => BW_FEATUREDIMAGE_DIR_URI . '/imgs/me2.jpg',
     61                    'default' => BW_FEATUREDIMAGE_PORTFOLIO_DIR_URI . '/imgs/me2.jpg',
    6262                    'type'    => 'theme_mod',
    6363                    'sanitize_callback' => 'esc_url_raw',
  • bw-featuredimage-portfolio/1.1.2/customize/bw-featuredimage-portfolio-skills.php

    r357705 r357705  
    11<?php
    2 function bw_pfn_customize_myskills($wp_customize){
     2function bw_featruredimage_portfolio_customize_myskills($wp_customize){
    33 // Section My Skills
    44 $wp_customize->add_section('bw_pfn_skills', array(
    … …  
    125125                ));
    126126
    127         }add_action('customize_register','bw_pfn_customize_myskills');
     127        }add_action('customize_register','bw_featruredimage_portfolio_customize_myskills');
    128128
    129129       
  • bw-featuredimage-portfolio/1.1.2/functions.php

    r357705 r357705  
    1212*/
    1313/* ----------------------------------------------------------------------------------------
    14  * 1.0 - CONSTANTS. Bitwali Portfolie Natural bw_featuredimage_portfolio
     14 * 1.0 - CONSTANTS. Bitwali Featured Image Portfolie
    1515 * ----------------------------------------------------------------------------------------
    1616 */
    17  if ( ! defined( 'BW_FEATUREDIMAGE_DIR' ) ) {   define( 'BW_FEATUREDIMAGE_DIR', get_template_directory()  );}
    18 if ( ! defined( 'BW_FEATUREDIMAGE_DIR_URI' ) ) {        define( 'BW_FEATUREDIMAGE_DIR_URI', get_template_directory_uri()  );}
     17 if ( ! defined( 'BW_FEATUREDIMAGE_PORTFOLIO_DIR' ) ) { define( 'BW_FEATUREDIMAGE_PORTFOLIO_DIR', get_template_directory()  );}
     18if ( ! defined( 'BW_FEATUREDIMAGE_PORTFOLIO_DIR_URI' ) ) {      define( 'BW_FEATUREDIMAGE_PORTFOLIO_DIR_URI', get_template_directory_uri()  );}
    1919
    2020
    2121
    2222/* ----------------------------------------------------------------------------------------
    23  * 2.0 - Theme Support. Bitwali Portfolie Natural bw_featuredimage_portfolio
     23 * 2.0 - Theme Support. Bitwali Featured Image Portfolie 
    2424 * ----------------------------------------------------------------------------------------
    2525 */
    2626if ( ! function_exists( 'bw_featuredimage_portfolio_theme_support' ) ) {       
    2727 function bw_featuredimage_portfolio_theme_support(){
    28         load_theme_textdomain( 'pure-portfolio', BW_FEATUREDIMAGE_DIR . '/languages' );
     28        load_theme_textdomain( 'pure-portfolio', BW_FEATUREDIMAGE_PORTFOLIO_DIR . '/languages' );
    2929        add_theme_support( "title-tag" );
    3030        add_theme_support( 'wp-block-styles' );
    … …  
    3434  add_theme_support( 'post-thumbnails' );
    3535  // remove_image_size('bw_featuredimage_portfolio-thumbnail');
    36   add_image_size( 'bw_featuredimage_portfolio-thumbnail',340,227,true);
     36  add_image_size( 'bw-featuredimage-portfolio-thumbnail',340,227,true);
    3737 
    3838        // Add theme support for gutenberg block.
    … …  
    9797}
    9898/* ----------------------------------------------------------------------------------------
    99  * 4.0 - SIDEBAR =>Bitwali Portfolie Natural
     99 * 4.0 - SIDEBAR =>Bitwali Featured Image Portfolie
    100100 * ----------------------------------------------------------------------------------------
    101101 */
    … …  
    119119
    120120/* ----------------------------------------------------------------------------------------
    121  * 5.0 - STYLE AND SCRIPS =>Bitwali Portfolie Natural
     121 * 5.0 - STYLE AND SCRIPS =>Bitwali Featured Image Portfolie
    122122 * ----------------------------------------------------------------------------------------
    123123 */
    … …  
    125125if (!function_exists('bw_featuredimage_portfolio_enqueue_style_script')) {
    126126 function bw_featuredimage_portfolio_enqueue_style_script(){
    127         $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
    128         $bw_featuredimage_portfolio_version = wp_get_theme()->get('Version');
    129   wp_enqueue_style( 'bw-pfskillsop-style', get_stylesheet_uri() );
     127       
     128  wp_enqueue_style( 'bw-featruedimage-portfolio', get_stylesheet_uri() );
     129 
    130130  // w3
    131   wp_enqueue_style( 'bw-pfskillsop-w3', 'https://www.w3schools.com/w3css/4/w3.css',[], null,false );
     131  wp_enqueue_style( 'w3css', get_template_directory_uri().'/w3css/w3.css',array(),'4.15' );
    132132 
    133133  // font-awesome
    134134   wp_enqueue_style( 'fontawesomemini', get_template_directory_uri().'/awesome/font-awesome.min.css',array(),'4.7.0'  );
    135135 
    136   // font-family
    137   wp_enqueue_style( 'bw-pfskillsop-googleapis', 'https://fonts.googleapis.com/css?family=Raleway',array(), $bw_featuredimage_portfolio_version, 'all' ) ;
    138   // bw-css
    139   wp_enqueue_style( 'bw-pfskillsop-googleapis', 'https://fonts.googleapis.com/css?family=Raleway',array(), $bw_featuredimage_portfolio_version, 'all' ) ;
     136  // googleapis 
     137  wp_enqueue_style( 'googleapis', get_template_directory_uri().'/googleapis/family-raleway.css');
     138 
    140139  // menu- script
    141   wp_enqueue_script( 'bw-pfskillsop-nav', BW_FEATUREDIMAGE_DIR_URI.'/scripts/bw-featuredimage-nav.js' );
     140  wp_enqueue_script( 'bw-featruedimage-portfolio-nav', BW_FEATUREDIMAGE_PORTFOLIO_DIR_URI.'/scripts/bw-featuredimage-nav.js' );
    142141
    143142  if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
    … …  
    145144        }
    146145
    147 
    148146 }add_action( 'wp_enqueue_scripts', 'bw_featuredimage_portfolio_enqueue_style_script' );
    149147}
    150148
    151149
    152 function custom_customize_enqueue() {
     150function bw_featruedimage_portfolio_controls_customize_enqueue() {
    153151       
    154         wp_enqueue_style( 'bw-pfskillsop-customize-control', BW_FEATUREDIMAGE_DIR_URI.'/styles/bw-controls.css',[], null,false );
     152        wp_enqueue_style( 'bw-featruedimage-portfolio-customize-control', BW_FEATUREDIMAGE_PORTFOLIO_DIR_URI.'/styles/bw-featruedimage-portfolio-controls.css',[], null,false );
    155153}
    156 add_action( 'customize_controls_enqueue_scripts', 'custom_customize_enqueue' );
     154add_action( 'customize_controls_enqueue_scripts', 'bw_featruedimage_portfolio_controls_customize_enqueue' );
    157155
    158156
    159157/* ----------------------------------------------------------------------------------------
    160  * 6.0 - Customization =>Bitwali Portfolie Natural
     158 * 6.0 - Customization =>Bitwali Featured Image Portfolie
    161159 * ----------------------------------------------------------------------------------------
    162160 */
    163161
    164 require_once BW_FEATUREDIMAGE_DIR  . '/customize/bw-featuredimage-portfolio-senitization-class.php';
    165 require_once BW_FEATUREDIMAGE_DIR  . '/customize/bw-featuredimage-portfolio-skills.php';
    166 require_once BW_FEATUREDIMAGE_DIR  . '/customize/bw-featuredimage-portfolio-introduction.php';
    167 require_once BW_FEATUREDIMAGE_DIR  . '/customize/bw-featuredimage-portfolio-footer.php';
    168 require_once BW_FEATUREDIMAGE_DIR  . '/customize/bw-featuredimage-portfolio-service-basic.php';
    169 require_once BW_FEATUREDIMAGE_DIR  . '/customize/bw-featuredimage-portfolio-service-standard.php';
    170 require_once BW_FEATUREDIMAGE_DIR  . '/customize/bw-featuredimage-portfolio-service-premium.php';
    171 require_once BW_FEATUREDIMAGE_DIR  . '/customize/bw-featuredimage-portfolio-contactme.php';
    172 // require_once BW_FEATUREDIMAGE_DIR  . '/customize/bw-featuredimage-portfolio-social.php';
     162require_once BW_FEATUREDIMAGE_PORTFOLIO_DIR  . '/customize/bw-featuredimage-portfolio-senitization-class.php';
     163require_once BW_FEATUREDIMAGE_PORTFOLIO_DIR  . '/customize/bw-featuredimage-portfolio-skills.php';
     164require_once BW_FEATUREDIMAGE_PORTFOLIO_DIR  . '/customize/bw-featuredimage-portfolio-introduction.php';
     165require_once BW_FEATUREDIMAGE_PORTFOLIO_DIR  . '/customize/bw-featuredimage-portfolio-footer.php';
     166require_once BW_FEATUREDIMAGE_PORTFOLIO_DIR  . '/customize/bw-featuredimage-portfolio-service-basic.php';
     167require_once BW_FEATUREDIMAGE_PORTFOLIO_DIR  . '/customize/bw-featuredimage-portfolio-service-standard.php';
     168require_once BW_FEATUREDIMAGE_PORTFOLIO_DIR  . '/customize/bw-featuredimage-portfolio-service-premium.php';
     169require_once BW_FEATUREDIMAGE_PORTFOLIO_DIR  . '/customize/bw-featuredimage-portfolio-contactme.php';
     170// require_once BW_FEATUREDIMAGE_PORTFOLIO_DIR  . '/customize/bw-featuredimage-portfolio-social.php';
    173171/* ----------------------------------------------------------------------------------------
    174172 * 1.0 - inc  => social function
    175173 * ----------------------------------------------------------------------------------------
    176174 */
    177 require_once BW_FEATUREDIMAGE_DIR  . '/inc/bw-featuredimage-portfolio-social.php';
    178 //require_once BW_FEATUREDIMAGE_DIR  . '/inc/bw-pfskillsop-customize-twosettingonecontrol.php';
     175require_once BW_FEATUREDIMAGE_PORTFOLIO_DIR  . '/inc/bw-featuredimage-portfolio-social.php';
     176//require_once BW_FEATUREDIMAGE_PORTFOLIO_DIR  . '/inc/bw-pfskillsop-customize-twosettingonecontrol.php';
    179177/* ----------------------------------------------------------------------------------------
    180  * 1.0 - Comment form =>Bitwali Portfolie Natural
     178 * 1.0 - Comment form =>Bitwali Portfolie
    181179 * ----------------------------------------------------------------------------------------
    182180 */
    183 require_once BW_FEATUREDIMAGE_DIR  . '/inc/comment-form.php';
     181require_once BW_FEATUREDIMAGE_PORTFOLIO_DIR  . '/inc/comment-form.php';
  • bw-featuredimage-portfolio/1.1.2/header.php

    r357705 r357705  
    22<html <?php language_attributes(); ?>>
    33<head>
    4 
    54<meta charset="UTF-8">
    65<meta name="viewport" content="width=device-width, initial-scale=1">
    7 
    86<?php wp_head();?>
    97</head>
    108<body  <?php body_class( 'w3-light-grey w3-content' ); ?>  id="maxwidth" >
    11 <?php wp_body_open(); ?>
    12 <!-- Sidebar/menu -->
    13 <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'bw-featuredimage-portfolio' ); ?></a>
    14 <nav class="w3-sidebar w3-collapse w3-white w3-animate-left" 0style="z-index:3;width:300px;" id="featuredimage-sidemenu"> <br>
     9 <?php wp_body_open(); ?>
     10 <!-- Sidebar/menu -->
     11 <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'bw-featuredimage-portfolio' ); ?></a>
     12 <nav class="w3-sidebar w3-collapse w3-white w3-animate-left" id="featuredimage-sidemenu"> <br>
    1513  <div class="w3-container">
    16     <a href="#" onclick="bw_close()" class="w3-hide-large w3-right w3-jumbo w3-padding w3-hover-grey" title="close menu">
    17       <i class="fa fa-remove"></i>
    18     </a>
    19     <img src="<?php  echo esc_url(get_theme_mod('bw_sidemenu_img',BW_FEATUREDIMAGE_DIR_URI.'/imgs/cynthia_side.jpg'));?>" style="width:45%;" class="w3-round"><br><br>
     14   <a id="clsd" href="#" onclick="bw_close()" class="w3-hide-large w3-right w3-jumbo w3-padding w3-hover-grey" title="close menu"><i  class="fa fa-remove"> </i> </a>
     15    <img  src="<?php  echo esc_url(get_theme_mod('bw_sidemenu_img',BW_FEATUREDIMAGE_PORTFOLIO_DIR_URI.'/imgs/cynthia_side.jpg'));?>"  class="w3-round"><br><br>
    2016
    2117  </div>
    22   <div class=" site-title " >
    23      <h4 class="w3-bar-block"> <a class="w3-bar-item w3-button w3-padding"  href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
    24        <?php echo esc_html(get_bloginfo( 'name' )); ?> </a>
    25      </h4>
    26     </div>
    27   <div class="site-description  "   >
    28       <p class="w3-text-grey w3-bar-block">   <a class="w3-bar-item w3-button w3-padding" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> <?php bloginfo( 'description' ); ?> </a>
    29       </p>
    30     </div>
     18  <div class=" site-title"  >
     19   <h4 class="w3-bar-block"  >
     20    <a  class="w3-bar-item w3-button w3-padding"  href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> <?php echo esc_html(get_bloginfo( 'name' )); ?> </a>
     21   </h4>
     22  </div>
     23  <div class="site-description "   >
     24   <p class="w3-text-grey w3-bar-block" >   
     25    <a class="w3-bar-item w3-button w3-padding" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> <?php bloginfo( 'description' ); ?> </a>
     26   </p>
     27  </div>
    3128  <div class="w3-bar-block">
    32 
    33     <a href="#portfolio" onclick="bw_close()" class="w3-bar-item w3-button w3-padding w3-text-teal"><i class="fa fa-th-large fa-fw w3-margin-right"></i><?php esc_html_e('PORTFOLIO','bw-featuredimage-portfolio'); ?> </a>
    34     <a href="#about" onclick="bw_close()" class="w3-bar-item w3-button w3-padding"><i class="fa fa-user fa-fw w3-margin-right"></i><?php esc_html_e('ABOUT','bw-featuredimage-portfolio');?></a>
    35     <a href="#contact" onclick="bw_close()" class="w3-bar-item w3-button w3-padding"><i class="fa fa-envelope fa-fw w3-margin-right"></i><?php esc_html_e('CONTACT','bw-featuredimage-portfolio');?></a>
     29   <a href="#portfolio" onclick="bw_close()" class="w3-bar-item w3-button w3-padding w3-text-teal" ><i class="fa fa-th-large fa-fw w3-margin-right"></i><?php esc_html_e('PORTFOLIO','bw-featuredimage-portfolio'); ?> </a>
     30    <a href="#about"  onclick="bw_close()" class="w3-bar-item w3-button w3-padding"><i class="fa fa-user fa-fw w3-margin-right"></i> <?php esc_html_e('ABOUT','bw-featuredimage-portfolio');?> </a>
     31    <a href="#contact"  onclick="bw_close()" class="w3-bar-item w3-button w3-padding"><i class="fa fa-envelope fa-fw w3-margin-right"></i><?php esc_html_e('CONTACT','bw-featuredimage-portfolio');?></a>
    3632  </div>
    3733  <div class="w3-panel w3-large">
    … …  
    4137
    4238<!-- Overlay effect when opening sidebar on small screens -->
    43 <div class="w3-overlay w3-hide-large w3-animate-opacity" onclick="bw_close()" style="cursor:pointer" title="close side menu" id="featuredimageOverlay"></div>
     39<div class="w3-overlay w3-hide-large w3-animate-opacity" onclick="bw_close()" title="close side menu" id="featuredimageOverlay"></div>
    4440<div class="w3-main" id="marginleft"  >
    4541
    46  
    4742
    4843
  • bw-featuredimage-portfolio/1.1.2/home.php

    r357705 r357705  
    1717<div class="w3-row-padding">
    1818 <div class="w3-row-padding w3-center w3-padding-32">
    19   <?php //bwpfskillsop_pagination(); ?>
     19 
    2020    <div class="w3-bar"><?php previous_posts_link( __('Newer posts','bw-featuredimage-portfolio') ); ?></div>
    2121   <div class="w3-bar"><?php next_posts_link( __('Older posts','bw-featuredimage-portfolio') ); ?> </div>
  • bw-featuredimage-portfolio/1.1.2/inc/comment-form.php

    r357705 r357705  
    11<?php
    22// Unset URL from comment form
    3 function bw_featuredimage_comment_form_below( $fields ) {
     3function bw_featuredimage_portfolio_comment_form_below( $fields ) {
    44    $comment_field = $fields['comment'];
    55    unset( $fields['comment'] );
    … …  
    88    return $fields;
    99}
    10 add_filter( 'comment_form_fields', 'bw_featuredimage_comment_form_below' );
     10add_filter( 'comment_form_fields', 'bw_featuredimage_portfolio_comment_form_below' );
    1111
    1212// comment form textarea
    13 function bitwali_modify_comment_form_text_area($args) {
     13function bw_featuredimgage_portfolio_comment_form_textarea_modification($args) {
    1414    $args['comment_field'] = '<p class="comment-form-comment"><label for="comment" width=100%></label></br><textarea class="w3-input w3-padding-16" id="comment" name="comment"  aria-required="true" required="required" placeholder="'._x( 'Your Feedback Is Appreciated*
    1515        ','comment please', 'bw-featuredimage-portfolio' ) .'" ></textarea></p>';
    … …  
    2626    return $args;
    2727}
    28 add_filter('comment_form_defaults', 'bitwali_modify_comment_form_text_area');
     28add_filter('comment_form_defaults', 'bw_featuredimgage_portfolio_comment_form_textarea_modification');
  • bw-featuredimage-portfolio/1.1.2/index.php

    r357705 r357705  
    11
    22<?php get_header();?>
    3 
    4 index.php
    5   <!-- !PAGE CONTENT! -->
    6   <!-- Header -->
    73  <?php get_template_part( 'template-parts/page','header' );?>
    84 
    … …  
    1814    <?php  if (has_post_thumbnail($post)):?>
    1915    <?php
    20      the_post_thumbnail('bwpfskillsop-thumbnail',array('class' =>'w3-hover-opacity','style'=>'width:100%','fetchpriority'=>'high'));
     16     the_post_thumbnail('bw-featuredimage-portfolio-thumbnail',array('class' =>'w3-hover-opacity','style'=>'width:100%','fetchpriority'=>'high'));
    2117    ?>
    2218    <?php endif;?>
  • bw-featuredimage-portfolio/1.1.2/readme.txt

    r357705 r357705  
    2020You are the owner of the content that you create with our services. The content is managed by you and you are responsible for its compliance. This includes copyright responsibility; you must agree that you only will create content that you own and/or have the right to use.
    2121==Recommended size of Images ==
    22         side menu image 250px X 250px
    23         tab image  300px X 300px
    24         featured post image 600px X 400px
    25         Author image    400px X 250px
     22        * side menu                     image 250px X 250px
     23        * tab image                     300px X 300px
     24        * featured post image 600px X 400px
     25        * Author image          400px X 250px
    2626
    2727
    2828
    29 == Changelog ==
     29== Copyright ==
     30Bw Featured Image Profile ia a  WordPress Theme, Copyright 2023 Bitwali
     31Bw Featured Image Profile is distributed under the terms of the GNU GPL
    3032
     33This program is free software: you can redistribute it and/or modify
     34it under the terms of the GNU General Public License as published by
     35the Free Software Foundation, either version 2 of the License, or
     36(at your option) any later version.
    3137
     38This program is distributed in the hope that it will be useful,
     39but WITHOUT ANY WARRANTY; without even the implied warranty of
     40MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     41GNU General Public License for more details.
    3242
    33 = 1.1.1 =
    34 * Released: October 15, 2023
     43Bw Featured Image Profile theme used the following third-party resources:
    3544
    36 Initial release
     45All Rights Reserved.  .
    3746
    38 == Copyright ==
    39 All Rights Reserved. Bitwali .
    4047
    4148Inter Font
    … …  
    6269Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
    6370License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
     71
     72== Changelog ==
     73= 1.1.2 =
     74 * Updated licence
     75 * Bundled  scripts and styles
     76 * Prefixed  constants fucntions
     77 * strings translated
     78 * Skip links ok
     79 * Keyboard navigation ok
     80 * Mobile button is focusable
     81 * Provided original files of scripts etc
     82 * Removed unused functions
     83 *
     84
     85
     86initial release
     87= 1.1.1 =
     88* Released: November 7, 2023
     89
     90
  • bw-featuredimage-portfolio/1.1.2/scripts/bw-featuredimage-nav.js

    r357705 r357705  
    22// Script to open and close sidebar
    33function bw_open() {
    4     document.getElementById("bwsidemenu").style.display = "block";
     4   
     5   
     6    document.getElementById("featuredimage-sidemenu").style.display = "block";
    57    document.getElementById("featuredimageOverlay").style.display = "block";
     8    document.getElementById('clsd').focus();
     9
    610}
    711 
    812function bw_close() {
    9     document.getElementById("bwsidemenu").style.display = "none";
     13    document.getElementById("featuredimage-sidemenu").style.display = "none";
    1014    document.getElementById("featuredimageOverlay").style.display = "none";
    1115}
  • bw-featuredimage-portfolio/1.1.2/style.css

    r357705 r357705  
    11/*
    22        Theme Name: BW Featuredimage Portfolio
    3         Theme URI: https://bitwali.com/contact-us/
     3        Theme URI: https://bitwali.com/featuredimage/
    44        Author URI:https://bitwali.com
    55       
    6         Version: 1.1.1
     6        Version: 1.1.2
    77        Description:Nature Portfolio Template from www.w3schools.com  converted to wordpress theme
    8         Author: Muhammad Ijaz Anjum
     8        Author: Muhammad Ijaz Anjum CEO Bitwali.com
    99        Tested up to: 5.8
    1010        Requires PHP: 7.0
    … …  
    2020        Doctors Profile is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
    2121        Underscores is distributed under the terms of the GNU GPL v2 or later.
     22
     23 
    2224*/
    2325body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}
    … …  
    4143  transform: translate(-50%, -50%);
    4244}
    43 .bw-width-half{
    44  width: 100%;
    45 
    46 }
     45.bw-width-half{  width: 100%; }
     46/* header nav */
     47nav{ z-index:3; width:300px;}
     48img.w3-round{width:45%;}
     49div#featuredimageOverlay{cursor:pointer;}
     50/*Page-header*/
     51img.w3-circle{width:65px;}
    4752
    4853/* max width of page--------------------------- */
    … …  
    156161    width: auto;
    157162    z-index: 100000;
    158     /* Above WP toolbar. */
     163   
    159164}
    160165/* Do not show the outline on the skip link target. */
    161166
    162167#content[tabindex="-1"]:focus {
    163     outline: 0
    164 }
    165 
     168    outline: 0;
     169}
     170.w3-bar-block a:focus {
     171   
     172   border-radius: 3px;
     173   color:#000!important;
     174   border: 2px solid #444;
     175   background-color:#ccc!important
     176}
    166177/* Accessibility --------------- */
    167178
    168179/* Text meant only for screen readers. */
    169 .screen-reader-text {
     180/*.screen-reader-text {
    170181  border: 0;
    171182  clip: rect(1px, 1px, 1px, 1px);
    … …  
    199210  z-index: 100000;
    200211}
    201 
     212*/
    202213/* Do not show the outline on the skip link target. */
    203 #primary[tabindex="-1"]:focus {
     214/*#primary[tabindex="-1"]:focus {
    204215  outline: 0;
    205 }
     216}*/
    206217/* Post categories and tag  */
    207218.bw-cat-margin{  margin-right: 2px!important;}
  • bw-featuredimage-portfolio/1.1.2/template-parts/contact-section.php

    r357705 r357705  
    1616    </div>
    1717    <hr class="w3-opacity">
    18     <!-- <form action="/action_page.php" target="_blank">
    19       <div class="w3-section">
    20         <label>Name</label>
    21         <input class="w3-input w3-border" type="text" name="Name" required>
    22       </div>
    23       <div class="w3-section">
    24         <label>Email</label>
    25         <input class="w3-input w3-border" type="text" name="Email" required>
    26       </div>
    27       <div class="w3-section">
    28         <label>Message</label>
    29         <input class="w3-input w3-border" type="text" name="Message" required>
    30       </div>
    31       <button type="submit" class="w3-button w3-black w3-margin-bottom"><i class="fa fa-paper-plane w3-margin-right"></i>Send Message</button>
    32     </form> -->
     18   
    3319    <?php echo apply_shortcodes( '[contact-form-7 id="91e55d6" title="Contact bw-featuredimage-portfolio"]' ); ?>
    3420
    35     <?php // [contact-form-7 id="91e55d6" title="Contact form 1"] ?>
     21   
    3622  </div>
  • bw-featuredimage-portfolio/1.1.2/template-parts/custom-header.php

    r357705 r357705  
    1313 * Set up the WordPress core custom header feature.
    1414 *
    15  * @uses bwpfskillsop_header_style()
     15 * @uses bwp_featuredimage_portfolio_header_style()
    1616 */
    17 function bwpfskillsop_custom_header_setup() {
     17function bwp_featuredimage_portfolio_custom_header_setup() {
    1818        add_theme_support(
    1919                'custom-header',
    2020                // apply_filters(
    21                 //      'pure_portfolio_custom_header_args',
     21               
    2222                        array(
    2323                                'default-image'      => '',
    … …  
    2626                                'height'             => 250,
    2727                                'flex-height'        => true,
    28                                 'wp-head-callback'   => 'bwpfskillsop_header_style',
     28                                'wp-head-callback'   => 'bwp_featuredimage_portfolio_header_style',
    2929                        // )
    3030                )
    3131        );
    3232}
    33 add_action( 'after_setup_theme', 'bwpfskillsop_custom_header_setup' );
     33add_action( 'after_setup_theme', 'bwp_featuredimage_portfolio_custom_header_setup' );
    3434
    35 if ( ! function_exists( 'bwpfskillsop_header_style' ) ) :
     35if ( ! function_exists( 'bwp_featuredimage_portfolio_header_style' ) ) :
    3636        /**
    3737         * Styles the header image and text displayed on the blog.
    … …  
    3939         * @see pure_portfolio_custom_header_setup().
    4040         */
    41         function bwpfskillsop_header_style() {
     41        function bwp_featuredimage_portfolio_header_style() {
    4242                $header_text_color = get_header_textcolor();
    4343
  • bw-featuredimage-portfolio/1.1.2/template-parts/footer-tags.php

    r357705 r357705  
    1818
    1919     
    20      
    21         <!-- Travel<span class="w3-tag w3-grey w3-small w3-margin-bottom">New York</span> <span class="w3-tag w3-grey w3-small w3-margin-bottom">London</span>
    22         <span class="w3-tag w3-grey w3-small w3-margin-bottom">IKEA</span> <span class="w3-tag w3-grey w3-small w3-margin-bottom">NORWAY</span> <span class="w3-tag w3-grey w3-small w3-margin-bottom">DIY</span>
    23         <span class="w3-tag w3-grey w3-small w3-margin-bottom">Ideas</span> <span class="w3-tag w3-grey w3-small w3-margin-bottom">Baby</span> <span class="w3-tag w3-grey w3-small w3-margin-bottom">Family</span>
    24         <span class="w3-tag w3-grey w3-small w3-margin-bottom">News</span> <span class="w3-tag w3-grey w3-small w3-margin-bottom">Clothing</span> <span class="w3-tag w3-grey w3-small w3-margin-bottom">Shopping</span>
    25         <span class="w3-tag w3-grey w3-small w3-margin-bottom">Sports</span> <span class="w3-tag w3-grey w3-small w3-margin-bottom">Games</span> -->
    2620      </p>
  • bw-featuredimage-portfolio/1.1.2/template-parts/home-page.php

    r357705 r357705  
    44    <?php  if (has_post_thumbnail($post)):?>
    55    <?php
    6      the_post_thumbnail('bwpfskillsop-thumbnail',array('class' =>'w3-hover-opacity','style'=>'width:100%','fetchpriority'=>'high'));
     6     the_post_thumbnail('bw-featuredimage-portfolio-thumbnail',array('class' =>'w3-hover-opacity','style'=>'width:100%','fetchpriority'=>'high'));
    77    ?>
    88    <?php endif;?>
  • bw-featuredimage-portfolio/1.1.2/template-parts/page-header.php

    r357705 r357705  
    11
    2 
    3 
    4   <!-- !PAGE CONTENT! -->
    52  <!-- Header -->
    6   <header id="portfolio">
    7     <a href="#"><img src="<?php echo esc_url(get_theme_mod('bw_tab_img',BW_FEATUREDIMAGE_DIR_URI.'/imgs/cynthia_tab.jpg'));?>" style="width:65px;" class="w3-circle w3-right w3-margin w3-hide-large w3-hover-opacity"></a>
    8     <span class="w3-button w3-hide-large w3-xxlarge w3-hover-text-grey" onclick="bw_open()"><i class="fa fa-bars"></i></span>
     3  <header >
     4    <button  class="w3-button w3-hide-large w3-xxlarge w3-hover-text-grey" onclick="bw_open()"><i class="fa fa-bars"></i></button>
     5    <a href="#about"><img src="<?php echo esc_url(get_theme_mod('bw_tab_img',BW_FEATUREDIMAGE_PORTFOLIO_DIR_URI.'/imgs/cynthia_tab.jpg'));?>"  class="w3-circle w3-right w3-margin w3-hide-large w3-hover-opacity"></a>
     6   
    97    <div class="w3-container">
    108
    119      <div class=" site-title" >
    1210        <h1><b>
    13          <a class="w3-button w3-padding-large w3-dark-grey w3-hover-black" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> <?php echo esc_html(get_bloginfo( 'name' )); ?>
     11         <a  class="w3-button w3-padding-large w3-dark-grey w3-hover-black" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> <?php echo esc_html(get_bloginfo( 'name' )); ?>
    1412         </a>
    1513        </b></h1>
    … …  
    5654    echo $catlist;
    5755?>
    58       <!-- <span class="w3-margin-right">Filter:</span>
    59       <button type="submit" name="All" class="w3-button w3-black">ALL</button>
    60       <button type="submit" name="Design" class="w3-button w3-white"><i class="fa fa-diamond w3-margin-right"></i>Design</button>
    61       <button type="submit" name="Photos" class="w3-button w3-white w3-hide-small"><i class="fa fa-photo w3-margin-right"></i>Photos</button>
    62       <button type="submit" name="Art" class="w3-button w3-white w3-hide-small"><i class="fa fa-map-pin w3-margin-right"></i>Art</button> -->
     56     
    6357    </div>
    6458    </div>
  • bw-featuredimage-portfolio/1.1.2/template-parts/single-content.php

    r357705 r357705  
    66    <?php  if (has_post_thumbnail($post)):?>
    77    <?php
    8      the_post_thumbnail('bwpfskillsop-thumbnail',array('class' =>'w3-hover-opacity','style'=>'width:100%','fetchpriority'=>'high'));
     8     the_post_thumbnail('bw-featuredimage-portfolio-thumbnail',array('class' =>'w3-hover-opacity','style'=>'width:100%','fetchpriority'=>'high'));
    99    ?>
    1010    <?php endif;?>
    … …  
    4444     
    4545<?php
    46 
    47       /* translators: used between list items, there is a space after the comma */
    48       // $tags_list = get_the_tag_list( '', ', ');
    49       // if ( $tags_list ) {
    50       //    printf( '<span class="tags-links">' . esc_html__( 'Tagged %1$s', 'one-pageily' ) . '</span>', $tags_list ); // WPCS: XSS OK.
    51       // }
    52      
    5346     
    5447       foreach($tags as $tag){
  • bw-featuredimage-portfolio/1.1.2/template-parts/skills-message.php

    r357705 r357705  
    11  <div class="w3-row-padding w3-padding-16" id="about">
    22    <div class="w3-col m6">
    3       <img src= "<?php echo esc_url(get_theme_mod('bw_pfn_my_img1',BW_FEATUREDIMAGE_DIR_URI.'/imgs/avatar_g.jpg'));?>" alt="Me 1" style="width:100%">
     3      <img src= "<?php echo esc_url(get_theme_mod('bw_pfn_my_img1',BW_FEATUREDIMAGE_PORTFOLIO_DIR_URI.'/imgs/avatar_g.jpg'));?>" alt="Me 1" style="width:100%">
    44    </div>
    55    <div class="w3-col m6">
    6       <img src= "<?php echo esc_url(get_theme_mod('bw_pfn_my_img2',BW_FEATUREDIMAGE_DIR_URI.'/imgs/me2.jpg'));?>" alt="Me 2" style="width:100%">
     6      <img src= "<?php echo esc_url(get_theme_mod('bw_pfn_my_img2',BW_FEATUREDIMAGE_PORTFOLIO_DIR_URI.'/imgs/me2.jpg'));?>" alt="Me 2" style="width:100%">
    77     
    88    </div>
    … …  
    1616    $str=__('It’s so nice to finally meet you in person! After graduating from university, I worked in sales for a few years. But three years ago, I started working in digital media marketing and my experience in sales definitely helped. I was able to help the company consistently hit its targets and grow their brand in the industry. I know that you’re looking to grow your influence online, and that’s why I applied for the position…','bw-featuredimage-portfolio');
    1717     
    18        //echo esc_html(  get_theme_mod('bw_featuredimage_portfolio_my_msg',__("asdfasdf",'bw-featuredimage-portfolio')));
    1918      printf(esc_html( get_theme_mod('bw_featuredimage_portfolio_my_msg',$str)));
    2019
    21       // printf(        __( 'Your city is %s.', 'my-theme' ), $str);
     20   
    2221
    2322      ?>
    … …  
    7372          <li class="w3-padding-16"><h4><?php esc_html_e('Price',"bw-featuredimage-portfolio") ?></h4> <span class="w3-opacity"><h2>$<?php echo esc_html( get_theme_mod('bw_pfn_price_basic',_e('10',"bw-featuredimage-portfolio"))); ?></h2></span></li>
    7473         
    75           <!-- <li class="w3-padding-16">
    76             <h2>$ 10</h2>
    77             <span class="w3-opacity">per month</span>
    78           </li> -->
    79           <!-- <li class="w3-light-grey w3-padding-24">
    80             <button class="w3-button w3-teal w3-padding-large w3-hover-black">Sign Up</button>
    81           </li> -->
     74         
    8275        </ul>
    8376      </div>
    … …  
    9487          <li class="w3-padding-16"><h4><?php esc_html_e('Price',"bw-featuredimage-portfolio")  ?></h4> <span class="w3-opacity"><h2>$<?php echo esc_html( get_theme_mod('bw_pfn_price_standard',_e('10',"bw-featuredimage-portfolio"))); ?></h2></span></li>
    9588         
    96           <!-- <li class="w3-padding-16">
    97             <h2>$ 10</h2>
    98             <span class="w3-opacity">per month</span>
    99           </li> -->
    100           <!-- <li class="w3-light-grey w3-padding-24">
    101             <button class="w3-button w3-teal w3-padding-large w3-hover-black">Sign Up</button>
    102           </li> -->
     89         
    10390        </ul>
    10491      </div>
    … …  
    115102          <li class="w3-padding-16"><h4><?php esc_html_e('Price',"bw-featuredimage-portfolio")  ?></h4> <span class="w3-opacity"><h2>$<?php echo esc_html( get_theme_mod('bw_pfn_price_premium',_e('10',"bw-featuredimage-portfolio"))); ?></h2></span></li>
    116103         
    117           <!-- <li class="w3-padding-16">
    118             <h2>$ 10</h2>
    119             <span class="w3-opacity">per month</span>
    120           </li> -->
    121           <!-- <li class="w3-light-grey w3-padding-24">
    122             <button class="w3-button w3-teal w3-padding-large w3-hover-black">Sign Up</button>
    123           </li> -->
     104         
    124105        </ul>
    125106      </div>
Note: See TracChangeset for help on using the changeset viewer.