jamCincinnati
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Capture info from click on an image linkThanks for the reply Andrew.
The main reason I am looking for a way to capture that information is so I have more control over what the user sees when clicking the image.
The way it is now is that They get a black screen with a larger version of the image. There is no return button so they have to click they back button on their browser.
What I hope to do is show some text about the work and a link to be able to purchase. Also I would like to be able to specify the size of the image they are viewing.
I am going to be set up through my bank to make the purchase connection so that is already taken care of.
Forum: Fixing WordPress
In reply to: Adding Sidebar Textbox to Widget PageSamuel Elh, thanks for the tip!
The article I got the code from says nothing about including the “id”. But when I included it in the functions file, three sidebars show up on the widget page ready to be filled with content.
Forum: Fixing WordPress
In reply to: PHP if statement not workingMark, Stephen, thanks for the help.
The statement works but not quite the way I expected.
The blog sidebar shows up on all pages, not just the blog. After fooling with it for a day and a half I was just sitting staring at the code on the screen and listening to music (Nightwish, Wishmaster album) when I realized the blog sidebar is called from index.php and on the other pages it is called by page.php. DUH!
No wonder half of my hair ends up on the floor when I try code this.
Thanks again!
Forum: Fixing WordPress
In reply to: Sidebar space when no sidebar is presentAfter I posted I remembered a theme where PHP if statements were used to determine how pages were shaped. I was thinking that if the CSS is set to a wider page in style.css I can make an exception for the blog – since the only place I need to make space for the sidebar is on the blog page. The CSS file would include a note as to the existence and location of the exception. My only reservation is that the if statement would have to use an inline style.
<?php if (is_page('blog')): ?> { inline CSS to shrink content div to 70% } ?>It will have to wait till tomorrow though, it’s late and I’m falling asleep at the keyboard.
ps Couldn’t live without Firebug!!!!! 😉
Forum: Fixing WordPress
In reply to: Sidebar space when no sidebar is presentIf I change the CSS don’t I need to be able to tell if the page is a blog post (where I want the sidebar to appear) or a static page containing artwork (where I don’t want the sidebar space to appear).
(And I have been using Firebug. How did people ever troubleshoot webpages before it came along?)
Forum: Fixing WordPress
In reply to: Cannot set featured image in WPFolioHello Calvin,
After playing around with the posts for a couple of days I have got an image to show up. It seems that a category must be set before the image shows up.
One of the problems I am having is that I am using a tutorial from an earlier version of WPFolio. Everything is the same but different so to speak. And all changes I have been making are being made to a child theme.
I was not aware that WPFolio is outdated. It was recommended by several artists as a good theme for an online gallery.
Also, I looked at your code from gist.github.com but as a relative newbie to WordPress and php, I had a hard time figuring out exactly what is going on.
Other than that things are going well. How’s things with you?
Forum: Fixing WordPress
In reply to: Trying to build header with clickable imageFound a past post and added the link but the image does not appear. Plus including the ‘alt’ tag causes the text to appear in the header div instead of on a mouseover.
Here is the code I am using:
<a href="http://www.mydesignbook.net/artist_site"><img src="images/titleScript.jpg" alt="Cincinnati Artist" width="900 px" height="69 px" />Test site: http://www.mydesignbook.net/artist_site