Forum Replies Created
Thank you Mahesh,
This last bit of CSS code seems to have worked to remove the sidebar on the single gallery pages and the lightbox is working correctly. I appreciate your help getting these items resolved. I will renew my subscription for the next year now that the theme is working correctly.
So you’re telling me that I need to spend $44 to purchase the new version of the theme with no guarantee that it is going to solve the issue? That does not seem like good customer service. I am not going to spend that money with no guarantee that it will work. Sorry…but the original theme did not work correctly from the very beginning, so I don’t have any confidence that the new theme will work either.
I have tried to download a fresh version of the theme, but when I go to my account, there are no downloads available. The parent theme is currently installed and neither the lightbox nor the sidebar are working correctly. Please check the link to see the issue.
I have tried activating the twenty sixteen theme with all plugins activated and the lightbox works fine. Then when I activate the parent theme with all plugins except for the gallery deactivated, the light box does not work. That’s how I figured out that the issue must somehow be with the theme. I don’t recall making any changes to the theme files. Immediately after installing the parent theme, I made a child theme and I have been working in the child theme ever since. We have had the issue with the sidebar displaying at the bottom of the page since the very beginning using this theme, but the lightbox had been working until now. Do you have a fresh install of the parent theme that I could try to see if there might be an issue with the parent theme files? I tried to install an update, but I could not find one available.
I activated the parent theme and the lightbox still does not work. When the parent theme is activated the sidebar (which I do not want at all) displays beneath the photo gallery and the lightbox does not work. See the following link: http://bayoucityflyersrc.com/gallery/dsma-powered-rc-area/. I have left the parent theme activated so you can see the problem.
I activated the parent theme and the lightbox still does not work. I currently have the site set to the parent theme so that you can check what the problem might be. Please let me know what you can figure out. Here’s the link: http://bayoucityflyersrc.com/gallery/dsma-powered-rc-area/
When we first created the site, there were some issues with the plugin and theme not working well together. Someone, I can’t remember if it was the theme developer or the plugin developer sent me a couple of files to place in my child theme folder. I’m not sure if they need to be updated or something…they are for gallery-single-template.php and gallery-template.php.
Here is the link to my site so that you can see what is happening.
The issues that we originally had were with the sidebar being displayed on the gallery pages. If I told it I wanted the sidebar it put it in the correct place, but if I told it I did not want the sidebar it put it at the bottom of the page. I’m pretty sure we decided that it was an issue with the theme, because I have used that plugin on several sites and never had an issue with it. I do not want to use any sidebars on the gallery pages.
Thank you for your quick response. I have copied the above code into a new index.php file in my child theme folder. I have a page titled Tips and Tricks and it is set as a blog template. I changed the category_name to ‘tips-tricks’
which is the slug for my tips and tricks category.
$blog_query = new WP_Query( array(
‘post_type’ => ‘post’,
‘paged’ => $paged ,
‘category_name’ => ‘tips-tricks’
However, all of the blog categories are still showing up on my Tips and Tricks page. Here is a link to the page: http://bayoucityflyersrc.com/tips-and-tricks/.
Can you help me figure out what I might have done wrong?
The plugin developer was able to resolve the issue. Thank you so much for your willingness to help.
OK. Thanks. I’ll ask the plugin developer if he can create a layout option for the individual gallery pages.
Unfortunately your solution doesn’t work, because the plugin/theme combination doesn’t give me an option to choose the sidebar for the individual gallery pages only for the main gallery page. I will contact the plugin developer and see if he can add that option to the individual galleries. However, I still think this is a theme related issue because I have used this same photo gallery plugin on several other sites using other themes and I have not experienced this issue.
I have an update.
It appears that even though I get an error message when I try to change the default layout, it still makes and saves the change.
However, this option did not solve my problem.
When I set the main layout to no sidebar as a default, that worked to remove the sidebar from the photo gallery. However, I need a sidebar on some of the other pages of my site and setting the default to no sidebar caused those critical sidebars to disappear. So, I am back to the same issue that I can’t remove the sidebars from my individual photo galleries. I need to have the default layout set to “Right Sidebar” in the theme. Both plugin developers have said that this is a theme issue. I have used the photo gallery plugin on several other sites and not had this problem, so I believe that this is a theme issue.
Do you have any other suggestions for turning off the sidebars on my photo gallery pages.
One more thing. I have the sidebar options on the main gallery page set to No Sidebar, Full Width. But on the individual gallery pages (which is where the problem is), there is no option to set a sidebar or turn a sidebar off. I know that’s probably something that the plugin developer would have to add, but since I have completely removed the php code that gets a sidebar from the plugin, it seems that the plugin should not be appearing in that plugin at all.
Thanks for your response. I have resolved the issue with the Adverts plugin. I found a workaround that will do for the near future.
If I change the layout option in the Theme Options will that remove the sidebar from all of my pages? I want to keep the sidebars on all of my pages except for the photo gallery pages.
I tried to change the Layout Options to something other than Right Sidebar and I get this error:
Notice: Undefined variable: sanitize_text_field in /home/bayoucit/public_html/bayoucityflyersrc.com/wp-content/themes/catch-evolution-pro/inc/panel/theme-options.php on line 2050 Warning: Cannot modify header information - headers already sent by (output started at /home/bayoucit/public_html/bayoucityflyersrc.com/wp-content/themes/catch-evolution-pro/inc/panel/theme-options.php:2050) in /home/bayoucit/public_html/bayoucityflyersrc.com/wp-includes/pluggable.php on line 1207