Dev {Tricks}

  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting
You are here: Home / Home

May 16, 2019 by dev Leave a Comment

neuron_theme_files (css, js)

function neuron_theme_files() {
    
    wp_enqueue_style('animate', get_template_directory_uri() .'/assets/css/animate.min.css', array(), '1.0', 'all' );
    wp_enqueue_style('font-awesome', get_template_directory_uri() .'/assets/fonts/font-awesome/css/font-awesome.min.css', array(), '1.0', 'all' );
    wp_enqueue_style('owl-carousel', get_template_directory_uri() .'/assets/css/owl.carousel.min.css', array(), '1.0', 'all' );
    wp_enqueue_style('bootsnav', get_template_directory_uri() .'/assets/css/bootsnav.css', array(), '1.0', 'all' );
    wp_enqueue_style('bootstrap', get_template_directory_uri() .'/assets/bootstrap/css/bootstrap.min.css', array(), '1.0', 'all' );
    
    wp_enqueue_style('neuron-style', get_stylesheet_uri() );
    
    wp_enqueue_script('bootstrap', get_template_directory_uri() .'/assets/bootstrap/js/bootstrap.min.js', array('jquery'), '1.0', true );
    wp_enqueue_script('bootsnav', get_template_directory_uri() .'/assets/js/bootsnav.js', array('jquery'), '1.0', true );
    wp_enqueue_script('owl-carousel', get_template_directory_uri() .'/assets/js/owl.carousel.min.js', array('jquery'), '1.0', true );
    wp_enqueue_script('wow', get_template_directory_uri() .'/assets/js/wow.min.js', array('jquery'), '1.0', true );
    wp_enqueue_script('ajaxchimp', get_template_directory_uri() .'/assets/js/ajaxchimp.js', array('jquery'), '1.0', true );
    wp_enqueue_script('ajaxchimp-config', get_template_directory_uri() .'/assets/js/ajaxchimp-config.js', array('jquery'), '1.0', true );
    wp_enqueue_script('neuron-script', get_template_directory_uri() .'/assets/js/script.js', array('jquery'), '1.0', true );
    
}
add_action('wp_enqueue_scripts', 'neuron_theme_files');

 

Filed Under: functions, Neuron TD, theme_files

May 16, 2019 by dev Leave a Comment

Codex Functions

wp_enqueue_style();
wp_enqueue_style(
string $handle,
string $src = ”,
array $deps = array(),
string|bool|null $ver = false,
string $media = ‘all’ )

wp_enqueue_script();
wp_enqueue_script(
string $handle,
string $src = ”,
array $deps = array(),
string|bool|null $ver = false,
bool $in_footer = false )

get_template_directory_uri();
Retrieve theme directory URI on functions.php).

echo get_template_directory_uri();
Retrieve theme directory URI static.

 

Filed Under: functions, Neuron TD

May 16, 2019 by dev Leave a Comment

Neuron Theme Development

Download Neuron template [link]
Neuron Theme Demo [link]

Here we will show step by step WordPress theme development with Neuron Template.

Initial Setup

  1. Create a folder named “neuron” in wp-content/themes/
  2. Paste neuron template into neuron folder.
  3. Rename index.html to index.php
  4. Create file named functions.php and open it.
  5. Call all css files in functions.php [neuron_theme_files]
  6. Call all js files in functions.php [neuron_theme_files]
  7. Open index.php and connect images statically using “echo get_template_directory_uri();” [image directory]
  8. Delete title tag and some meta (description, keywords, author) in index.php
  9. Add <?php wp_head(); ?> before </head> tag and <?php wp_footer(); ?> before </body> tag.
  10. Open style.css and name the theme [style.css]

Now we can activate the theme (Neuron) in dashboard at Appearance > themes

  1. Open the website in browser and check css, js and images are properly connected.
  2. Inspect and check Console for error. Fix – TypeError: $ is not a function

Neuron Menu

  1. Add theme supports for menu and others in functions.php [neuron_theme_supports]
  2. Create pages and sub-pages (about us, services, works, press & news, contact etc) from dashboard pages > Add New. All pages should be blank now.
  3. Create new menu from Appearance > Menu and save it in “Primary” location.
  4. Add pages to the menu and save it.
  5. Call the Primary menu in index.php replacing the menu ul of template [wp_nav_menu]
  6. Design dropdown menu in style.css [WordPress Sub-Menu css]

