Re: [webdesign-396] Wordpress

From: Darlene
Sent on: Friday, December 10, 2010 12:52 PM
Hello,

Yes, I have a print portfolio and I can also send sample designs in pdf format.

Let me know if you'd like to see some of my designs.

Thanks!
 
Darlene Craven
Graphic Designer
[masked]
[address removed]



From: Gaurav Narain Saxena <[address removed]>
To: [address removed]
Sent: Fri, December 10,[masked]:44:44 PM
Subject: Re: [webdesign-396] Wordpress

Do you have a portfolio by any chance ?

On Fri, Dec 10, 2010 at 7:24 AM, Darlene <[address removed]> wrote:
Hello everyone,

I've been recently laid-off  and I'm doing some networking. If anyone hears about a job for a Graphic Designer, please let me know.

It's pretty tough out there and I'm finding out that I cannot compete with these youngsters who have just graduated and live in their parents' basements and willing to work for Ten Bucks an hour!

Thanks!
 
Darlene Craven
Graphic Designer
[masked]
[address removed]



From: Aoirthoir An Broc <[address removed]>
To: [address removed]
Sent: Fri, December 10,[masked]:03:57 AM
Subject: Re: [webdesign-396] Wordpress

Your student site is set up, with WP running, zvn running, db all backed up, wordpress set up as multisite. I will fill you in tomorrow about how to use it.

On Thu, Dec 9, 2010 at 11:22 PM, Aoirthoir An Broc <[address removed]> wrote:
Pam,

When you come in tomorrow I will set you up your student space. I no longer support MAMP, WAMP, XAMP, LAMP or any self installs on user machines. The site I set up is known working to me and any problems are easy for me to debug. Supporting self installs got to be just too much work as everyone has different settings on their machines and so if some code, plugin, php app or so on doesnt work it leaves me having to guess whether it is the app or db itself, or the machine's settings.

Fatal error: Call to undefined function wp_social_buttons() in /home/content/96/[masked]/html/wp-content/themes/arch4/header.php on line 41

The issue you are having there is in your theme itself. If you edit the header.php file and go to line 41 you should see it is trying to call wp_social_buttons() function. You seem to be using one of the arch4 themes, unless that is a theme you created? If you created it, why are you calling wp_socialbuttons? If it is a theme you got somewhere else, then why are THEY calling it? If you look at the theme's instructions they might have told you to install and activate a particular plugin.

The plugin that has the function wp_social_buttons must be activated in your plugins, or the function wp_soclal_plugins must exist in the functions.php of your theme. Frankly I am concerned about a function that is using wp_ as its namespace. That is bad bad bad practice, and not in the good bad Michael Jackson "I'm bad" way. 

Can you email links to the theme, and all the plugins you are using? If you want to keep them off of the mailing list for contractual or other reasons, you can email them directly to me [address removed]. If you do this make sure that you put PRIVATE in the subject so that it does not have the same subject line as this email, or Google might group the entire damned thing together and my reply might go to the group.

Kind Regards,
Aoirthoir Drinlker of the Coke and Mountain Dew and thus the Grower of the Fatter.

On Thu, Dec 9, 2010 at 11:01 PM, Pam Adams <[address removed]> wrote:
Hi All,
I just installed MAMP and Wordpress, the plugins, the template I purchased and the files that came with it. I have run int the same problem, so I guess I can't blame it on Godaddy.

Fatal error: Call to undefined function wp_social_buttons() in /home/content/96/[masked]/html/wp-content/themes/arch4/header.php on line 41

I deactivated all the plugins to see if one of them was crashing this theme, but nothing changed. I can't access the htaccess file to hang permissions bc/se it is invisible. Might this be the problem?
Pam


On Dec 9, 2010, at 10:10 PM, Ronald Finnerty wrote:

Aoirthoir, Pam ect..
 
Can just anyone drop by to see this expedition into wordpress.???
I would like to see this figured /explained a bit.
that is.....IF (!mind){
"I come see coding"
ELSE ( !I come) "i stay home confused";
}
and (!write bad code);
ron


From: Aoirthoir An Broc <[address removed]>
To: [address removed]
Sent: Thu, December 9,[masked]:18:01 PM
Subject: Re: [webdesign-396] Co-working

I want to add a special caveat though. I HATE HATE HATE negative IF statements. So what you saw was the typical wordpress way. I do my code like this:

<?php
  IF(function_exists('dynamic_sidebar') AND dynamic_sidebar('MY SIDEBAR NAME')):
    next_sentence();
  ELSE:
    //whatever html I would display if the sidebar did not exist...
  ENDIF;
?>

