Sub-menu-indicator

Add a Drop Down Indicator to Claydell Media

Sub-menu-indicator-small

Place this code,

wp_nav_menu( array( 'walker' => new Claydell_Media_Page_Navigation_Walker ) );

in the header.php file just below this code,

wp_nav_menu( array( 'theme_location' => 'primary' ) );

The Walker Function

Add the code below to the functions.php file.

/**
* Add a drop down sub-menu indicator with Walker_Nav_Menu.
*/

class Claydell_Media_Page_Navigation_Walker extends Walker_Nav_Menu {
	function display_element( $element, &$children_elements, $max_depth, $depth=0, $args, &$output ) {
		$id_field = $this->db_fields['id'];
		if ( !empty( $children_elements[ $element->$id_field ] ) ) {
			$element->classes[] = 'claydell-media-menu-item-parent';
		}
		Walker_Nav_Menu::display_element( $element, $children_elements, $max_depth, $depth, $args, $output );
	}
}

Styling the Walker Sub-menu Indicator

Put this in the style.css file.

/* Walker Sub-menu Indicator */

.main-navigation .menu-item-has-children > a:after,
.main-navigation .page_item_has_children > a:after{
    content: url(images/darr.png);
	padding-left: 0.3125em;
	position: relative;
    top: -0.125em;
    vertical-align: 0;
}
.main-navigation ul ul .menu-item-has-children > a:after,
	.main-navigation ul ul .page_item_has_children > a:after {
    content: url(images/rarr.png);
	padding-left: 0.3125em;
}

Additional Resources for fundamental code explanation

Drop Down Menu Indicator: http://wptheming.com/2013/03/drop-down-menu-indicator/.

Adding a sub-menu indicator to parent menu items: http://kwight.ca/2012/04/23/adding-a-sub-menu-indicator-to-parent-menu-items/.

Class Reference/Walker: http://codex.wordpress.org/Class_Reference/Walker.

ruthpackham-site

Ruth Packham

ruth Packham

Ruth Packham studied Fine Art at Newcastle upon Tyne Polytechnic between 1989 and 1992. Ruth lives in Wales, by the sea in a small windy village called Borth with her two children, Freya and Isaac, her partner Ben and two cats, Shed and Pebble. There is a studio just outside her house where she can shut herself away and get on with work.

Ruth Packham’s work is mostly textile based, she has been screen printing textiles for a number of years now on a very small-scale and low tech basis. Ruth loves the patterns in nature and her large-scale screen prints tend to be bold and colourful, inspired by flowers and plants. Ruth also teaches screen printing from her studio and does outreach workshops with schools and other groups.

Visit Ruth Packham’s Website

align-right

Align Post Description Right

Hi Jamie, Nice theme – I’m in the process of using your template to build my site, and am wanting to move my sub-heading to be left-aligned rather than right aligned, but can’t figure out how to – could you let me know? Also, which twitter plug-in are you using? Many thanks. Richard.

Before you get started take a look at Why use a Child Theme?
Answer:

Find


.site-description
{
text-align: center;
}

Change to


.site-description
{
text-align: right;
}

For Twitter plugin see http://jamiethompson.com/twitter-timeline-jetpack-setup/ .

crab-orchard-sunset

God Will Fight My Battles

Do not seek revenge or hold a grudge against anyone.

Psalm 59
New International Version (NIV)

For the director of music. To the tune of “Do Not Destroy.” Of David. A miktam. When Saul had sent men to watch David’s house in order to kill him.

1 Deliver me from my enemies, O God;
be my fortress against those who are attacking me.
2 Deliver me from evildoers
and save me from those who are after my blood.

3 See how they lie in wait for me!
Fierce men conspire against me
for no offense or sin of mine, Lord.
4 I have done no wrong, yet they are ready to attack me.
Arise to help me; look on my plight!
5 You, Lord God Almighty,
you who are the God of Israel,
rouse yourself to punish all the nations;
show no mercy to wicked traitors.

6 They return at evening,
snarling like dogs,
and prowl about the city.
7 See what they spew from their mouths—
the words from their lips are sharp as swords,
and they think, “Who can hear us?”
8 But you laugh at them, Lord;
you scoff at all those nations.

9 You are my strength, I watch for you;
you, God, are my fortress,
10 my God on whom I can rely.

God will go before me
and will let me gloat over those who slander me.
11 But do not kill them, Lord our shield,
or my people will forget.
In your might uproot them
and bring them down.
12 For the sins of their mouths,
for the words of their lips,
let them be caught in their pride.
For the curses and lies they utter,
13 consume them in your wrath,
consume them till they are no more.
Then it will be known to the ends of the earth
that God rules over Jacob.