Neuron Slider

  1. Register custom post for the slider in functions.php [register_post_type]
  2. Refresh dashboard to get a new menu called “Sliders”
  3. Add new slide post
    1. Title: “Prepare for the future with our advisors”
    2. Content: “Interactively simplify 24/7 markets through 24/7 best practices. Authoritatively foster cutting-edge manufactured products and distinctive.”
    3. Custom Fields (meta key for button text):
      1. Name: btn_text
      2. Value: Meet Experts
    4. Custom Fields (meta key for button link):
      1. Name: btn_link
      2. Value: https://www.codexcafe.net
    5. Featured Image: image for the slider
  4. Publish the post (slide) and add another post (slide)
  5. Now we will query “custom post loop” in index.php
    1. Delete everything within <section class=”slider-area”>
    2. Paste php codes from [wp_reset_query] inside the slider-area section.
  6. Refresh homepage to see the result

Neuron Intro Area Features (Welcome to the Neuron Finance)

  1. Register custom post for the features in functions.php [register_post_type]
  2. Refresh dashboard to get a new menu called “Features”
  3. Add new feature post
    1. Title: “About Business”
    2. Content: “Seamlessly envisioneer extensive interfaces and back wardcompatible applications. Proactively promote timely best.”
    3. Order: 1
    4. Featured Image: image for the feature (intro)
  4. Publish the post (feature) and add another post (Business Growth, Sustainability)
  5. Now we will query “custom post loop” in index.php
    1. Delete everything with the comment <!– single intro –>
    2. Paste php codes from [wp_reset_query for intro] into the deleted area.
  6. Refresh homepage to see the result

Neuron Services (We Provide Huge Range of Services)

  1. Register custom post for the services in functions.php [register_post_type]
  2. Refresh dashboard to get a new menu called “Services”
  3. Add new service post
    1. Title: “Performance”
    2. Content: “Dynamically fabricate innovative products and distributed web services. Distinctively pontificate.”
    3. Custom Fields (meta key for service link):
      1. Name: service_link
      2. Value: https://www.bdtopten.com
    4. Order: 1
    5. Featured Image: image for the service.
  4. Publish the post (service) and add another post (Sustainability, Web Design, Web Development, Branding Design, Marketing )
  5. Now we will query “custom post loop” in index.php
    1. Delete everything with the comment <!– single service –>
    2. Paste php codes from [wp_reset_query for Service] into the deleted area.
  6. Refresh homepage to see the result
  7. Give service image a fixed width to avoid layout break [.services-tiem img {max-width: 62px;}]

Neuron Widgets

  1. Register widgets in functions.php [register_sidebar]
  2. Create new menu from Appearance > Menu for Useful Links widget
  3. Register shortcode for Latest Posts widget in functions.php [add_shortcode]
  4. Install and activate the plugin Contact Form 7 for Newsletter Subscription
  5. Create contact form []

 

Filed Under: Neuron TD

May 16, 2019 by dev Leave a Comment

How to recover deleted data/files/folders in Windows 10

Option 1: Check your recent backup if you are using windows backup

Option 2: Right click on the folder that contains deleted files or folder and choose “Restore Previous Versions”.

Option 3: Use file Recovery Software

Filed Under: How to

May 2, 2019 by dev 4 Comments

Upwork Video Verification – Questions and Answers

  • What’s your username?
    Ans: Your Upwork username.
  • Can you verify your full name? OR Please, verify your full name
    Ans: Your full name on Upwork.
  • What’s your email ID/Address?
    Ans: Your email address.
  • What’s your street address? OR Can you verify your address, please?
    Ans: Your address on Upwork.
  • What’s your phone number?
    Ans: Your phone number on Upwork.
  • What type of services do you offer? OR What’s your account title?
    Ans: Account Title on Upwork.
    For example: Web Designer | Graphics Designer | SEO Master | Web Developer | WordPress Developer | Article Writer | Data entry Worker etc.
  • What are your skills set?
    SEO, Digital Marketing, Link Building, Digital Marketing, Google AdWord, Facebook Advertising, Business Development
  • When did you join at Upwork?
    Ans: June 6 2014 (you can find your join date by following this: Reports> Certificate of Earnings. You will see “Active on Upwork Since” Under Freelancer profile)
  • What’s your life tile earning? OR What’s your total earning at Upwork?
    Ans: $xxxxx
  • What’s your last withdrawal amount and date?
    Ans: You last withdrawal date.
  • What’s your payment method?
    Ans: Payoneer Debit Card OR Direct Local Bank A/C XXXX
  • What’s your last 12 earning amount?
    Ans: $xx,xxxx.xx
  • What’s your hourly rate?
    Ans: $15.00
  • What’s your total number of Jobs OR How many jobs do you have at your Upwork Profile?
    Ans: Total Job 30
  • How many running projects do you have?
    Ans: 12 job
  • How many projects did you complete?
    Ans: 11
  • How many total hours did you work?
    Ans: 2000 hours
  • What’s your job success rate?
    Ans: 100%
  • Are you a Top Rated Freelancer OR Do you have Top Rated Badge?
    Ans: Yes, I have / No, I haven’t.
  • How many portfolios do you have at your Upwork profile?
    Ans: 5
  • How many Upwork tests did you take?
    Ans: 5
  • What’s your employment History?
    Ans: Founder BDHOSTIT, President Healthcare Professionals Club
  • What’s your Education History?
    Ans: Your educational qualifications. For example B.Pharm at UAP, MBA at NUB
  • What’s the percentage of your client recommendation?
    Ans: 80%
  • What’s the percentage of your long-term client?
    Ans: 40%
  • How many hours did you work last week?
    Ans: 10 hours
  • Did you work on an hourly project?
    Ans: Yes/No
  • Did you work on any Fixed Price basis job?
    Ans: Yes/No
  • What’s the most recent job title you have completed?
    Ans: Job Title
    Ans: xxxx
    Ans: xxxx
  • What’s your most recent client/employer name?
    Ans: Xzy
    Ans: Zyx
    Ans: Yzx

    Some other questions can be asked:

  • Do you use any VPN?
    Ans: No
  • Do you share your account with anyone else?
    Ans: No
  • Why did you join at Upwork OR Why did you work at Upwork?
    Ans: There are many reasons to work at Upwork. I can work indefinitely, I have the opportunity to service worldwide etc.

Filed Under: Marketplace Tagged With: odesk, upwork

  • « Previous Page
  • 1
  • …
  • 77
  • 78
  • 79
  • 80
  • 81
  • …
  • 91
  • Next Page »
  • Upwork
  • Freelancer
  • Fiverr
  • Guru

www.ojsexpert.com
www.ojsdev247.com

Recent Posts

  • To get your email for castamodel.com going to the right place, you need to update your DNS settings.
  • Security and WordPress
  • ROR
  • How do we copy google form to google workspace?
  • Install ImageMagick – Almalinux
  • How to remove /public/ from URL in Laravel
  • How to install Maldet alert?
  • How to Install Maldet and Run a Scan | Maldetect
  • Where is Roundcube location on CWP control panel?
  • How To Add Node.js Projects In aaPanel?
  • SPF/DKIM/DMARC Tools
  • Associative arrays – How to loop over Associative arrays
  • Indexed Arrays. How to loop over Indexed Arrays.
  • PHP Break | Continue
  • For Loop | While Loop | Do…While Loop | Foreach Loop
  • Strict mode in PHP
  • PHP Function Return Types
  • PHP Anonymous Functions (or Closures)
  • PHP Variadic Functions
  • PHP nullable type hints

