• Home
  • About
  • Contact
  • Advertise

Devlounge

Design, Develop, and Grow

ateşli sevgilisi fantezisini yaşamak istediğini söyler porno ona arkadaşları varken onunla gizli saklı seks yapmak istediğini sikiş söyleyen kız hafta sonu için gelen arkadaşının görmediği bir sikiş açıdan sakso çekmeye başlayınca adamın yarağını bu altyazılı porno şekilde indiremez ve açık şekilde salonda sikişimeye sex izle başladıklarında misafir kızı da bu sekslerine rokettube konuk ederler seks yapacağını düşünmeyerek onun sex izle oyun oynadığını zanneder sabah olur ve herkes uyanır hd porno bu sırada yanında şişme mankenini de getiren sapık erotik hikayeler genç sınav haftası ders çalışan genç adam üvey annesinin sikiş eve gelmesiyle hayatının şokunu yaşar

  • Home
  • Code
  • Design
  • Design Focus
  • Interviews
  • Publishing
  • Strategy
  • Webapps
  • Extras

The Only 3 Things You Need to Get Started with Your Blog

November 26, 2013 By Devlounge

One would think that everyone knows all about blogging these days. After all, it seems that everyone and their mom has his own blog! Even grandparents are occupying the blogosphere. You might be surprised, though, that there are still people who are new to blogging and can use a quick and easy guide to starting a blog.
get-started-today

Source

If you can relate, or you know someone who might need the right push, then you’re in the right place. There are many factors that come into play, of course, but if all you need is a barebones guide just to get started, here are the only 3 things you need to know. [Read more…]

6 WordPress Themes for iPhone Apps

June 30, 2011 By Hyde

Recently I had to go through the WordPress themes for iPhone apps for a client. Surprisingly there aren’t many available and not all are really great. The best is always to have a theme designed specially for your app, but time and budget can play you parts.

Not everyone has a big budget to develop an iPhone app, let alone have a WordPress theme designed for your apps website. In this case your best options are premium themes, but beware! If you plan to invest in a theme, make sure the website you are buying from offers; documentation, support which mostly comes in form of a users forum and check the money back policy.

The better themes comes with PSD files that make it easier to adjust the theme more to your app style guide. It also help as a visual guide to double check if the theme displays in the browser as it should be compared to the PSD.

I listed the six most notable themes out there, they are all premium, ranging from $175 to $10. My preference goes to Apz, due that it supports certain key plug-ins, has a user forum and WooThemes offers a complete demo with admin login.

Apz

WordPress Themes iPhone Apps

Fone

WordPress Themes iPhone Apps

iPhone App

WordPress Themes iPhone Apps

AppifyWP

WordPress Themes iPhone Apps

my Application

WordPress Themes iPhone Apps

AppCloud

WordPress Themes iPhone Apps

Tumblr Themes Grey and White Edition

March 31, 2011 By Hyde

Following Mondays post on WordPress Themes White Edition, there is today, Tumblr Themes Grey and White Edition.

Even though Tumblr is still struggling with down time, the service popularity hasn’t decreased a bit. With the enormous offer of themes available, it’s hard to make your Tumblr look like MySpace. But not everyone has a good taste, so I often come across ugly Tumblr sites. To have a site with an ugly theme borders on a crime considering all the high quality free themes.

[Read more…]

7 Very Handy Shortcodes for WordPress

August 12, 2010 By Hyde

One of WordPress greatest feature since version 2.5 is shortcodes. All themes comes with a function.php file. You just have to put the shortcodes in your themes function.php and you can start using them.

Shortcodes are handy for features you want to use in your posts but not in all of them. Plug-ins usually are standard applied on all your posts. With shortcodes you get to be selective and it saves some typing.

I listed 7 plus shortcodes that comes in handy in your daily or not so daily posting routine. The last shortcode, StumbleUpon, is provided by me. A very simple shortcode that can be easily modified for use with other social media links.

Display Google Ad Sense anywhere in your posts

[php]
function showads() {
return ‘

‘;
}

add_shortcode(‘adsense’, ‘showads’);
[/php]

[php][adsense][/php]

Replace the Javascript with your own Google Ad Sense Javascript.

Source

Show Members Only Content

Visitors

[php]
add_shortcode( ‘visitor’, ‘visitor_check_shortcode’ );

function visitor_check_shortcode( $atts, $content = null ) {
if ( ( !is_user_logged_in() && !is_null( $content ) ) || is_feed() )
return $content;
return ”;
}
[/php]

[php]

[visitor]

Some content for the people just browsing your site.

[/visitor]

[/php]

Members

[php]

add_shortcode( ‘member’, ‘member_check_shortcode’ );

function member_check_shortcode( $atts, $content = null ) {
if ( is_user_logged_in() && !is_null( $content ) && !is_feed() )
return $content;
return ”;
}

[/php]

[php]

[member]

This is members-only content.

[/member]

[/php]

Source

Add private notes to your WordPress blog posts

[php]

add_shortcode( ‘note’, ‘sc_note’ );

function sc_note( $atts, $content = null ) {
if ( current_user_can( ‘publish_posts’ ) )
return ‘

‘.$content.’

‘;
return ”;
}

[/php]

[php]

[note]
This is a personal note that only admins can see!
[/note]

[/php]

Notes will be displayed in
[html]

[/html]

making it easier to style them in your stylesheet. Off course you can change the HTML in function sc_note to your own liking.

