Produktbild: Professional Wordpress Plugin Development

Professional Wordpress Plugin Development

46,99 €

inkl. gesetzl. MwSt., Versandkostenfrei


Beschreibung

Produktdetails

Einband

Taschenbuch

Erscheinungsdatum

10.06.2020

Verlag

John Wiley & Sons

Seitenzahl

480

Maße (L/B/H)

23,6/19/2,7 cm

Gewicht

891 g

Auflage

2nd edition

Sprache

Englisch

ISBN

978-1-119-66694-3

Beschreibung

Produktdetails

Einband

Taschenbuch

Erscheinungsdatum

10.06.2020

Verlag

John Wiley & Sons

Seitenzahl

480

Maße (L/B/H)

23,6/19/2,7 cm

Gewicht

891 g

Auflage

2nd edition

Sprache

Englisch

ISBN

978-1-119-66694-3

Herstelleradresse

Libri GmbH
Europaallee 1
36244 Bad Hersfeld
DE

Email: gpsr@libri.de

Ein neues Kapitel für Ihre Bücher

Ein neues Kapitel für Ihre Bücher

Schenken Sie Ihren alten Schätzen ein zweites Leben und erhalten dafür eine Thalia Geschenkkarte.

Jetzt verkaufen
Jetzt verkaufen

Noch keine Bewertungen vorhanden

Verfassen Sie die erste Bewertung zu diesem Artikel

Helfen Sie anderen Kundinnen und Kunden durch Ihre Meinung.

Kundinnen und Kunden meinen

Bewertungen (0)

Die Leseprobe wird geladen.
  • Produktbild: Professional Wordpress Plugin Development
  • Introduction xxxi
     
    Chapter 1: An Introduction to Plugins 1
     
    What is a Plugin? 1
     
    How Plugins Interact with WordPress 2
     
    When are Plugins Loaded? 3
     
    Available Plugins 4
     
    Official Plugin Directory 4
     
    Popular Plugin Examples 4
     
    Popular Plugin Tags 5
     
    Advantages of Plugins 5
     
    Not Modifying Core 5
     
    Why Reinvent the Wheel? 5
     
    Separating Plugins and Themes 6
     
    Easy Updates 7
     
    Easier to Share and Reuse 7
     
    Plugin Sandbox 7
     
    Plugin Community 7
     
    Installing and Managing Plugins 8
     
    Installing a Plugin 8
     
    Managing Plugins 9
     
    Editing Plugins 9
     
    Plugin Directories 9
     
    Types of Plugins 10
     
    Summary 11
     
    Chapter 2: Plugin Framework 13
     
    Requirements for Plugins 13
     
    Naming Your Plugin 14
     
    Using a Folder 14
     
    Best Practices 14
     
    Namespace Everything 14
     
    File Organization 15
     
    Folder Structure 16
     
    Plugin Header 17
     
    Creating the Header 17
     
    Plugin License 18
     
    Determining Paths 19
     
    Plugin Paths 19
     
    Local Paths 19
     
    URL Paths 20
     
    Activate/Deactivate Functions 22
     
    Plugin Activation Function 22
     
    Plugin Deactivation Function 23
     
    Deactivate is Not Uninstall 23
     
    Uninstall Methods 24
     
    Why Uninstall is Necessary 24
     
    Uninstall.php 24
     
    Uninstall Hook 25
     
    Coding Standards 25
     
    Document Your Code 26
     
    Naming Variables and Functions 27
     
    Naming Classes and Methods 27
     
    Naming Files 28
     
    Single and Double Quotes 28
     
    Indentation 28
     
    Brace Style 29
     
    Space Usage 29
     
    Shorthand PHP 30
     
    SQL Statements 30
     
    Summary 30
     
    Chapter 3: Dashboard And Settings 31
     
    Adding Menus and Submenus 31
     
    Creating a Top-Level Menu 32
     
    Adding a Submenu 33
     
    Adding a Menu Item to an Existing Menu 34
     
    Plugin Settings 36
     
    The Options API 36
     
    Saving Options 36
     
    Saving an Array of Options 37
     
    Updating Options 37
     
    Retrieving Options 38
     
    Loading an Array of Options 39
     
    Deleting Options 40
     
    The Autoload Parameter 40
     
    Segregating Plugin Options 41
     
    Toggling the Autoload Parameter 42
     
    The Settings API 42
     
    Benefits of the Settings API 42
     
    Settings API Functions 43
     
    Creating the Plugin Administration Page 43
     
    Registering New Settings 44
     
    Defining Sections and Settings 44
     
    Validating User Input 46
     
    Rendering the Form 47
     
    All Done! 48
     
    Wrapping It Up: A Complete Plugin Management Page 48
     
    Improving Feedback on Validation Errors 51
     
    Expanding with Additional Field Types 52
     
    Adding Fields to an Existing Page 59
     
    How It Works 59
     
    Adding a Section to an Existing Page 59
     
    Adding Only Fields 60
     
    WordPress' Sections and Setting Fields 61
     
    User Interface Concerns 62
     
    Removing Settings 62
     
    Keeping It Consistent 63
     
    Using the WordPress UI 64
     
    Headings 64
     
    Dashicons 64
     
    Messages 65
     
    Buttons 66
     
    Form Fields 67
     
    Tables 68
     
    Pagination 69
     
    Summary 70
     
    Chapter 4: Security And Performance 71
     
    Security Overview 72
     
    What Securing Your Plugin is 72
     
    What Securing Your Plugin is Not