next_sentence is a php function I wrote which mimics the COBOL reserved words NEXT SENTENCE. next_sentence is just a function that does nothing. But it is better than a comment which might be removed by another programmer down the line. It tells me that I didn't accidentally forget to put something after the IF and that I intended it just to prevent having to do a negative IF statement. Negative IF statements can cause a lot of confusion with some people especially when you get into code like:

IF( !user_not_validated()):.....
So we're saying in that case...a double not? a double negative..and did the programmer mean..

IF( user_validated)): ... 
if so...why not just say user_validated? 

In any case I don't like negative IF statements, and insist on positive ones whenever I can. If that means I have an "empty" if and only have code in the ELSE, at least my code and intent is far more readable and will be for fifty years to come.

Also I NEVER EVER allow the use of braces, except when they are the ONLY ALLOWED option, as in CLASS() { } and FUNCTION() {  } and DO {  }WHILE condition;. otherwise you end up with a bunch of braces within each other and the code requires thinking to understand...

IF(condition){
  WHILE(other condition){
    SWITCH(something else){
      case 'one':
      case 'two':
      default:
    }
  }
}
 
Is much less readable than:
 
IF(condition){
  WHILE(other condition){
    SWITCH(something else){
      case 'one':
      case 'two':
      default:
    ENDSWITCH;
  ENDWHILE;
ENDIF;

In the case of a couple of levels of heirarchy it's not that big a deal. But if you have a few, well it becomes unreadable. Or worse when someone ends ALL their groupings with braces on the same line like this:

IF(condition){
  WHILE(other condition){
    SWITCH(something else){
      case 'one':
      case 'two':
      default:
}}}
  
Um, Thanks mister fancy schmancy save yourself three keystrokes worth of typing but give me headaches for years to come while I try to decipher your code....

And the only people who get a pass on this type of coding are the WordPress bastards because at least the way we hook into their stuff is FAR SUPERIOR than other ways. :D

/rant.


On Thu, Dec 9, 2010 at 6:02 PM, Aoirthoir An Broc <[address removed]> wrote:
>
> This is a two step process. 
> First, anywhere in your theme code (header.php, sidebar.php, index.php, footer.php etc) that you want a widget add the following code:
>   <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('YOUR SIDEBAR NAME') ): ?>
>     in here place any html or content that you want if there is no widget placed in that sidebar...
>   <?php endif; ?>
> Then in your functions.php you need the following code:
> If ( function_exists('register_sidebar')) :
>   register_sidebar( array(
>     'name' => 'YOUR SIDEBAR NAME'));
> endif;
> You can add other things to it as well like 'before_widget', 'after_widget' etc. 
> note: YOUR SIDEBAR NAME is a custom name, ANY name of your choosing. It is just that they MUST MATCH in both places in the code.
> More info can be found in the wordpress codex at:
> http://codex.wordpress.org/Function_Reference/register_sidebar
> and
> http://codex.wordpress.org/Function_Reference/dynamic_sidebar
> Once you have done the code listed above in the right places, you will be able to go to the widgets area of the dashboard and you will see your new widget areas. Just slide any widget to that area and it will appear in the proper place in your code. 
>
>
> On Thu, Dec 9, 2010 at 5:41 PM, Pam Adams <[address removed]> wrote:
>>
>> Here's a big question I have about Wordpress widgets...How can you make it so that certain widgets show up on certain pages of the site?
>> Pam
>> On Dec 9, 2010, at 4:23 PM, Heidi Cool wrote:
>>
>> Pam,
>> GoDaddy is a pain, but you should still be able to FTP to your WordPress directory to update your CSS file. (under wp-content>themes>yourtheme)
>>
>> You mentioned child themes which makes me think you may be working with a theme framework such as Thesis or even Twenty-Ten. If that is the case, it won't be quite as simple as with a more vanilla theme. You may need to spend some time getting to know hooks and functions.php (the one in your theme file not in the main directory.) These types of themes rely on function calls far more than others. Thesis for example is very easy for end users but is more difficult for developers to customize.
>>
>> http://codex.wordpress.org/Child_Themes
>>
>> If that is not the trouble you may find it helpful to peruse
>> http://www.heidicool.com/samplewordpress/the-wordpress-loop/
>> and
>> http://www.heidicool.com/samplewordpress/hierarchy/
>>
>> which will help you understand more about the WordPress loop and the template hierarchy.
>>
>> Good luck!
>> - Heidi
>>
>> Heidi Adams Cool
>>
>> http://www.heidicool.com/blog/
>> http://www.linkedin.com/in/heidicool
>> http://www.facebook.com/heidicool
>> Twitter: @hacool
>>
>> On Thu, Dec 9, 2010 at 3:58 PM, Marc <[address removed]> wrote:
>>>
>>> Ohhhhhhh Go Daddy....Pam I struggled with Go Daddy for 2 weeks and threw in the towel. I went to dream host and am using the wordpress through that....Save yourself a lot of stress, call go daddy and cancel you web hosting through them, get some money back...
>>> Check with Aoirthoir..
>>>
>>> ________________________________
>>> From: Pam Adams <[address removed]>
>>> To: [address removed]
>>> Sent: Thu, December 9,[masked]:54:30 PM
>>> Subject: Re: [webdesign-396] Co-working
>>>
>>> I used Godaddy. I know I know, but it was all I knew at the time when I started this site back in Sept. The client JUST got me the content, so I'm stuck with Godaddy. And, of course, They installed Wordpress for me. I'll never do that again.
>>> On Dec 9, 2010, at 3:46 PM, Aoirthoir An Broc wrote:
>>>
>>> I have co-working every day, just about seven days a week. I would need to know the time.
>>> Also what host did you install WordPress on and how did you install it?
>>> Kind Regards,
>>> Aoirthoir The Fatman.
>>>
>>> On Thu, Dec 9, 2010 at 3:23 PM, Pam Adams <[address removed]> wrote:
>>>>
>>>> Aoirthoir,
>>>>
>>>> I'm having a devil of a time with this wordpress site. I was under the impression that this was easier to customize than Joomla, but after going to Lynda.com for some tutorials���talking about child templates���this is NOT going well. I am a designer and was able to go into Joomla and customize the css with little problem. Do you have co-working tomorrow? If so, may I come there and work and ask you some questions about this site?
>>>>
>>>> Thx, Pam Adams
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
>>>> http://cleveland-webmeetup.the396.com/
>>>> This message was sent by Pam Adams ([address removed]) from Cleveland Web Design and Development Meetup.
>>>> To learn more about Pam Adams, visit his/her member profile: http://cleveland-webmeetup.the396.com/members/12723738/
>>>> To unsubscribe or to update your mailing list settings, click here: http://cleveland-webmeetup.the396.com/settings/
>>>> Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]
>>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
>>> This message was sent by Aoirthoir An Broc ([address removed]) from Cleveland Web Design and Development Meetup.
>>> To learn more about Aoirthoir An Broc, visit his/her member profile
>>> To unsubscribe or to update your mailing list settings, click here
>>>
>>> Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]
>>>
>>>
>>>
>>>
>>> --
>>> Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
>>> This message was sent by Pam Adams ([address removed]) from Cleveland Web Design and Development Meetup.
>>> To learn more about Pam Adams, visit his/her member profile
>>> To unsubscribe or to update your mailing list settings, click here
>>>
>>> Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]
>>>
>>>
>>>
>>>
>>> --
>>> Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
>>> This message was sent by Marc ([address removed]) from Cleveland Web Design and Development Meetup.
>>> To learn more about Marc, visit his/her member profile
>>> To unsubscribe or to update your mailing list settings, click here
>>>
>>> Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]
>>
>>
>>
>>
>> --
>> Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
>> This message was sent by Heidi Cool ([address removed]) from Cleveland Web Design and Development Meetup.
>> To learn more about Heidi Cool, visit his/her member profile
>> To unsubscribe or to update your mailing list settings, click here
>>
>> Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]
>>
>>
>>
>>
>> --
>> Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
>> This message was sent by Pam Adams ([address removed]) from Cleveland Web Design and Development Meetup.
>> To learn more about Pam Adams, visit his/her member profile
>> To unsubscribe or to update your mailing list settings, click here
>>
>> Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Aoirthoir An Broc ([address removed]) from Cleveland Web Design and Development Meetup.
To learn more about Aoirthoir An Broc, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Ronald Finnerty ([address removed]) from Cleveland Web Design and Development Meetup.
To learn more about Ronald Finnerty, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Pam Adams ([address removed]) from Cleveland Web Design and Development Meetup.
To learn more about Pam Adams, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Aoirthoir An Broc ([address removed]) from Cleveland Web Design and Development Meetup.
To learn more about Aoirthoir An Broc, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Aoirthoir An Broc ([address removed]) from Cleveland Web Design and Development Meetup.
To learn more about Aoirthoir An Broc, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Darlene ([address removed]) from Cleveland Web Design and Development Meetup.
To learn more about Darlene, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]



--
G
Call: (330)[masked] 
Tweet: gsvolt
Skype: gaurav.narain.saxena






--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Gaurav Narain Saxena ([address removed]) from Cleveland Web Design and Development Meetup.
To learn more about Gaurav Narain Saxena, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]

Our Sponsors

  • The396.com

    The396.com sponsors free classes for our meetup.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy