Code Monkey home page Code Monkey logo

dashicons's Introduction

<!DOCTYPE html>
<html lang="en">
<head>
	<meta name="viewport" content="width=device-width" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>WordPress &#8250; ReadMe</title>
	<link rel="stylesheet" href="wp-admin/css/install.css?ver=20100228" type="text/css" />
</head>
<body>
<h1 id="logo">
	<a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
</h1>
<p style="text-align: center">Semantic Personal Publishing Platform</p>

<h2>First Things First</h2>
<p>Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I am proud to be a part of. Thousands of hours have gone into WordPress, and we are dedicated to making it better every day. Thank you for making it part of your world.</p>
<p style="text-align: right">&#8212; Matt Mullenweg</p>

<h2>Installation: Famous 5-minute install</h2>
<ol>
	<li>Unzip the package in an empty directory and upload everything.</li>
	<li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser. It will take you through the process to set up a <code>wp-config.php</code> file with your database connection details.
		<ol>
			<li>If for some reason this does not work, do not worry. It may not work on all web hosts. Open up <code>wp-config-sample.php</code> with a text editor like WordPad or similar and fill in your database connection details.</li>
			<li>Save the file as <code>wp-config.php</code> and upload it.</li>
			<li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser.</li>
		</ol>
	</li>
	<li>Once the configuration file is set up, the installer will set up the tables needed for your site. If there is an error, double check your <code>wp-config.php</code> file, and try again. If it fails again, please go to the <a href="https://wordpress.org/support/forums/">WordPress support forums</a> with as much data as you can gather.</li>
	<li><strong>If you did not enter a password, note the password given to you.</strong> If you did not provide a username, it will be <code>admin</code>.</li>
	<li>The installer should then send you to the <a href="wp-login.php">login page</a>. Sign in with the username and password you chose during the installation. If a password was generated for you, you can then click on &#8220;Profile&#8221; to change the password.</li>
</ol>

<h2>Updating</h2>
<h3>Using the Automatic Updater</h3>
<ol>
	<li>Open <span class="file"><a href="wp-admin/update-core.php">wp-admin/update-core.php</a></span> in your browser and follow the instructions.</li>
	<li>You wanted more, perhaps? That&#8217;s it!</li>
</ol>

<h3>Updating Manually</h3>
<ol>
	<li>Before you update anything, make sure you have backup copies of any files you may have modified such as <code>index.php</code>.</li>
	<li>Delete your old WordPress files, saving ones you&#8217;ve modified.</li>
	<li>Upload the new files.</li>
	<li>Point your browser to <span class="file"><a href="wp-admin/upgrade.php">/wp-admin/upgrade.php</a>.</span></li>
</ol>

<h2>Migrating from other systems</h2>
<p>WordPress can <a href="https://developer.wordpress.org/advanced-administration/wordpress/import/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p>

<h2>System Requirements</h2>
<ul>
	<li><a href="https://www.php.net/">PHP</a> version <strong>7.2.24</strong> or greater.</li>
	<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.5.5</strong> or greater.</li>
</ul>

<h3>Recommendations</h3>
<ul>
	<li><a href="https://www.php.net/">PHP</a> version <strong>7.4</strong> or greater.</li>
	<li><a href="https://www.mysql.com/">MySQL</a> version <strong>8.0</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.5</strong> or greater.</li>
	<li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
	<li><a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a> support.</li>
	<li>A link to <a href="https://wordpress.org/">wordpress.org</a> on your site.</li>
</ul>

