Jump to content


Photo
- - - - -

Widgets, Pictures


  • Please log in to reply
17 replies to this topic

#1 tim4708

tim4708

    Super Member

  • Members
  • PipPipPipPip
  • 111 posts

Posted 16 February 2011 - 04:49 PM

Hello,

How would you suggest I make the picture in ???Widgets??? -> ???Primary Sidebar??? different for my ???About??? and ???Experience??? pages?

In other words, I want to insert

Please Login or Register to see this Hidden Content

picture into my ???Experience??? page. I want to delete the picture currently displaying in my ???Experience??? page, but I want it to remain on my ???About??? page.

Website = www.business-english-editors.com

Thank you!

#2 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 16 February 2011 - 06:00 PM

I would try using the "widget-logic" plugin...If you need help with the conditional statements let us know

#3 tim4708

tim4708

    Super Member

  • Members
  • PipPipPipPip
  • 111 posts

Posted 17 February 2011 - 09:58 AM

Great!

Widget-logic has been uploaded.

Now I would like to insert

Please Login or Register to see this Hidden Content

into my "Experience" page.

Is there a tag or something that I should add under "Widgets" -> "Primary Sidebar" -> "Widget Logic"?

Thanks!

#4 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 17 February 2011 - 02:22 PM

Hi Tim - First you'll want to resize the image, which you can do in WordPress by choosing "edit". Then, it will give you a URL for the image. Simply put that in an image tag, like so: ``

#5 tim4708

tim4708

    Super Member

  • Members
  • PipPipPipPip
  • 111 posts

Posted 19 February 2011 - 11:20 AM

Hi Kate,

I was able to resize the image.

Where would you suggest I insert the image tag? Under "Widgets" -> "Primary Sidebar" -> "Widget Logic"?

The image URL is

Please Login or Register to see this Hidden Content

.

I would like it to appear

Please Login or Register to see this Hidden Content

.

Thanks!

#6 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 20 February 2011 - 05:52 PM

Hi Tim,

Yes, that would be a good place to put it. Here's the image tag you need to add:

`Caption goes here`

Replace Caption goes here with the text you want visitors to see when the image is moused over.

#7 tim4708

tim4708

    Super Member

  • Members
  • PipPipPipPip
  • 111 posts

Posted 21 February 2011 - 11:08 AM

Hi Catrina, Unfortunately, that did not work. Again, I would like to have different pictures under "About Us" and "Experience." Inserting the code as you suggested under "Widgets" -> "Primary Sidebar" -> "Widget Logic," created an error message on the "About Us" and "Experience" pages. The code you suggested relates to a different picture than the one I have already inserted under "Widgets" -> "Primary Sidebar" -> "Widget Logic." Please advise. Thank you.

#8 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 21 February 2011 - 02:33 PM

Hi Tim - If you want different pictures on different pages (in the sidebar), you'll have to use an additional plugin. Currently sidebar settings and content are global.

#9 tim4708

tim4708

    Super Member

  • Members
  • PipPipPipPip
  • 111 posts

Posted 22 February 2011 - 01:16 PM

Sounds good. Is there a plugin you would recommend?

#10 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 22 February 2011 - 05:22 PM

I actually don't think you need another plugin. You just need to use two text widgets (with pictures) and add the conditionals. See the screenshot:http://wordpress.org/extend/plugins/widget-logic/screenshots/ where it says `is_page('about')` that's what you need but with whatever your pages are named where you replace spaces with dashes.

#11 tim4708

tim4708

    Super Member

  • Members
  • PipPipPipPip
  • 111 posts

Posted 25 February 2011 - 09:04 AM

That seems like it should work. I must need to just tweak something. Under Widgets -> Primary Sidebar, I have entered two text widgets (with pictures) and added the following conditionals: is_page('about us') is_page('experience') The "Experience" page is now displaying properly. The picture on the "About Us" page is not visible. These webpages can be seen here:

Please Login or Register to see this Hidden Content

Please Login or Register to see this Hidden Content

Under the "About Us" text widget, I have inserted: Thanks for your help.

#12 tim4708

tim4708

    Super Member

  • Members
  • PipPipPipPip
  • 111 posts

Posted 25 February 2011 - 09:07 AM

Wow, that is a big picture. You're welcome.

I meant to just paste this:

Please Login or Register to see this Hidden Content



#13 tim4708

tim4708

    Super Member

  • Members
  • PipPipPipPip
  • 111 posts

Posted 25 February 2011 - 09:12 AM

He is probably happier than I am at the moment.

#14 tim4708

tim4708

    Super Member

  • Members
  • PipPipPipPip
  • 111 posts

Posted 25 February 2011 - 09:36 AM

OK, I am trying to insert: img src="Picture URL"width="448px" I wanted my post to look like Catrina's beautiful post above. I've been using the Code button. Thanks.

#15 tim4708

tim4708

    Super Member

  • Members
  • PipPipPipPip
  • 111 posts

Posted 25 February 2011 - 10:59 AM

Should I be using a different button?

#16 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 25 February 2011 - 08:37 PM

no use backticks instead to wrap code (same button as tilde on your keyboard) I'm sure the code is just missing something small

#17 tim4708

tim4708

    Super Member

  • Members
  • PipPipPipPip
  • 111 posts

Posted 27 February 2011 - 05:55 AM

after I put a hyphen between about and us as below: is_page('about us') -> 'about-us' The issue was resolved. ----- I am not sure what you meant by "no use backticks instead to wrap code...." Are you saying that I should wrap code in ` marks when I write a post in the forum? Thanks.

#18 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 27 February 2011 - 06:29 PM

Yes, that's what he was saying.