This document provides instructions for creating a settings page for a WordPress theme. It discusses deciding which settings to include, hooking the settings page to the WordPress admin menu, creating an HTML form to manage the settings, and saving the settings values to the database. Key steps include adding a function to create the admin menu item, using WordPress functions like add_submenu_page() to add the page as a submenu, validating permissions, and using get_option() and update_option() to retrieve and save settings. The document also covers best practices like validating input, notifying the user on saves, and using the settings within the theme.
Introduction to Custom WordPress ThemeingJamie Schmid
This document discusses customizing themes in WordPress. It covers the basic elements that make up a WordPress theme including HTML, PHP, CSS, JavaScript and images. It explains the minimum requirements to build a theme, including style.css and index.php files. It also discusses additional theme files, functions.php, template tags, the template hierarchy and using starter themes.
This document provides instructions and tips for customizing WordPress themes. It discusses preparing for theme customization by setting up a development site, then outlines the theme customization process including working with CSS, header images, backgrounds, fonts, and footer credits. It also provides links to additional resources and plugins to aid in customization.
The document summarizes a WordPress developers meetup. It discusses new features introduced in recent WordPress versions like 2.7 through 3.0, including custom backgrounds and headers, navigation menus, custom post types, and more. It encourages attendees to get involved in WordPress development through testing, translating, contributing code, and staying up to date on development through various communication channels. The meetup aims to help developers learn and discuss WordPress features and development.
This document provides an overview of WordPress child themes, including:
- What a child theme is and how it relies on a parent theme for structure but allows customizations.
- Why to use child themes to easily update the parent theme without overwriting customizations.
- Who should use child themes, such as web designers, multi-site users, and theme authors.
- How child themes work by looking for template files in the child theme directory first, then the parent theme.
The document provides guidance on optimizing a website for search engine optimization (SEO). It includes recommendations for optimizing titles, meta descriptions, keywords, images, links, headings and content with keywords. It also recommends submitting the site to Google Search Console, creating an XML sitemap and robots.txt file, checking for duplicate and broken content, and monitoring the site health through Search Console.
This document discusses WordPress themes and child themes. It begins by defining what a theme is and what themes do. It then explains what components make up a theme. The document recommends choosing a theme based on UI/UX rather than functionality so that functionality can be added and retained through plugins. It defines what a child theme is and how it allows customizing a parent theme while keeping customizations separate. The document provides instructions for manually creating a child theme and using a plugin. It discusses best practices for working with child themes such as overriding parent templates.
The document discusses building HTML5 apps for iOS devices. Key points include:
- HTML5 apps can be installed on devices, are cross-platform, and can be built and deployed quickly using familiar web techniques.
- The document provides an example of an HTML5 notecard app called UNFLappABLE that stores user data locally for offline use.
- Design considerations for touch interfaces, responsive layouts, and high-resolution graphics are discussed. Techniques like media queries, app caching, and local storage are also covered.
Child Themes (WordCamp Dublin 2017) with notesDamien Carbery
Child themes allow users to modify a parent theme without editing its core files. They are easy to create, requiring only a single style.css file specifying the theme name and parent theme directory. This prevents changes from being lost during parent theme updates. Using a child theme, users can change styles, templates, add new features, and override parent theme files. While most themes are designed to work with child themes, some may require additional workarounds if they do not properly support child theme functionality. Overall, child themes provide a simple and effective way to customize an existing WordPress theme.
Introduction to Custom WordPress ThemeingJamie Schmid
This document discusses customizing themes in WordPress. It covers the basic elements that make up a WordPress theme including HTML, PHP, CSS, JavaScript and images. It explains the minimum requirements to build a theme, including style.css and index.php files. It also discusses additional theme files, functions.php, template tags, the template hierarchy and using starter themes.
This document provides instructions and tips for customizing WordPress themes. It discusses preparing for theme customization by setting up a development site, then outlines the theme customization process including working with CSS, header images, backgrounds, fonts, and footer credits. It also provides links to additional resources and plugins to aid in customization.
The document summarizes a WordPress developers meetup. It discusses new features introduced in recent WordPress versions like 2.7 through 3.0, including custom backgrounds and headers, navigation menus, custom post types, and more. It encourages attendees to get involved in WordPress development through testing, translating, contributing code, and staying up to date on development through various communication channels. The meetup aims to help developers learn and discuss WordPress features and development.
This document provides an overview of WordPress child themes, including:
- What a child theme is and how it relies on a parent theme for structure but allows customizations.
- Why to use child themes to easily update the parent theme without overwriting customizations.
- Who should use child themes, such as web designers, multi-site users, and theme authors.
- How child themes work by looking for template files in the child theme directory first, then the parent theme.
The document provides guidance on optimizing a website for search engine optimization (SEO). It includes recommendations for optimizing titles, meta descriptions, keywords, images, links, headings and content with keywords. It also recommends submitting the site to Google Search Console, creating an XML sitemap and robots.txt file, checking for duplicate and broken content, and monitoring the site health through Search Console.
This document discusses WordPress themes and child themes. It begins by defining what a theme is and what themes do. It then explains what components make up a theme. The document recommends choosing a theme based on UI/UX rather than functionality so that functionality can be added and retained through plugins. It defines what a child theme is and how it allows customizing a parent theme while keeping customizations separate. The document provides instructions for manually creating a child theme and using a plugin. It discusses best practices for working with child themes such as overriding parent templates.
The document discusses building HTML5 apps for iOS devices. Key points include:
- HTML5 apps can be installed on devices, are cross-platform, and can be built and deployed quickly using familiar web techniques.
- The document provides an example of an HTML5 notecard app called UNFLappABLE that stores user data locally for offline use.
- Design considerations for touch interfaces, responsive layouts, and high-resolution graphics are discussed. Techniques like media queries, app caching, and local storage are also covered.
Child Themes (WordCamp Dublin 2017) with notesDamien Carbery
Child themes allow users to modify a parent theme without editing its core files. They are easy to create, requiring only a single style.css file specifying the theme name and parent theme directory. This prevents changes from being lost during parent theme updates. Using a child theme, users can change styles, templates, add new features, and override parent theme files. While most themes are designed to work with child themes, some may require additional workarounds if they do not properly support child theme functionality. Overall, child themes provide a simple and effective way to customize an existing WordPress theme.
This document provides an overview of the key features in the CMS Starter guide, including dashboard functionality, system settings, content management, creating pages, menus, forms, polls and newsletters. It describes how to set preferences, manage tools, categories, attributes and more.
This document outlines the essential components for creating a theme with customizable options in WordPress, including using variables to store option elements, adding a form action to save, reset, and delete options, generating the form code to display the options, and hooking the options menu into the WordPress admin interface. The document promotes two free themes that utilize these theme option components.
Making WordPress Your CMS and Automatically Updating a Self Hosted WordPress ...cehwitham
This document provides code snippets to customize the WordPress admin interface for clients. It includes:
1) Customizing the login screen by adding a logo and link.
2) Giving editors menu and widget permissions.
3) Adding branding to the title bar and footer by including the developer's logo and contact details.
4) Removing unnecessary widgets from the dashboard and adding support information and an RSS feed.
5) Instructions for setting up automatic plugin updates by adding metadata and uploading files to a web server.
WordPress theme development from scratch : ICT MeetUp 2013 NepalChandra Prakash Thapa
The document discusses how to develop a WordPress theme from scratch. It provides step-by-step instructions on setting up the basic theme files and templates, adding dynamic content like images and text, registering menus and sidebars, and including plugins. Key parts include downloading a template, setting up core theme files, adding options for configurable content in the admin panel, querying posts and pages for output, and making the theme responsive.
Go over a quick crash course into what it takes to develop a WordPress theme and then jump into some deeper waters on how to utilize Custom Post Types, create custom theme options, and custom meta boxes.
This document provides tips and information about customizing WordPress themes and websites using HTML, CSS, and child themes. It includes overviews of the WordPress dashboard sections like Appearance, Plugins, and Settings and how to use them. Specific tips are provided for editing CSS, creating a child theme, common HTML tags, and recommended plugins. Contact information is given for the instructor to ask additional questions.
The document provides instructions for creating a multi-page website in Dreamweaver CS6. It discusses setting up the site structure with a root folder and subfolders, creating page templates, and linking pages within the site. The first two pages of the site are designed - an index page and a 'New Arrivals' page. Templates are used to maintain consistency across pages. Links are added between the homepage and the 'New Arrivals' page to allow navigation between them. The footer is also standardized across pages.
WordPress Structure and Best Practicesmarkparolisi
The document discusses the directory structure, core files, database structure, plugins, themes, and templates in WordPress. It provides information on actions, filters, widgets, modifying plugins, and best practices for developing WordPress sites and plugins. Key points include the directory locations for core files, plugins, themes, and uploads, as well as the main database tables like wp_posts and wp_options.
How to Prepare a WordPress Theme for Public ReleaseDavid Yeiser
A presentation for WordCamp Louisville on how to prepare a theme for distribution. It mainly follows the theme review process outlined at WordPress.org. It also discusses reasons to release a theme and briefly highlights ways to stand out from the crowd.
Intro to WordPress Child Themes (NERDS Sept 2014)Kelly Dwan
So you've been playing around with WordPress. You feel like you've really gotten the hang it. However, you're starting to run into limitations with how much you can customize your site. The next step toward creating an entirely custom WordPress site is to create a child theme. A child theme is a theme which is based on another theme (the "parent theme"), and can override and/or add to the look and functionality of the parent theme.
This session is for: people who have made an HTML/CSS website, used WordPress, and run into customization limitations
This document discusses WordPress theme development and provides an overview of key concepts. It introduces PHP basics like variables, conditionals, and loops used in themes. It also covers template tags for outputting content, conditional tags for checking page types, and the template hierarchy for determining which template file to use. Finally, it discusses functions.php, common functions used there, adding theme support, and using hooks, actions and filters to modify WordPress behavior.
Moving from Wordpress.com to Wordpress.org - Wordcamp Toronto 2011Georgiana Laudi
This presentation covers the migration process from a hosted wordpress.com website to a self-hosted WordPress installation.
Covering considerations, hosting, installation, permalinks, exporting and importing, domain mapping, 301 redirects and spam.
By Sandy Sidhu & Georgiana Laudi
Content-Driven WordPress Development - WordCamp Omaha 2014Stephanie Eckles
All about various WordPress content types and how to store custom data and create relationships with taxonomies. Transcript & slides from WordCamp Omaha.
WordPress themes are files that work together to create the design and functionality of a WordPress site. An efficient theme structure includes separate files for assets, functions, templates and parts to keep the code modular and reusable. Key aspects of the structure include folders for CSS, JS and images; functions split across multiple files; main templates in the root directory with custom templates in a sub-folder; and reusable parts included using get_template_part(). This summary outlines best practices for organizing WordPress theme code and structure.
The document provides instructions for setting up a basic website using HTML and CSS. It begins with directions for connecting to WiFi and downloading Sublime Text editor. It then outlines the basic HTML page structure and teaches how to add semantic elements like header, nav, section and footer. Styles are applied using CSS to change colors and layout. The document provides step-by-step guidance for adding content and images to the page. It concludes by suggesting additional features like responsive design.
This document provides an overview of WordPress themes:
1. Themes determine the look and style of a WordPress site and allow customizing templates and styles. Common themes include Twenty Twelve, BaseWP, and GovPress.
2. WordPress.org allows installing any theme, while WordPress.com only offers a selection of pre-approved themes. Child themes make it possible to customize parent themes without breaking updates.
3. Advanced theme customization includes creating custom templates, loops, and entire themes from scratch. Theme files like header, footer, and template parts can be edited.
The Re-brand WordPress Admin is for developers who want to give their clients a more personalized and less confusing content management system with amazing look and feel.
This document outlines an agenda for a WordPress workshop. It includes an introduction to WordPress, discussions of core components of themes, using WordPress as a content management system, building portfolios and themes in WordPress, and essential plugins. It provides examples of conditional tags and template tags in PHP.
This document provides an overview and instructions for setting up a basic WordPress site, including choosing a domain name and hosting provider, installing WordPress, customizing the site with themes and plugins, adding content like posts and pages, and securing the site. It recommends using managed hosting for ease of setup and maintenance, and suggests popular plugins like Jetpack, Gravity Forms, and iThemes Security to add functionality and security.
This document discusses customizing WordPress themes. It begins by introducing the author and his experience with WordPress design. It then outlines a two part process for customizing themes: planning and designing in Photoshop, then implementing changes through CSS, PHP templates, and plugins. Specific examples are provided on customizing navigation, plugins, and page templates through simple CSS and code additions. Responsive design considerations are also addressed. The goal is to demonstrate how beginners can make visual enhancements to themes.
This document provides an overview of the key features in the CMS Starter guide, including dashboard functionality, system settings, content management, creating pages, menus, forms, polls and newsletters. It describes how to set preferences, manage tools, categories, attributes and more.
This document outlines the essential components for creating a theme with customizable options in WordPress, including using variables to store option elements, adding a form action to save, reset, and delete options, generating the form code to display the options, and hooking the options menu into the WordPress admin interface. The document promotes two free themes that utilize these theme option components.
Making WordPress Your CMS and Automatically Updating a Self Hosted WordPress ...cehwitham
This document provides code snippets to customize the WordPress admin interface for clients. It includes:
1) Customizing the login screen by adding a logo and link.
2) Giving editors menu and widget permissions.
3) Adding branding to the title bar and footer by including the developer's logo and contact details.
4) Removing unnecessary widgets from the dashboard and adding support information and an RSS feed.
5) Instructions for setting up automatic plugin updates by adding metadata and uploading files to a web server.
WordPress theme development from scratch : ICT MeetUp 2013 NepalChandra Prakash Thapa
The document discusses how to develop a WordPress theme from scratch. It provides step-by-step instructions on setting up the basic theme files and templates, adding dynamic content like images and text, registering menus and sidebars, and including plugins. Key parts include downloading a template, setting up core theme files, adding options for configurable content in the admin panel, querying posts and pages for output, and making the theme responsive.
Go over a quick crash course into what it takes to develop a WordPress theme and then jump into some deeper waters on how to utilize Custom Post Types, create custom theme options, and custom meta boxes.
This document provides tips and information about customizing WordPress themes and websites using HTML, CSS, and child themes. It includes overviews of the WordPress dashboard sections like Appearance, Plugins, and Settings and how to use them. Specific tips are provided for editing CSS, creating a child theme, common HTML tags, and recommended plugins. Contact information is given for the instructor to ask additional questions.
The document provides instructions for creating a multi-page website in Dreamweaver CS6. It discusses setting up the site structure with a root folder and subfolders, creating page templates, and linking pages within the site. The first two pages of the site are designed - an index page and a 'New Arrivals' page. Templates are used to maintain consistency across pages. Links are added between the homepage and the 'New Arrivals' page to allow navigation between them. The footer is also standardized across pages.
WordPress Structure and Best Practicesmarkparolisi
The document discusses the directory structure, core files, database structure, plugins, themes, and templates in WordPress. It provides information on actions, filters, widgets, modifying plugins, and best practices for developing WordPress sites and plugins. Key points include the directory locations for core files, plugins, themes, and uploads, as well as the main database tables like wp_posts and wp_options.
How to Prepare a WordPress Theme for Public ReleaseDavid Yeiser
A presentation for WordCamp Louisville on how to prepare a theme for distribution. It mainly follows the theme review process outlined at WordPress.org. It also discusses reasons to release a theme and briefly highlights ways to stand out from the crowd.
Intro to WordPress Child Themes (NERDS Sept 2014)Kelly Dwan
So you've been playing around with WordPress. You feel like you've really gotten the hang it. However, you're starting to run into limitations with how much you can customize your site. The next step toward creating an entirely custom WordPress site is to create a child theme. A child theme is a theme which is based on another theme (the "parent theme"), and can override and/or add to the look and functionality of the parent theme.
This session is for: people who have made an HTML/CSS website, used WordPress, and run into customization limitations
This document discusses WordPress theme development and provides an overview of key concepts. It introduces PHP basics like variables, conditionals, and loops used in themes. It also covers template tags for outputting content, conditional tags for checking page types, and the template hierarchy for determining which template file to use. Finally, it discusses functions.php, common functions used there, adding theme support, and using hooks, actions and filters to modify WordPress behavior.
Moving from Wordpress.com to Wordpress.org - Wordcamp Toronto 2011Georgiana Laudi
This presentation covers the migration process from a hosted wordpress.com website to a self-hosted WordPress installation.
Covering considerations, hosting, installation, permalinks, exporting and importing, domain mapping, 301 redirects and spam.
By Sandy Sidhu & Georgiana Laudi
Content-Driven WordPress Development - WordCamp Omaha 2014Stephanie Eckles
All about various WordPress content types and how to store custom data and create relationships with taxonomies. Transcript & slides from WordCamp Omaha.
WordPress themes are files that work together to create the design and functionality of a WordPress site. An efficient theme structure includes separate files for assets, functions, templates and parts to keep the code modular and reusable. Key aspects of the structure include folders for CSS, JS and images; functions split across multiple files; main templates in the root directory with custom templates in a sub-folder; and reusable parts included using get_template_part(). This summary outlines best practices for organizing WordPress theme code and structure.
The document provides instructions for setting up a basic website using HTML and CSS. It begins with directions for connecting to WiFi and downloading Sublime Text editor. It then outlines the basic HTML page structure and teaches how to add semantic elements like header, nav, section and footer. Styles are applied using CSS to change colors and layout. The document provides step-by-step guidance for adding content and images to the page. It concludes by suggesting additional features like responsive design.
This document provides an overview of WordPress themes:
1. Themes determine the look and style of a WordPress site and allow customizing templates and styles. Common themes include Twenty Twelve, BaseWP, and GovPress.
2. WordPress.org allows installing any theme, while WordPress.com only offers a selection of pre-approved themes. Child themes make it possible to customize parent themes without breaking updates.
3. Advanced theme customization includes creating custom templates, loops, and entire themes from scratch. Theme files like header, footer, and template parts can be edited.
The Re-brand WordPress Admin is for developers who want to give their clients a more personalized and less confusing content management system with amazing look and feel.
This document outlines an agenda for a WordPress workshop. It includes an introduction to WordPress, discussions of core components of themes, using WordPress as a content management system, building portfolios and themes in WordPress, and essential plugins. It provides examples of conditional tags and template tags in PHP.
This document provides an overview and instructions for setting up a basic WordPress site, including choosing a domain name and hosting provider, installing WordPress, customizing the site with themes and plugins, adding content like posts and pages, and securing the site. It recommends using managed hosting for ease of setup and maintenance, and suggests popular plugins like Jetpack, Gravity Forms, and iThemes Security to add functionality and security.
This document discusses customizing WordPress themes. It begins by introducing the author and his experience with WordPress design. It then outlines a two part process for customizing themes: planning and designing in Photoshop, then implementing changes through CSS, PHP templates, and plugins. Specific examples are provided on customizing navigation, plugins, and page templates through simple CSS and code additions. Responsive design considerations are also addressed. The goal is to demonstrate how beginners can make visual enhancements to themes.
This document discusses theme development in WordPress. It explains that themes allow for customization of a site's functionality and visual design. Key aspects covered include template tags, conditional tags, the loop, common template files like header.php, sidebar.php and footer.php, and building themes according to WordPress standards. Building your own theme is recommended as an opportunity to learn skills like CSS, HTML and PHP while contributing to the WordPress community.
Most widely used WordPress tips and tricks of 2016Reegan
WordPress is a CMS (Content Management System) which is very popular and most widely used in these days. Introduction to the WordPress is almost not necessary as every business is seeking its help to establish their business and brand identity.
Stepping into theme development can be daunting. Sure anyone with a little PHP skill and a basic understanding of the loop can create theme templates, but there are a number of things you can learn which can take your theme development to the next level. We’ll discuss the skills that can take you from a beginner theme developer to a master.
9 Essential Wordpress Plugins for a Professional Wordpress BlogIvan Bayross
WordPress has been specifically created so that non-technical, but talented writers can install, configure and run a Blog site successfully. I think that the greatest attribute built into the WordPress core, is how easy it is to extend the functionality of the WP core using essential wordpress plugins.
In this PPT I’d like to share my experiences with various WP Admin plugins I’ve used either on my own Blog or installed and configured for a client on their Blog. Let me know if you use any other plugins.
Stepping into theme development can be daunting. Sure anyone with a little PHP skill and a basic understanding of the loop can create theme templates, but there are a number of things you can learn which can take your theme development to the next level. We’ll discuss the skills that can take you from a beginner theme developer to a master.
A video of this talk given in Boston, MA can be seen at https://www.youtube.com/watch?v=IdMEOO0JmZA
(Updated for 2017)
Word press interview question and answer tops technologiesTOPS Technologies
Dehradun Office
96/2 Haridwar Road,
(in front of LIC office),
Dharampur,
Dehradun,
Uttarakhand.
http://www.tops-int.com/live-project-training-php.html
Most experienced IT Training Institute in Dehradun known for providing PHP course as per Industry Standards and Requirement.
The Django admin site provides a web-based interface for trusted administrators to manage content on a Django website. It allows adding, editing, and deleting data from database models. The admin is activated by adding django.contrib.admin to INSTALLED_APPS and running syncdb. Models can be customized in the admin using ModelAdmin classes to configure properties like the change list display, search fields, filters, and form layout. The admin uses a permissions system to control which users can access and modify each model.
The document provides information on WordPress including what it is, its advantages, and how to set it up both on a live site and locally. WordPress is an open source content management system that is free, easy to use, and customizable. It allows for blogging and incorporating social media. Setting it up involves installing WordPress files, creating a database, and configuring settings. The WordPress admin interface allows managing posts, media, pages, comments, appearance, plugins, users, and settings. Themes and plugins can be installed to customize WordPress functionality and design. Standards for theme development include using valid code and following WordPress coding conventions.
This document provides instructions for customizing a WordPress website with little experience. It covers how to edit settings and pages, install and activate themes, add plugins, optimize for search engines through keyword research and on-page SEO, and engage in off-site optimization through link building and guest blogging. Resources for learning more about WordPress and web design are provided at the end.
WordPress Menus - Melbourne User MeetupChris Burgess
Menus aren't the most exciting topic, but they're a critical component of any successful website. In this slide deck from the Melbourne WordPress User Meetup, I cover all of the basics for creating and managing menus in WordPress, along with a few tips and handy plugins.
This document provides an overview of WordPress and its advantages and disadvantages for content management. It discusses WordPress' core features like posts, pages, custom post types and taxonomies. It also covers themes, plugins, performance, security and the WordPress development community.
This chapter discusses account administration and the administration panel. The administration panel allows administrators to manage all aspects of the website such as settings, design, tools, security, and more. It is divided into several sections - the adminbar menu at the top provides access to all features, the left column lists modules, and the main panel displays settings for the selected feature. The administration panel gives administrators full control over the website and should be kept secure since it allows removing the site entirely. Proper administration settings are also important as they determine aspects like the site name, language, and features.
This chapter discusses account administration on a website built using uCoz. It covers the administration panel interface and various settings that can be configured through it, including common site settings, design management, tools, security, and paid services. The administration panel contains modules for different site functions that are accessible through the main menu. Key account settings that can be configured on the general settings tab include the site name, address, language, and more.
Creating Layouts and Landing Pages for Drupal 8 - DrupalCon DublinSuzanne Dergacheva
This presentation from DrupalCon Dublin covered site building techniques for creating landing pages and layouts, including using custom blocks, paragraphs, and panels, and then different theming approaches for creating these layouts.
This document discusses using Django CMS to build websites. It provides an overview of Django CMS, how to install it using the djangocms-installer, configure templates and placeholders, add plugins, and customize aspects like permissions, languages, and wizards. Django CMS allows non-technical users to edit content while providing developers flexibility through its plugin architecture and integration with Django.
Chapter wise All Notes of First year Basic Civil Engineering.pptxDenish Jangid
Chapter wise All Notes of First year Basic Civil Engineering
Syllabus
Chapter-1
Introduction to objective, scope and outcome the subject
Chapter 2
Introduction: Scope and Specialization of Civil Engineering, Role of civil Engineer in Society, Impact of infrastructural development on economy of country.
Chapter 3
Surveying: Object Principles & Types of Surveying; Site Plans, Plans & Maps; Scales & Unit of different Measurements.
Linear Measurements: Instruments used. Linear Measurement by Tape, Ranging out Survey Lines and overcoming Obstructions; Measurements on sloping ground; Tape corrections, conventional symbols. Angular Measurements: Instruments used; Introduction to Compass Surveying, Bearings and Longitude & Latitude of a Line, Introduction to total station.
Levelling: Instrument used Object of levelling, Methods of levelling in brief, and Contour maps.
Chapter 4
Buildings: Selection of site for Buildings, Layout of Building Plan, Types of buildings, Plinth area, carpet area, floor space index, Introduction to building byelaws, concept of sun light & ventilation. Components of Buildings & their functions, Basic concept of R.C.C., Introduction to types of foundation
Chapter 5
Transportation: Introduction to Transportation Engineering; Traffic and Road Safety: Types and Characteristics of Various Modes of Transportation; Various Road Traffic Signs, Causes of Accidents and Road Safety Measures.
Chapter 6
Environmental Engineering: Environmental Pollution, Environmental Acts and Regulations, Functional Concepts of Ecology, Basics of Species, Biodiversity, Ecosystem, Hydrological Cycle; Chemical Cycles: Carbon, Nitrogen & Phosphorus; Energy Flow in Ecosystems.
Water Pollution: Water Quality standards, Introduction to Treatment & Disposal of Waste Water. Reuse and Saving of Water, Rain Water Harvesting. Solid Waste Management: Classification of Solid Waste, Collection, Transportation and Disposal of Solid. Recycling of Solid Waste: Energy Recovery, Sanitary Landfill, On-Site Sanitation. Air & Noise Pollution: Primary and Secondary air pollutants, Harmful effects of Air Pollution, Control of Air Pollution. . Noise Pollution Harmful Effects of noise pollution, control of noise pollution, Global warming & Climate Change, Ozone depletion, Greenhouse effect
Text Books:
1. Palancharmy, Basic Civil Engineering, McGraw Hill publishers.
2. Satheesh Gopi, Basic Civil Engineering, Pearson Publishers.
3. Ketki Rangwala Dalal, Essentials of Civil Engineering, Charotar Publishing House.
4. BCP, Surveying volume 1
How to Setup Warehouse & Location in Odoo 17 InventoryCeline George
In this slide, we'll explore how to set up warehouses and locations in Odoo 17 Inventory. This will help us manage our stock effectively, track inventory levels, and streamline warehouse operations.
Walmart Business+ and Spark Good for Nonprofits.pdfTechSoup
"Learn about all the ways Walmart supports nonprofit organizations.
You will hear from Liz Willett, the Head of Nonprofits, and hear about what Walmart is doing to help nonprofits, including Walmart Business and Spark Good. Walmart Business+ is a new offer for nonprofits that offers discounts and also streamlines nonprofits order and expense tracking, saving time and money.
The webinar may also give some examples on how nonprofits can best leverage Walmart Business+.
The event will cover the following::
Walmart Business + (https://business.walmart.com/plus) is a new shopping experience for nonprofits, schools, and local business customers that connects an exclusive online shopping experience to stores. Benefits include free delivery and shipping, a 'Spend Analytics” feature, special discounts, deals and tax-exempt shopping.
Special TechSoup offer for a free 180 days membership, and up to $150 in discounts on eligible orders.
Spark Good (walmart.com/sparkgood) is a charitable platform that enables nonprofits to receive donations directly from customers and associates.
Answers about how you can do more with Walmart!"
বাংলাদেশের অর্থনৈতিক সমীক্ষা ২০২৪ [Bangladesh Economic Review 2024 Bangla.pdf] কম্পিউটার , ট্যাব ও স্মার্ট ফোন ভার্সন সহ সম্পূর্ণ বাংলা ই-বুক বা pdf বই " সুচিপত্র ...বুকমার্ক মেনু 🔖 ও হাইপার লিংক মেনু 📝👆 যুক্ত ..
আমাদের সবার জন্য খুব খুব গুরুত্বপূর্ণ একটি বই ..বিসিএস, ব্যাংক, ইউনিভার্সিটি ভর্তি ও যে কোন প্রতিযোগিতা মূলক পরীক্ষার জন্য এর খুব ইম্পরট্যান্ট একটি বিষয় ...তাছাড়া বাংলাদেশের সাম্প্রতিক যে কোন ডাটা বা তথ্য এই বইতে পাবেন ...
তাই একজন নাগরিক হিসাবে এই তথ্য গুলো আপনার জানা প্রয়োজন ...।
বিসিএস ও ব্যাংক এর লিখিত পরীক্ষা ...+এছাড়া মাধ্যমিক ও উচ্চমাধ্যমিকের স্টুডেন্টদের জন্য অনেক কাজে আসবে ...
A workshop hosted by the South African Journal of Science aimed at postgraduate students and early career researchers with little or no experience in writing and publishing journal articles.
Strategies for Effective Upskilling is a presentation by Chinwendu Peace in a Your Skill Boost Masterclass organisation by the Excellence Foundation for South Sudan on 08th and 09th June 2024 from 1 PM to 3 PM on each day.
This slide is special for master students (MIBS & MIFB) in UUM. Also useful for readers who are interested in the topic of contemporary Islamic banking.
This presentation was provided by Steph Pollock of The American Psychological Association’s Journals Program, and Damita Snow, of The American Society of Civil Engineers (ASCE), for the initial session of NISO's 2024 Training Series "DEIA in the Scholarly Landscape." Session One: 'Setting Expectations: a DEIA Primer,' was held June 6, 2024.
This presentation includes basic of PCOS their pathology and treatment and also Ayurveda correlation of PCOS and Ayurvedic line of treatment mentioned in classics.
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Diana Rendina
Librarians are leading the way in creating future-ready citizens – now we need to update our spaces to match. In this session, attendees will get inspiration for transforming their library spaces. You’ll learn how to survey students and patrons, create a focus group, and use design thinking to brainstorm ideas for your space. We’ll discuss budget friendly ways to change your space as well as how to find funding. No matter where you’re at, you’ll find ideas for reimagining your space in this session.
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
WordPress theme setting page
1. Create a Settings Page For Your
WordPress Theme
Junejo Naeem Ahmed
WORDPRESS
2. WORDPRESS THEME
• Creating your own theme for WordPress is a great way to give
your blog or other WordPress powered web site an original
touch.
• But even the nicest looking theme is not that nice if you have
to get under the hood and edit the theme's HTML or PHP
code whenever it's time change some aspects of it.
• Especially, when it's not you but a paying customer using your
theme.
• Luckily, creating a settings page for your theme in WordPress
is not very hard!
3. DECIDING WHAT SETTINGS ARE NEEDED
• It all starts from the need: to create a clear and useful settings page,
you have to figure out the things that will need to be changed and
leave out everything else.
• Every new setting you add to the admin menus adds complexity to the
user interface and risks making the theme harder to use.
• That's why it's better to be careful and handpick the options that are
going to be changed often and leave out one time customizations that
can easily be done changing one file inside the theme.
• Another question to keep in mind is "Who is going to be changing
these settings?“
• If the user is familiar with PHP and WordPress, it might be reasonable
to expect that he is OK with embedding his Google Analytics code in
the code herself.
• but you shouldn't require that from a graphic designer, not to mention
a writer who doesn't even need to know anything about HTML and
CSS.
4. DECIDING WHAT SETTINGS ARE NEEDED
• Common ideas for things to define in theme settings include:
• The site's Google Analytics tracking code
• The number of sidebars and their positioning (left, right, maybe even
up and down)
• Page width
• The contents of your footer
• Options for features that are specific to the theme, such as custom
teaser formats.
5. DECIDING WHAT SETTINGS ARE NEEDED
• Once you have collected the list of theme features that you'd like to
control through a settings page, you are almost ready to start the
implementation.
• Before you move on and create your settings page, you can save time
by making sure that there isn't a WordPress feature already available
for the customization you have in mind.
• Widgets, custom menus, custom backgrounds and header images are
all useful tools for making your theme customizable with a lot less
work than required for creating your own settings.
6. HOOKING THE SETTINGS PAGE TO WORDPRESS
• Creating a settings page starts by creating a function that sets up the
menu and hooking it to the WordPress action admin_menu.
• This tells WordPress to call your function when its time to create the
menus so that everything is done at its proper time.
• Add this code to your theme's functions.php file:
• function setup_theme_admin_menus() {
• // We will write the function contents very soon.
• }
• // This tells WordPress to call the function named
"setup_theme_admin_menus"
• // when it's time to create the menu pages.
• add_action("admin_menu", "setup_theme_admin_menus");
7. HOOKING THE SETTINGS PAGE TO WORDPRESS
• We'll now put the code for creating the settings pages inside the
function we just created.
• When creating your settings page, you have the choice of either adding
the page as a submenu to one of the existing settings groups or of
creating your own top level menu.
• Adding a submenu is done with the function add_submenu_page:
• <?php add_submenu_page($parent_slug, $page_title,
$menu_title, $capability, $menu_slug, $function) ?>
8. HOOKING THE SETTINGS PAGE TO WORDPRESS
• $parent_slug is a unique identifier for the top menu page to which this
submenu is added as a child.
• $page_title is the title of the page to be added
• $menu_title is the title shown in the menu (often a shorter version of
$page_title
• $capability is the minimum capability required from a user in order to
have access to this menu.
• $menu_slug is a unique identifier for the menu being created
• $function is the name of a function that is called to handle (and
render) this menu page.
9. HOOKING THE SETTINGS PAGE TO WORDPRESS
• If you choose to add the menu page as a submenu to one of the
WordPress groups, you can use the following values as the
$parent_slug parameter:
• Dashboard: index.php
• Posts: edit.php
• Media: upload.php
• Links: link-manager.php
• Pages: edit.php?post_type=page
• Comments: edit-comments.php
• Appearance: themes.php
• Plugins: plugins.php
• Users: users.php
• Tools: tools.php
• Settings: options-general.php
10. HOOKING THE SETTINGS PAGE TO WORDPRESS
• The Appearance group looks like a good candidate for placing our
settings page.
• Let's try that, and create our first settings page.
• Here's an updated version of our menu setup function:
• function setup_theme_admin_menus() {
• add_submenu_page('themes.php',
• 'Front Page Elements', 'Front Page', 'manage_options',
• 'front-page-elements', 'theme_front_page_settings');
• }
• We still need to create the function theme_front_page_settings for
this to work. Here it is in its simplest form:
• function theme_front_page_settings() {
• echo "Hello, world!";
• }
12. HOOKING THE SETTINGS PAGE TO WORDPRESS
• We also need to check that the user has the rights required for editing
the settings page.
• To do that, add the following code at the beginning of the settings
page function:
• // Check that the user is allowed to update options
• if (!current_user_can('manage_options')) {
• wp_die('You do not have sufficient permissions to access this page.');
• }
• Now, if a user who isn't allowed to manage options comes to the
settings page, he will see nothing but the message, "You do not have
sufficient permissions to access this page."
13. HOOKING THE SETTINGS PAGE TO WORDPRESS
• If your theme needs multiple settings pages, it can be confusing for the
user to look for them scattered all around the menu structure.
• In that case, creating your own settings group makes it easier for the
theme user to find all the menu pages for the theme.
• To add your own settings group, you need to create a top level menu
page and link the submenu pages to it.
• Here is a new version of our menu setup function.
• The add_menu_page function used to create the top level menu is
similar to add_submenu_page except that it doesn't take the
$parent_slug parameter.
14. HOOKING THE SETTINGS PAGE TO WORDPRESS
• function setup_theme_admin_menus() {
• add_menu_page('Theme settings', 'Example theme', 'manage_options',
• ‘my_theme_settings', 'theme_settings_page');
•
• add_submenu_page(‘my_theme_settings',
• 'Front Page Elements', 'Front Page', 'manage_options',
• 'front-page-elements', 'theme_front_page_settings');
• }
•
• // We also need to add the handler function for the top level menu
• function theme_settings_page() {
• echo "Settings page";
• }
15. HOOKING THE SETTINGS PAGE TO WORDPRESS
• If you test the code and refresh the WordPress admin, you'll see your
new menu group appear at the bottom of the menu list:
16. HOOKING THE SETTINGS PAGE TO WORDPRESS
• But something doesn't look quite right yet.
• Clicking the top menu element doesn't lead you to the "Front Page"
menu but a menu page called "Example theme.“
• This is not consistent with how the other WordPress menus function,
so let's do one more thing: by changing the $menu_slug attribute in
the add_submenu_page call to the same value as in the top level
menu, we can link the two menus so that selecting the top menu
selects the front page menu:
function setup_theme_admin_menus() {
add_menu_page('Theme settings', 'Example theme', 'manage_options',
‘my_theme_settings', 'theme_settings_page');
add_submenu_page(‘my_theme_settings',
'Front Page Elements', 'Front Page', 'manage_options',
‘my_theme_settings', 'theme_front_page_settings');
}
function theme_settings_page() {
}
17. HOOKING THE SETTINGS PAGE TO WORDPRESS
• Looks better. If you want to still improve the looks of your menu group,
there are two optional fields in the add_menu_page function that you
will find useful.
• Just add the values after the function name in the method call:
• $icon_url specifies the URL of an icon for the top level menu.
• $position specifies the position of your menu group in the menu list.
• The higher the value, the lower the position in the menu.
18. CREATING THE HTML FORM FOR THE SETTINGS PAGES
• Now that we have created the settings page, and it shows up
nicely in the side menu, it's time to start adding some
content.
• So, let's go back to the list of settings we had in mind, and
draft a page for editing them.
• we need a field for defining how many elements should be
listed on one row, and a list for defining the actual elements.
• To start from the easier, let's create a text field for the number
of elements on one row.
19. CREATING THE HTML FORM FOR THE SETTINGS PAGES
• Edit your settings page function:
• function theme_front_page_settings() {
• ?>
• <label for="num_elements">
• Number of elements on a row:
• </label>
•
• <input type="text" name="num_elements" />
• <?php
• }
20. CREATING THE HTML FORM FOR THE SETTINGS PAGES
• When you reload your settings page, you'll see the first settings field
appear:
21. CREATING THE HTML FORM FOR THE SETTINGS PAGES
• To make the settings page fit seamlessly in the WordPress experience and to give your
theme a professional touch, it's a best practice to use the CSS classes and styles that
WordPress uses in its own settings pages.
• A good way to learn the tricks is to just go ahead and analyze the WordPress source
code.
• The most important thing is to wrap your setting page with a div with the class "wrap".
• Within that div element, you can use many predefined styles such as headings, buttons,
and form fields.
• Let's start by styling the title of our settings page:
• We will create a h2 heading for the page (You can use the heading tags from h2 to h6 to
create headings with different sizes.)
• We will show the theme settings page icon before the heading. (You can use the
predefined WordPress icons with the screen_icon function.
• The function can take one of the following parameters: index, edit, upload, link-
manager, pages, comments, themes, plugins, users, tools or options-general.)
• We will put the input element inside a form and a table with the class form-table.
22. CREATING THE HTML FORM FOR THE SETTINGS PAGES
• function theme_front_page_settings() {
• ?>
• <div class="wrap">
• <?php screen_icon('themes'); ?> <h2>Front page elements</h2>
•
• <form method="POST" action="">
• <table class="form-table">
• <tr valign="top">
• <th scope="row">
• <label for="num_elements">
• Number of elements on a row:
• </label>
• </th>
• <td>
• <input type="text" name="num_elements" size="25" />
• </td>
• </tr>
• </table>
• </form>
• </div>
• <?php
• }
24. SAVING THE FORM
• The settings page looks good, but there is something missing: it doesn't do
anything yet.
• It's time to save some data.
• WordPress provides an easy system for saving theme and plugin settings
as key value pairs to the database using two functions:
• get_option and update_option.
• The data stored using the functions can be as simple as a number value or
as complex as an array nested multiple times.
• The handling of the form is done in the same function that renders the
form.
• To know whether a form was submitted or not, we add a hidden field,
update_settings to the form and then check whether that field was sent or
not in the handling function.
25. SAVING THE FORM
• if (isset($_POST["update_settings"])) {
• // Do the saving
• }
• The hidden field that goes inside the form looks like this:
• <input type="hidden" name="update_settings" value="Y" />
26. SAVING THE FORM
• Let's start by saving the easier setting, num_elements.
• We'll escape the attribute to make sure the user isn't sending malicious
content in the from of HTML tags and then save it to the WordPress
settings storage.
• When using update_option, we don't need to worry about whether the
setting has already been saved or not.
• $num_elements = esc_attr($_POST["num_elements"]);
• update_option("theme_name_num_elements", $num_elements);
27. SAVING THE FORM
• Before we move to saving the list, let's add the current value of
num_elements to the settings form so that the user always sees what
value he has entered in before deciding the next value.
• This will also help us test that the value was actually saved.
• <input type="text" name="num_elements" value="<?php echo
$num_elements;?>" size="25" />
• And for cases where we haven't saved anything yet, we'll need to load the
current value from options, so let's add this piece of code to be executed
when there is no form submitted.
• $num_elements = get_option("theme_name_num_elements");
28. SAVING THE FORM
• When a form is saved, it's important to notify the user so that he isn't left
wondering whether something happened or not.
• So, let's render a simple notice saying "Settings saved." right after the
update_option:
• <div id="message" class="updated">Settings saved</div>
29. USING THE SETTINGS INSIDE THE THEME
• Saving and showing settings values within the admin area is great, but
what really counts is how you use them to customize your theme, so now,
we have come to the point where it's time to take our settings and do
something cool with them.
• From here on, changes go to index.php instead of functions.php. First,
we'll read the options to variables:
• <?php
• $num_elements = get_option("theme_name_num_elements");
• ?>
30. CONCLUSION
• Now, we have created a settings page for a custom theme.
• The theme is far from complete, but I hope this introduction got you
started with adding settings and customizable elements to your next
WordPress theme.