Skip to main content

Home/ Wordpress/ Group items tagged functions code development

Rss Feed Group items tagged

iFlair Web Technology

8 Amazing Benefits Of Choosing WordPress Development For Business Sites - 3 views

Since its inception and discovery, WordPress sites have gained immense popularity in the tech arena. Especially, when it comes to developing highly interactive websites, it's quite tough to find an...

WordPress Development Company WordPress Developers WordPress CMS Solutions Development

started by iFlair Web Technology on 08 Nov 16 no follow-up yet
awqi zar

Beginning WordPress Development: A Look at Common Functions - 6 views

  •  
    As a developer, one of my favorite things about WordPress is its built-in functions, which allow you to easily manipulate and extend WordPress with just a few lines of code. WordPress functions are an essential component of WordPress theme development; once you understand how they work, it's easy to create your own custom WordPress themes.
Maggie Wolfe Riley

Digging Into WordPress - the book! - 4 views

  •  
    Two of my favorite web designers with super helpful blogs, Chris Coyier of CSS Tricks and Jeff Starr of Perishable Press, have just released their new collaboration! The book, "Digging Into WordPress," is now available as a PDF download, and if you buy the PDF book now, you will be eligible for a "sweet discount" on the hard copy of the book when it comes out, plus receive updates free. They've done a great job on this book, which covers setting up WordPress, anatomy of a WordPress theme, theme design and development, extending functionality including using WordPress as a CMS, working with RSS feeds, SEO, dealing with comments, and keeping your site "healthy." I already followed both of these designers before they began their collaboration, and have found countless useful tutorials, code snippets, design ideas, and much more on both of their sites - I've relied on Perishable Press as a source for great unobtrusive javascript code, and on CSS-Tricks for all kinds of other useful tools for making valid, functional, and beautiful sites. This book is bound to be a valuable reference to anyone who works with WordPress.
Michael Sturgeon

10 awesome PHP functions and snippets - StumbleUpon - 1 views

  •  
    Every web developer should keep useful code snippets in a personal library for future reference. Today, I'm showing you the 10 most useful snippets and functions I have added to my snippet library from the past 3 months.
Vernon Fowler

Child Themes « WordPress Codex - 0 views

  • A child theme resides in its own directory in wp-content/themes. The scheme below shows the location of a child theme along with its parent theme (Twenty Twelve) in a typical WordPress directory structure:
  • This directory can contain as little as a style.css file, and as much as any full-fledged WordPress theme contains: style.css (required) functions.php (optional) Template files (optional) Other files (optional)
  • @import url("../twentytwelve/style.css");
  • ...4 more annotations...
  • Note on the @import rule There must be no other CSS rules above the @import rule. If you put other rules above it, it will be invalidated and the stylesheet of the parent will not be imported.
  • Unlike style.css, the functions.php of a child theme does not override its counterpart from the parent. Instead, it is loaded in addition to the parent’s functions.php. (Specifically, it is loaded right before the parent’s file.)
  • But, when creating child themes, be aware that using add_theme_support('post-formats') will override the formats as defined by the parent theme, not add to it.
  • A child theme can override any parental template by simply using a file with the same name.
Luciano Ferrer

widgets - Give Editor Access To Sidebar - WordPress Development Stack Exchange - 3 views

  •  
    "The edit_theme_options capability should allow the user to edit the sidebar as described on this page : http://codex.wordpress.org/Appearance_Widgets_SubPanel Code to add to functions.php $role = get_role('editor'); $role->add_cap('edit_theme_options'); Edit: This should work to prevent editor accessing themes or menus function custom_admin_menu() { $user = new WP_User(get_current_user_id()); if (!empty( $user->roles) && is_array($user->roles)) { foreach ($user->roles as $role) $role = $role; } if($role == "editor") { remove_submenu_page( 'themes.php', 'themes.php' ); remove_submenu_page( 'themes.php', 'nav-menus.php' ); } } add_action('admin_menu', 'custom_admin_menu'); I haven't had chance to test this, but it only removes them from the menu they may still be able to access them by typing in the URL directly."
anonymous

How Are WordPress Plug-ins Helpful? - 0 views

  •  
    Plug-in is small snippets of code allowing you to add extra functionality to your site! Like, if you want to get idea of the statistics of your site, WordPress.com stats plug-in can help, which helps you measure your number of page view matrix and it can also help you know where your traffic is coming from.
kie guy

wplookup.com - Wordpress Function/Tag Lookup Tool - 0 views

  •  
    An alternate, fast, accurate search engine for looking up WordPress functions. Highlighted on the WordPress Weekly podcast.
anonymous

Top 10 WordPress Plugins to Increase Proficiency of your Blog - 2 views

  •  
    Plugins are great tools, used to improve the functioning of WordPress blogs by incorporating a wide range of useful features. These are usually pieces of code, created specifically to achieve some purpose.
Vernon Fowler

How to Include JavaScript and CSS in Your WordPress Themes and Plugins | Wptuts+ - 0 views

  • a selection of common JavaScript libraries are already included that you can use for your JavaScript development
  • be selective about which pages you load your scripts on. If your plugin or theme has a script that only does something on one front-end or admin page, such as the theme’s options page, or maybe a page with a specific widget, you only need to load your script on that page. No point clogging things up and loading scripts on pages where they’re not being used!
  • it’s perfectly possible to prioritise scripts and styles and nominate whether they load in the header or footer from the comfort and safety of your functions.php. The benefit being that your theme / framework will work with a wider range of other plugins / child themes.
  • ...2 more annotations...
  • get_template_directory_uri()
  • get_stylesheet_directory_uri()
1 - 11 of 11
Showing 20 items per page