14 They return at evening,
snarling like dogs,
and prowl about the city.
15 They wander about for food
and howl if not satisfied.
16 But I will sing of your strength,
in the morning I will sing of your love;
for you are my fortress,
my refuge in times of trouble.

17 You are my strength, I sing praise to you;
you, God, are my fortress,
my God on whom I can rely.

Amen

widget-id

Twitter Timeline (Jetpack) Setup

First login to your twitter account.
Go to https://twitter.com/settings/settings under the icon that looks like a gear.
twitter-settings

Then click on https://twitter.com/settings/widgets ‘Widgets’. You need to click the ‘Create new’ button to create a new widget.
jetpack-twitter-widget

On the admin page of your WordPress website, activate the Twitter Timeline (Jetpack) widget by dragging it to the Main Sidebar Widget Area on the right. Inside the Twitter Embedded Timeline widget you should see ‘Widget ID: ( ? )’. widget-id Enter your widget id (the long number found in the URL of your widget’s config page) in the field below ‘Widget ID: ( ? )’.

widget-id

‘Widget ID: ( ? )’ will appear in the box down on the lower right. Search the code until you find a long string of numbers labeled ‘data-widget-id=”158930088067705942″‘.

That should do it.

Devin_Price

WordPress Contributors

WordPress exists because of a generous community of creative coders, artists and many other contributors.

One of the many contributors I’ve been following is Devin Price. I’ve followed Devin for a while now and thought that I would encourage you to check out his website, http://wptheming.com. I came across Devin’s work while following the work of Ian Stewart over at http://Themeshaper.com. Devin seems to be laid-back and easy going. I like his work and he seems to be self motivated and determined to succeed at his craft. Both Devin Price and Ian Stewart are moving forward and having good success with WordPress. I wish them both the very best as they continue to bring the WordPress community helpful tutorials, themes, plug-ins and more.

Devin is the author of Options Framework. A new beta release of the Options Framework (1.7) is available at GitHub for testing. There is also a Plugin version and theme version. This release improves styling for WordPress 3.8 and also has a fairly large code refactor to move all functions into classes.

Devin is a WordPress developer based in Austin, Texas. You can follow his projects on GitHub, and follow him @devinsays on twitter.

easy-cobbler

Easy Cobbler Dessert

Easy Cobbler

  • 2 cups mixed fresh berries or frozen berries
  • 1 cup sugar, divided
  • 4 tablespoons butter or margarine melted
  • 1/2 cup self-rising flour
  • 1/3 cup 2 percent reduced-fat milk

1. Preheat oven to 350° degrees.

2. Combine berries, 1/2 cup sugar and water in a medium saucepan. cook over medium heat until sugar dissolves and berries release their juices.
remove from heat.

3. Pour melted butter into 8 (6-ounce) ramekins or a 2-quart baking dish.

4. Combine remaining sugar, flour and salt in a medium bowl.
Stir in milk until well combined. Do not over-beat. Pour over batter. Do not stir. Spoon berries and juice over batter. Do not stir.

5. Bake 15 to 20 minutes for ramekins or 35 minutes for baking dish, until crust rises to top and browns. Serves 8.

Per serving: 390 calories, 12 grams fat, 30 milligrams cholesterol, 3 grams protein, 70 grams carbohydrates, 4 grams fiber, 370 milligrams sodium.

Recipe by Nancy Vienneau.

Note: ramekin is a small glazed ceramic or glass serving bowl used for baking and serving an individual portion of food.

EddieT

Louisiana Artist Eddie Thompson

Shreveport Louisiana artist Eddie Thompson found his niche in graphic arts.

Eddie Thompson thought he knew what the future held for him.

“I was just going to graduate from high school and go to work at a local factory.”

But Thompson decided to put his God given talent to the test. “So, I went to college. I said if it didn’t work out, I could always go back to the factory.”

Thompson has freelanced for Campbell and Company, Baggett Advertising, John Martin Advertising, Smith and Associates and Ken Francis Advertising.

Thompson has won awards from Shreveport Advertising Federation.

While he remains somewhat modest about his success, Thompson said he still loves to draw as much now as he did growing up.

Visit the Thompson Graphic Design website

Need Hosting?

Why use BlueHost? One reason to use BlueHost to host your website is that BlueHost provides a program which makes it very easy to install third party scripts to your hosting account. Whether you plan to use WordPress as a Blog or a CMS website, you can use Simple Script to install WordPress to the root of your site or to a subdirectory.

Why I Recommend BlueHost.com

I use BlueHost for my websites, including this one. They have excellent customer service. I have used GoDaddy, IX Web Hosting, StartLogic and a few others.

So Why Choose BlueHost?

The only possible drawback that I see is that the Free Domain Name only comes with Qualifying Plans for One Year. However, you most likely already have your own domain name anyway.

A Few More Links To Help You Get Started: