…working, we can start to make it look a bit better. Create a file and name it style.css. Now add this line to the <head> section of your document:<link rel="stylesheet" href="style.css"> Step 5: Base StylesThe first thing to do would be to change the fonts and overall shape of the…
…working, we can start to make it look a bit better. Create a file and name it style.css. Now add this line to the <head> section of your document:<link rel="stylesheet" href="style.css"> Step 5: Base StylesThe first thing to do would be to change the fonts and overall shape of the…
…working with source control systems, users have varying roles of permissions.That is to say when it comes to maintaining a repository, some developers will have read-only access while others have both read and write access. And those with write access are the ones who are responsible for maintaining pull requests.Bitbucket…
…working with a 'post' post type or the user doesn't have permission to save, * then we exit the function. */ if ( ! $this->is_valid_post_type() || ! $this->user_can_save( $post_id, 'authors_commentary_nonce', 'authors_commentary_save' ) ) { return; } }Given the code above, we're telling WordPress to fire our save_post function whenever its…
…working as we expect it to. To do this we'll create a client object by calling a static createClient() method:$client = static::createClient();We can now use this $client object to make that HTTP request and begin using the Crawler.The CrawlerThe Crawler is at the core of functional testing in Symfony 2 and…
…working with meta boxes, then we can use functions that are available via the Meta Box API in order to save this information.Specifically, we're going to be working with the following functions:update_post_meta for saving information to the databasedelete_post_meta for removing information from the databaseThere is another function, add_post_meta, that is…
…working on communication between instances.Step 3: Sending and Receiving DataThe simplest example will just send information to other instances that you've just started. For example, you can display this information in the admin panel.Before we do anything, create another connection named client2. I will explain why we need it later.Let's…
…working set of definitions. To recreate this real-life scenario, we decided to go with a real dataset. We took the definition dump from Wikipedia and loaded it into Mongo. The set consisted of about 700,000 words as we imported only the English dump. Each record (or document) consists of a word, its type,…
…working with TwitterBirdcage, our basic Yii Twitter application used in this tutorial, is available to you via open source. If you’d like to learn more about Yii, check out Introduction to the Yii Framework.Part two of this series will cover: authentication with Twitter via OAuthprocessing incoming tweets in the background using…
…working on personal projects that make his everyday life easier or taking long evening walks with friends.