Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

add logo for place/event details page in Geoplaces theme WordPress

  • SOLVED

we are using geoplaces theme and we want to be able to add a logo above contact information located in the right sidebar in the Place/event Details Page!

here is the example http://www.twincitieslist.com/2011/10/08/taqueria-la-hacienda-mercado-central-minneapolis/

Answers (4)

2011-11-15

Sébastien | French WordpressDesigner answers:

here the logo is this
[[LINK href="http://www.twincitieslist.com/wp-content/uploads/2011/10/Taqueria-La-Hacienda-Logo.png"]]http://www.twincitieslist.com/wp-content/uploads/2011/10/Taqueria-La-Hacienda-Logo.png[[/LINK]]
that's it ?


is it not simply a widget ?


clockmancy comments:

yes that it. we should be able to insert it from the post editor and appear there


Sébastien | French WordpressDesigner comments:

you can code this module in sidebar.php and use a condition like
$adress = get_post_meta($post_ID,'name_of_field',TRUE)
if($adress) { echo "<img src='your_image.jpg' >"; }


replace name_of_field by the name of the field "adress" (probably : i_location)


Sébastien | French WordpressDesigner comments:

ok, the solution is in place
the question is resolved :-)

2011-11-15

Francisco Javier Carazo Gil answers:

Hi clockmancy:

You will need to add a meta field to your post, with the URL of logo image.

Then, in sidebar.php you can place the image tag. To obtain the link you will have to use this function: [[LINK href="http://codex.wordpress.org/Function_Reference/get_post_meta"]]http://codex.wordpress.org/Function_Reference/get_post_meta[[/LINK]].

If no logo is saved, you can make a conditional to set what is show in that case.

Hope it helps.


clockmancy comments:

We would like to be able to able it from the post and for example be the featured one and appear there... can we?

2011-11-15

Luis Abarca answers:

You can add it as the post thumbnail and then call it as

On your sidebar.

echo get_post_thumbnail($post_id);


PS. Se me antojaron los tacos !

2011-11-16

ej_emman answers:

Hello clockmancy,

I think this what you really want to happen:

You said
<blockquote>yes that it. we should be able to insert it from the post editor and appear there</blockquote>

solution:
Just go to your contact information edit post page then add this to html editor. Place this where you want to put yout logo.


<img src="http://www.twincitieslist.com/wp-content/uploads/2011/10/Taqueria-La-Hacienda-Logo.png" />


Hope this helps,