<h2>Online Resources</h2>
<p>If you have any questions that are not addressed in this document, please take advantage of WordPress&#8217; numerous online resources:</p>
<dl>
	<dt><a href="https://wordpress.org/documentation/">HelpHub</a></dt>
		<dd>HelpHub is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.</dd>
	<dt><a href="https://wordpress.org/news/">The WordPress Blog</a></dt>
		<dd>This is where you&#8217;ll find the latest updates and news related to WordPress. Recent WordPress news appears in your administrative dashboard by default.</dd>
	<dt><a href="https://planet.wordpress.org/">WordPress Planet</a></dt>
		<dd>The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.</dd>
	<dt><a href="https://wordpress.org/support/forums/">WordPress Support Forums</a></dt>
		<dd>If you&#8217;ve looked everywhere and still cannot find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.</dd>
	<dt><a href="https://make.wordpress.org/support/handbook/appendix/other-support-locations/introduction-to-irc/">WordPress <abbr>IRC</abbr> (Internet Relay Chat) Channel</a></dt>
		<dd>There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (<a href="https://web.libera.chat/#wordpress">irc.libera.chat #wordpress</a>)</dd>
</dl>

<h2>Final Notes</h2>
<ul>
	<li>If you have any suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the <a href="https://wordpress.org/support/forums/">Support Forums</a>.</li>
	<li>WordPress has a robust plugin <abbr>API</abbr> (Application Programming Interface) that makes extending the code easy. If you are a developer interested in utilizing this, see the <a href="https://developer.wordpress.org/plugins/">Plugin Developer Handbook</a>. You shouldn&#8217;t modify any of the core code.</li>
</ul>

<h2>Share the Love</h2>
<p>WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better&#8212;you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgeable than yourself, or writing the author of a media article that overlooks us.</p>

<p>WordPress is the official continuation of <a href="https://cafelog.com/">b2/caf&#233;log</a>, which came from Michel V. The work has been continued by the <a href="https://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="https://wordpress.org/donate/">donating</a>.</p>

<h2>License</h2>
<p>WordPress is free software, and is released under the terms of the <abbr>GPL</abbr> (GNU General Public License) version 2 or (at your option) any later version. See <a href="license.txt">license.txt</a>.</p>

</body>
</html>

dashicons's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dashicons's Issues

dashicons.css default values

Hey Guys,

Straight into the issue I'm having, you have a fixed font-size, width and height set on your .dashicons class. This makes actually getting the icon to fall inline with text not so straight forward if using a font-size different to the standard baseline size of 20px.

Here is a what I propose the class should look like:

.dashicons {
  font-family: "dashicons";
  display: inline-block;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

The original 20px set on the width and height has no affect on the :before element that is actually showing the icon as that grows to it's content based on font-size, it simply alters the default inline layout.

As for the font-size that is a decision that should be left up to the developer making use of the icons. Having to override the default of 20px is out of line with the majority of font's out there like FontAwesome or anything created with IcoMoon that simply inherit the parents font-size.

There are also some transitions included in the .dashicons class which should rather be refactored out into the #iconlist div class in the styles.css file.

Overall it seems as though some style properties used to create the index.html page have crept into the core dashicons.css file when they should be in the styles.css file. This makes simply switching from other font's to dashicons in plugins etc. more complicated as we have to go and override these properties to get the icons to display correctly inline.

This issue is even evident on http://melchoyce.github.io/dashicons/. Simply open dev tools and inspect any of the icons and you will notice the rather strange layout. A small 20px div (.dashicons) padded to increase it's size to the required size to get the layout to work as expected. In dev tools untick the padding on the #iconlist div class and all the icons overlap each other, this is not how the default layout should behave.

With the above changes to the .dashicons class the #iconlist div class in styles.css could be changed from the current one using paddings to force the layout to one that simply uses the font-size and margins so the layout behaves as one would expect from an inline element adjusting itself according to the font-size. I also added in the transitions that I removed from the above to this class. Not everyone will want transitions and this is simply something else we would need to override.

#iconlist div {
  margin: 10px;
  font-size: 40px;
  line-height: 1;
  -moz-transition: color .1s ease-in 0;
  -webkit-transition: color .1s ease-in 0;
}

Please let me know what you think as currently the hard coded defaults seem more restricting than anything else.

Thanks

Add Trash Icon

Simply put, I think Dashicons would do well to add a "trashicon." WordPress Core uses the "Trash" metaphor for deletion (as a post status.), so there should be an icon for it.

Specific Use Case Example: Represent All Post Statuses

It's awesome to see Dashicons in the 3.8 alphas and I've already incorporated them in a future plugin update for Post Status Menu Items. Among other things, the plugin adds a list of Posts status counts (e.g. 24 Drafts) to the "Site Content" Dashboard widget. I wanted to use a Dashicon with each Core status. Here's what I've got right now:

screenshot-5

I think that those work pretty well with the exception of the Trash status.

Concepts

In hopes of getting things going, I drew up a few concepts that I hope would fit in nicely with dashicons:

trashicon_concepts

C and D play with a "[recycle?] bin" concept that is pretty but I don't think works quite as well.

B introduces a touch of perspective on A and E is mostly A in reverse. I'd personally lean toward E.

Icons for All Post Statuses

One last thing: Looking back at the specific use case, it's possible that each status should get it's own icon. The admin could potentially use those icons with the statuses across the top of the Posts screen. This would prevent the appropriation of other icons from their intended meanings (i.e. the "Pending" icon above represented Auto-Updates on the 3.7 Update Welcome Screen).

(FWIW, I actually don't understand what the "Post Status" icon is supposed to represent. A pin?)

Laptop Icon

There are device icons for mobile, tablet and desktop. I could use a laptop icon for my project, and I suspect others may find it useful too.

I created an icon following the Dashicons style guide.

Hope we can use this.
laptop.svg.zip

Dashicon for podcast

Hi, if you could do a dash icon for podcast that would be great. Fwiw I was thinking along the lines of a stylised pair of headphones..??

all the best

Rick

Missing some Icons

Hi Guys,

I'm a Plugin developer and I was looking for a Email icon since we have a Share and Share2 icons, I thought that might be a good idea.

There is any ideas to expand this icon base to cover some possibilities like around WordPress and general stuff?

This would prevent people from including their own fonts/svg files.

version.txt

I was wondering about the purpose of source/version.txt. If this represents the current version of Dashicons, why don't you also make use of GitHub's release system? Would be nice if one could relate to a specific version or download a specific release.

Function

May you make some function "get_wp_icons"?
They must return all register icons in Wordpress.

Do this please.
Thanks for future.

p.s. Some like this array
$icons = array(
'admin' => array(
'appearance',
'collapse',
'comments',
'generic',
'home',
'links',
'media',
'network',
'page',
'plugins',
'post',
'settings',
'site',
'tools',
'users',
),
'album',
'align' => array(
'center',
'left',
'none',
'right'
),
'analytics',
'archive',
'arrow' => array(
'down-alt2',
'down-alt',
'down',
'left-alt2',
'left-alt',
'left',
'right-alt2',
'right-alt',
'right',
'up-alt2',
'up-alt',
'up',
),
'art',
'awards',
'backup',
'book',
'book-alt',
'building',
'businessman',
'calendar-alt',
'calendar',
'camera',
'carrot',
'cart',
'category',
'chart' => array(
'area',
'bar',
'line',
'pie'
),
'clipboard',
'clock',
'cloud',
'controls' => array(
'back',
'forward',
'pause',
'play',
'repeat',
'skipback',
'skipforward',
'volumeoff',
'volumeon',
),
'dashboard',
'desktop',
'dismiss',
'download',
'editor' => array(
'aligncenter',
'alignleft',
'alignright',
'bold',
'break',
'code',
'contract',
'customchar',
'distractionfree',
'expand',
'help',
'indent',
'insertmore',
'italic',
'justify',
'kitchensink',
'ol',
'outdent',
'paragraph',
'paste-text',
'paste-word',
'quote',
'removeformatting',
'rtl',
'spellcheck',
'strikethrough',
'textcolor',
'ul',
'underline',
'unlink',
'video',
),
'edit',
'email-alt',
'email',
'excerpt-view',
'exerpt-view',
'external',
'facebook-alt',
'facebook',
'feedback',
'flag',
'format' => array(
'aside',
'audio',
'chat',
'gallery',
'image',
'links',
'quote',
'standard',
'status',
'video',
),
'forms',
'googleplus',
'grid-view',
'groups',
'hammer',
'heart',
'id-alt',
'id',
'images' => array(
'alt2',
'alt',
),
'image' => array(
'crop',
'flip-horizontal',
'flip-vertical',
'rotate-left',
'rotate-right',
),
'index-card',
'info',
'leftright',
'lightbulb',
'list-view',
'location-alt',
'location',
'marker',
'media' => array(
'archive',
'audio',
'code',
'default',
'document',
'interactive',
'spreadsheet',
'text',
'video',
),
'megaphone',
'menu',
'microphone',
'migrate',
'minus',
'money',
'nametag',
'networking',
'no-alt',
'no',
'palmtree',
'performance',
'phone',
'playlist-audio',
'playlist-video',
'plus-alt',
'plus',
'portfolio',
'post-status',
'post-trash',
'pressthis',
'products',
'randomize',
'redo',
'rss',
'schedule',
'screenoptions',
'search',
'share1',
'share-alt2',
'share-alt',
'share',
'shield-alt',
'shield',
'slides',
'smartphone',
'smiley',
'sort',
'sos',
'star' => array(
'empty',
'filled',
'half',
),
'store',
'tablet',
'tagcloud',
'tag',
'testimonial',
'text',
'tickets-alt',
'tickets',
'translation',
'trash',
'twitter',
'undo',
'universal' => array(
'access-alt',
'access',
),
'update',
'upload',
'vault',
'video' => array(
'alt2',
'alt3',
'alt',
),
'visibility',
'welcome' => array(
'add-page',
'comments',
'edit-page',
'learn-more',
'view-site',
'widgets-menus',
'write-blog',
),
'wordpress-alt',
'wordpress',
'yes'

);

More social icons

Since I'm a horrible designer, I'll only suggest to add new social icons, for example:

  1. Instagram;
  2. Like button (Facebook);
  3. LinkedIn;
  4. Vk

Thanks,
Yeltsin

Animal(s)

From: https://core.trac.wordpress.org/ticket/34137

For animal shelter, dog groomer sites: I could really use a generic dog icon or just a pawprint. I can imagine that requests from other folks for cat, horse, cow, pig, chicken could follow, so I'm not sure how far you'd want to go with this. ;)

Add Code Icon

Would love to see a code icon in Dashicons. I've seen a simple </> used in a lot of other icon fonts.

Thoughts?

Mobile icon

Hello,

Could you guys please create an icon for cellular or mobile?

Thanks in advance!

Instagram

Please create icon instagram.
Thanks for future

Doesn't Validate

The Base64 string is causing the styles for this to not validate. Can you provided a version that includes a file in place of the Base64 string? Looks like it's supposed to be the woff format, but when I tried including the .woff file instead of the Base64 string, the fonts stopped working consistently in Internet Explorer.

Thanks.

New dashicon for videogames

Hello,

I would like to have a new dashicon for videogames. Something with a gamepad for example.
I will use it for my custom post type.

Thanks in advance!

Add a Google+ icon

There are currently two icons for Facebook and two icons for Twitter. But sadly none for Google+.

Would be nice to have one. Thanks!

Could we please have a Print/Printer icon?

Thank you so much for dashicons for WordPress. Could someone be kind enough to create a Print/Printer icon? Yes, that very humble icon. We still need those basic icons. Cheers and thanks in advance.

Varnish Icon

I had a Varnish icon made, there will be an alternative too with body but I think this looks best. It is svg in zip format to please github.
varnish vector.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.