DebsWebs
Forum Replies Created
-
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Sidebar problemHi Greg,
Here is the link to the bulletin board page on my site: https://bayoucityflyersrc.com/index.php/bulletin-board/
Id like for the individual ads to display the sidebar that is on this page, but that is where the problem has come in. The individual ads page is displaying a different sidebar. When I added the single-advert.php file to my theme, then I got the problem that you see now.
I think I might have a work around (I can create this sidebar to contain the content that I need on this page, but then I would have to recreate all of my other sidebars), but I would prefer to have the choice of which sidebar should be displayed on the individual ads page rather than it just defaulting to this one.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Sidebar problemHi Greg,
Here is what I get when I run the WP_DEBUG.
Notice: Undefined variable: post_id in /home/bayoucit/public_html/bayoucityflyersrc.com/wp-content/themes/catch-evolution-pro-child/single-advert.php on line 10Here’s what’s on line 10: <?php $images = get_children(array(‘post_parent’=>$post_id)) ?>
I actually responded to your help the day you sent it, but I think I probably replied to your email so you never received it.
Thanks for helping with this.
Hi,
Thanks for the css code. That worked great to put the sidebar on the page where it belongs instead of at the bottom, but I don’t want a sidebar at all and I can’t get rid of it.Can you help me hide it altogether on the individual gallery pages?
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Sidebar problemHi Greg,
I have an update. Actually, the sidebar issue is completely resolved and the sidebars are working perfectly now, as long as the single-advert.php file is installed. However, I now have a different issue. When I click on an ad to get the details, the ad page doesn’t appear, but all of the photos in my media library appear as full sized images in place of the ad.
When I remove the single-advert.php file, the add an add and manage adds sidebars are still good – they are the same as the main Adverts page, but the ad detail page sidebar is not.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Sidebar problemHi Greg,
Thank you for the help. I have added the single-advert.php file like you suggested in your post above. That worked great to get the correct sidebar on the individual ads. But it did not correct the problem in the add an ad and manage ads pages. Any suggestions for those two items? I love what you have done with this plugin. It is perfect and exactly what I have been looking for for quite some time.
Thanks in advance for your help.Hi,
Thank you so much for the css styling you sent to make the gallery pages full width. It works perfectly.
However, the sidebar content is still at the bottom of the gallery pages. Is there anything I can do to remove it from all of the gallery pages altogether?
Here is the link: https://bayoucityflyersrc.com/index.php/gallery/dsma-powered-rc-area/
Thanks is advance for your help with this issue.
Forum: Themes and Templates
In reply to: Need to add an image to headerTHANK YOU SO MUCH!!!! That worked. It’s perfect! You are an angel!
Forum: Themes and Templates
In reply to: Need to add an image to headergovpatel,
Thank you so much for your reply.I have uploaded my image to the imgs folder. I want to keep the patterned background and just add another image on top of it. I am trying to do that in the actual header.php file. I even tried creating a new image in photoshop with the current background and my new image placed where I wanted it. Then I changed the css to reflect the new name of the image, the new size, and no repeat. Nothing changed.
I use css files all the time when I create websites, but I can’t seem to make anything work correctly with this one.
You mentioned above that I needed to change the css to remove the scroll 0 0. There is no scroll 0 0 in my code. Instead it is this:
#header { background:#068e02 url(imgs/819.png) repeat; color:#fff; height:200px; }
Here is the code for everything that I have done. I have added a #header .img style to the style sheet and then I am calling that style from the header.php file. Here’s all the code.
Style sheet:
#header { background:#068e02 url(imgs/819.png) repeat; color:#fff; height:200px; } #header h1#title{font-family:"Times New Roman",Times,serif;font-size:40px;padding:25px 0 0 15px;text-transform:capitalize;} #header h1#title a{background-color:transparent;color:#fff;font-weight:400;text-decoration:none;} #header .description{margin-left:15px;} #header .img{margin: 20px 0 0 20px; position: absolute; z-index: 1; }
header.php:
<div id="header"> <div class="img"> <img src="imgs/aaK.jpg" width="366" height="150" alt="this is the header image"/> </div><!--img--> <h1 id="title"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <p class="description"><?php bloginfo('description'); ?></p>
The background pattern shows up, and the box and alt tag info are showing up in the header above the pattern just the way I want, but sadly no image.