Source

Protect an email address from spam

*Not 100% foolproof

[php]

function munge_mail_shortcode( $atts , $content=null ) {

for ($i = 0; $i < strlen($content); $i++) $encodedmail .= "&#" . ord($content[$i]) . ';'; return '‘.$encodedmail.’‘;

}
add_shortcode(‘mailto’, ‘munge_mail_shortcode’);

[/php]

[php]

[mailto][email protected][/mailto]

[/php]

Mail is shown as &#101;&#109;&#97;&#105;&#108;&#64;&#101;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;
in the source.

Source

Display a Flickr badge in your posts

*Requieres PHP5

[php]

function flickr_badge_shortcode($atts){

//Here’s our defaults
$query_atts = shortcode_atts(array(‘count’ => ‘6’, ‘display’ => ‘latest’, ‘source’ => ‘user’, ‘size’ => ‘t’, ‘user’ => ”, ‘layout’ => ‘x’, ‘tag’ => ”, ‘group’ => ”, ‘set’ => ”), $atts);

return sprintf(‘

‘, http_build_query($query_atts));
}

add_shortcode(‘flickrbadge’, ‘flickr_badge_shortcode’);

[/php]

[php]

[flickrbadge count=”4″ layout=”h” display=”latest” size=”t” source=”all_tag” tag=”fish”]

[/php]

Source

Display your own Flickrbadge

[php]

$flickr = ‘

‘;

return $flickr;
}

add_shortcode(‘latestflickr’, ‘flickr_badge_shortcode’);

[/php]

Change the parameters in the Javascript; count=6&display=latest&size=s&layout=h&source=user&user=xxxxxx or use the Flickr Badge generator and choose HTML badge.

[php]

[latestflickr]

[/php]

Dynamic permalinks

The advantage of using a ‘dynamic’ permalink is that you are not using a relative link to other page or posts. This way of you change the title of a post or page later on the links will still work as they are dependent on the id not on the slug.

[php]

function permalink_thingy($atts) {
extract(shortcode_atts(array(
‘id’ => 1,
‘text’ => “” // default value if none supplied
), $atts));

if ($text) {
$url = get_permalink($id);
return “$text“;
} else {
return get_permalink($id);
}
}
add_shortcode(‘permalink’, ‘permalink_thingy’);

[/php]

[php]

Using without providing text

[/php]

Source

Add Stumble or other social media buttons

[php]

function stumble_shortcode( $atts ) {

$stumble = ‘

‘;

return $stumble;
}

add_shortcode(‘stumble’, ‘stumble_shortcode’);

[/php]

[php]

[stumble]

[/php]

Using this shortcode example of StumbleUpon you can create your own buttons for different social media such as Reddit, Facebook, Delicious, etc.

This is very handy if you do not want to use a social media plugin that automatically adds buttons to all your posts. If you rather be selective with promoting your content using different social media per post then this shortcode is the solution.

How To Add Support For Menus In Your WordPress Theme

June 21, 2010 By Lorraine

Are you running WordPress 3.0 yet? If so, you might have come across a nifty little addition called Menus. You’ll find it on your admin Dashboard in the Appearances section, and here’s a little screenshot of how it looks:

As you can see, I’ve set up a new menu named “Lorraine Menu” here, and added various things to it by selecting from the elements on the left side of the page: a link to Devlounge, links to some pages, and so forth.

Also of note is the message beneath Theme Locations that states:

The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar.

So how do I make sure my theme supports these new menus? There are two methods:

The Easy Way: Widgets

If your theme is already widgetized, you probably don’t have to do anything- especially if the menu is meant to go in the sidebar. A user simply needs to add a “Custom Menu” widget from the Widgets screen. If your design includes navigation elsewhere, just add another widgetized area in your functions.php and specific theme template (header.php or sidebar.php, for example).

The More Complicated Method: Native Support

I suspect that most WordPress theme authors will want to add native support for menus in their themes, though- and it’s really not that hard. Here’s how to do it:

Register Menu Locations. The first thing you want to do is add this code to your functions.php file. Let’s set up 2 locations for menus, making sure to replace the “menu-name” texts with your own.:
[php]
add_action( ‘init’, ‘register_my_menus’ );

function register_my_menus() {
register_nav_menus(
array(
‘menu-1’ => __( ‘Menu 1’ ),
‘menu-2’ => __( ‘Menu 2’ )
)
);
}
[/php]

Call Menus from Theme Templates. To specify where you want these locations to be in your theme templates, use this:
[php]
‘menu-1’ ) ); ?>
[/php]
and
[php]
‘menu-2’ ) ); ?>
[/php]

You can learn more about wp_nav_menu and the parameters it supports at the Codex.

And that’s it! It shouldn’t take more than ten minutes- more with styling, of course- to update your existing WordPress themes to natively support 3.0’s Menus feature.

Next Page »

Code & Tutorials

Which Front-End Development Languages Will Grow in 2017?

Your Guide to Leveraging APIs as a Developer

Bitcoin Processing Website Integration For Web Developers

Website Security For 2016 That All Developers Need To Know

5 Reasons You Need to Be Using jQuery

About Devlounge

Want to read more about Devlounge, or maybe you want to contact us, or even advertise? Oh, and don't forget to subscribe to updates!

The Best of Devlounge

5 Reasons To Reconsider Hiring A Web Designer

Search