Categories

  • Affiliate Marketing (1)
  • Customization (4)
    • CSS (2)
  • Email Solutions (23)
    • FrontApp (2)
    • Google Spreadsheet (2)
    • Microsoft Outlook (1)
    • PHP Email Form (3)
    • PolyMail (2)
    • Recaptcha (1)
    • Roundcube (4)
    • Thunderbird (3)
    • WebMail (5)
  • Games (1)
  • How to (87)
  • Joomla (6)
    • Akeeba (1)
    • Fix & Tricks (3)
  • jQuery (4)
  • jQuery Plugins (4)
    • BX Slider (1)
    • Slick (1)
  • Laravel (5)
  • Marketplace (5)
  • Miscellaneous (31)
  • MultiSaaS (1)
  • OJS (56)
    • Crossref (1)
    • Help (37)
    • Installation (10)
      • Issues (5)
    • Plugins (8)
    • Scholar Indexing (2)
    • Theme (7)
      • Templates (7)
        • Frontend (6)
        • legacy (1)
    • Theme Customization (10)
    • Theme Development (14)
    • TPL CSS JS (2)
    • Upgrade (11)
  • OSTAD (17)
  • Oxwall (3)
  • Payment Methods (1)
    • Paypal (1)
  • PC Tips and Tricks (14)
    • MS Office (2)
      • PowerPoint (1)
    • Windows (4)
  • PHP Parse error (2)
  • phpBB (2)
  • Server and Hosting (213)
    • Billing and Management (10)
      • Blesta (5)
      • Boxbilling (2)
      • WHMCS (5)
    • Email (10)
      • Postfix (3)
    • Error and Fix (17)
    • FTP (2)
    • Linux Distribusion (28)
      • Almalinux (13)
      • CentOS (17)
      • Debian (21)
      • Ubuntu (19)
    • Mail Server Solusion (7)
      • iRedMain (6)
    • MySQL (12)
    • Providers (69)
      • AWS (37)
      • Bluehost (37)
      • Cloudcone (26)
      • Contabo (40)
      • Digitalocean (68)
      • Hetzner (3)
      • HostGator (36)
      • Hostinger (8)
      • RackNerd (10)
      • VPSDime (38)
    • Security (21)
      • SSH (8)
    • VPS Management (72)
    • Web Control Panel (147)
      • aaPanel (14)
      • CentOS Web Panel (46)
      • cPanel (33)
      • CyberPanel (7)
      • DirectAdmin (96)
        • Find & fix (38)
      • ISPConfig (17)
      • KeyHelp (7)
      • Plesk (26)
      • Webmin (25)
        • Usermin (2)
        • Virtualmin (13)
      • WHM (18)
  • Uncategorized (19)
  • Wordpress (89)
    • Elementor (2)
    • Find and Fix (11)
    • Functions (5)
    • Genesis (9)
    • Glossary (1)
    • How to (22)
    • Neuron TD (15)
      • Console Error (1)
      • functions (5)
        • register_post_type (1)
        • register_sidebar (1)
        • theme_files (1)
        • theme_supports (1)
      • Image Directory (1)
      • Menu (2)
      • Query (4)
    • Plugins (13)
      • Contact Form 7 (5)
      • Duplicator (1)
      • Essential Grid (2)
    • Softaculous (3)
    • Speed and Security (4)
    • Stock Theme Development (6)
      • Header Footer (1)
      • PHP (1)
      • VC (1)
    • Theme Development (2)
      • Issues (1)
      • Menu (1)
    • Timer Theme Development (3)
    • Update (2)
    • Woocommerce (2)
    • WP Basic Guideline (8)

Important DEV links

  • Premium Themes
    • Themeforest
    • Envato Market
  • Built With (What Theme is That?)
    • What WP theme is that
    • Joomla Template Detector
    • Drupal Template Detector
    • Prestashop Template Detector
    • Shopify Theme Detector
    • Squarespace Template Detector
    • OpenCart Detector
    • WordPress.com Theme Detector
  • Domain/IP history checker
    • Who IS request
    • Hosting Info
  • Check DNS Propagation
    • DNS Checker
    • intoDNS
  • What is my IP
    • What is My IP Address
    • What is My IP
    • IP location
    • What is My IP
    • Porkbun
  • SEO Tools
    • Visitor Traffic
    • Broken Link
    • Website Speed Test
      • SEMrush
      • GTmetrix
      • Pingdom
      • PageSpeed Insights
      • DebugBear
      • keyCDN
  • Photo Image
    • Remove Background 50 Free Preview Image 375 × 666 per month
  • Domain Registrars
    • 123-Reg
    • Porkbun
    • Freenom
    • Namecheap NEWCOM598
  • Hosting Providers
    • Bluehost
    • Hostgator
    • Inmotion
  • Hosting Control Panel
    • CWPpro (FREE)
    • DirectAdmin (Trial 60 Days, One account $2/month)
    • ISPConfig (Free)
  • Webmaster Tools
    • Google
    • Bing
    • Yandex
  • Miscellaneous
    • Time Calculator

 

Categories

  • Affiliate Marketing (1)
  • Customization (4)
    • CSS (2)
  • Email Solutions (23)
    • FrontApp (2)
    • Google Spreadsheet (2)
    • Microsoft Outlook (1)
    • PHP Email Form (3)
    • PolyMail (2)
    • Recaptcha (1)
    • Roundcube (4)
    • Thunderbird (3)
    • WebMail (5)
  • Games (1)
  • How to (87)
  • Joomla (6)
    • Akeeba (1)
    • Fix & Tricks (3)
  • jQuery (4)
  • jQuery Plugins (4)
    • BX Slider (1)
    • Slick (1)
  • Laravel (5)
  • Marketplace (5)
  • Miscellaneous (31)
  • MultiSaaS (1)
  • OJS (56)
    • Crossref (1)
    • Help (37)
    • Installation (10)
      • Issues (5)
    • Plugins (8)
    • Scholar Indexing (2)
    • Theme (7)
      • Templates (7)
        • Frontend (6)
        • legacy (1)
    • Theme Customization (10)
    • Theme Development (14)
    • TPL CSS JS (2)
    • Upgrade (11)
  • OSTAD (17)
  • Oxwall (3)
  • Payment Methods (1)
    • Paypal (1)
  • PC Tips and Tricks (14)
    • MS Office (2)
      • PowerPoint (1)
    • Windows (4)
  • PHP Parse error (2)
  • phpBB (2)
  • Server and Hosting (213)
    • Billing and Management (10)
      • Blesta (5)
      • Boxbilling (2)
      • WHMCS (5)
    • Email (10)
      • Postfix (3)
    • Error and Fix (17)
    • FTP (2)
    • Linux Distribusion (28)
      • Almalinux (13)
      • CentOS (17)
      • Debian (21)
      • Ubuntu (19)
    • Mail Server Solusion (7)
      • iRedMain (6)
    • MySQL (12)
    • Providers (69)
      • AWS (37)
      • Bluehost (37)
      • Cloudcone (26)
      • Contabo (40)
      • Digitalocean (68)
      • Hetzner (3)
      • HostGator (36)
      • Hostinger (8)
      • RackNerd (10)
      • VPSDime (38)
    • Security (21)
      • SSH (8)
    • VPS Management (72)
    • Web Control Panel (147)
      • aaPanel (14)
      • CentOS Web Panel (46)
      • cPanel (33)
      • CyberPanel (7)
      • DirectAdmin (96)
        • Find & fix (38)
      • ISPConfig (17)
      • KeyHelp (7)
      • Plesk (26)
      • Webmin (25)
        • Usermin (2)
        • Virtualmin (13)
      • WHM (18)
  • Uncategorized (19)
  • Wordpress (89)
    • Elementor (2)
    • Find and Fix (11)
    • Functions (5)
    • Genesis (9)
    • Glossary (1)
    • How to (22)
    • Neuron TD (15)
      • Console Error (1)
      • functions (5)
        • register_post_type (1)
        • register_sidebar (1)
        • theme_files (1)
        • theme_supports (1)
      • Image Directory (1)
      • Menu (2)
      • Query (4)
    • Plugins (13)
      • Contact Form 7 (5)
      • Duplicator (1)
      • Essential Grid (2)
    • Softaculous (3)
    • Speed and Security (4)
    • Stock Theme Development (6)
      • Header Footer (1)
      • PHP (1)
      • VC (1)
    • Theme Development (2)
      • Issues (1)
      • Menu (1)
    • Timer Theme Development (3)
    • Update (2)
    • Woocommerce (2)
    • WP Basic Guideline (8)
  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting

Copyright © 2025 · Executive Pro Theme on Genesis Framework · WordPress · Log in