Sean Davis
Forum Replies Created
-
Great!! So it sounds like you’re all good to go now. Please feel free to open a new ticket if you run into anymore issues or have more questions. We’re happy to help.
Hi there,
I’m the author of most of the EDD themes so I should be able to help out here. My first piece of advice would be to use Vendd as an example. Though the downloads display looks a lot different from most other themes, I actually built it using the [downloads] shortcode.
The first thing to note here is that using the columns parameter in the shortcode does nothing but add classes to the HTML markup. So regardless of what the shortcode says, you are 100% in control of the column structure. That means your shortcode could be [downloads columns=”5″] and you could still write CSS to make that display as 2 columns.
What you have to do is inspect the markup to see these classes and then write selectors to override them. You can see the section where I did this in Vendd starting here: https://github.com/easydigitaldownloads/vendd/blob/master/style.css#L1435
The classes like
edd_download_columns_1,edd_download_columns_2, etc. are wrappers based on the shortcode columns value. So you can target those directly.The same has to be done for responsiveness. Of course, you’d have to build your breakpoints based on your own theme dimensions. Luckily, you don’t have any responsive styles to override because EDD’s grid layout is not intentionally responsive. You’d just need to make it responsive with your own CSS. You can see where I started to do that in Vendd here: https://github.com/easydigitaldownloads/vendd/blob/master/style.css#L3447
Basically, this can be pretty involved. There is no standard solution because it’s always going to be based on the structure of the theme around it. We have no way to predict what that would be. Let me know if that makes sense after inspecting the markup based on shortcode changes and also looking at Vendd’s CSS. Then we can go from there.
Hi there,
Unfortunately, that would not be possible without custom development. That’s not something we would support in the plugin out of the box. Sorry.
Hi Sajjad,
Sorry for the slow reply over on the main site but I’ve just replied to your ticket there. I’ll close this one and we’ll continue there. Thanks!
Forum: Fixing WordPress
In reply to: Remove Placeholder Text From WordPress Search FunctionHi there,
You should be able to do this in a couple of different ways. First of all, your theme has the ability to include a template file that specifically creates the output of the site’s default search form. I wrote about it here: http://buildwpyourself.com/wordpress-search-form-template/
If your theme does overwrite the default search form, you can override that template from a child theme and simply make an edit to the text.
—
You could also use something like the Say What? plugin, assuming the placeholder text is translation-ready. https://wordpress.org/plugins/say-what/
Once activated, you’d copy the exact placeholder text into the “Original string” field (this field is case-sensitive… copy the original text EXACTLY). The “Text domain” field would be whatever is specified by what is controlling your search form. So if your theme is in control, you’d use its text domain. You would leave the “Text context” field blank. And for the “Replacement string” field, add the new text you want to display as the placeholder.
Forum: Fixing WordPress
In reply to: Slug from deleted image conflicts with page URLLooks like this is an ongoing problem that actually should be fixed now. Plenty of results in Google talking about it: https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=wordpress%20attachment%20page%20slug
Looks like it was addressed in WordPress 4.4. I can’t verify on my own so please do make sure your WP install is updated. https://core.trac.wordpress.org/ticket/24612
I also saw this plugin. https://wordpress.org/plugins/slug4apig/ Hasn’t been updated in some time but that doesn’t mean it won’t work. So that’s worth a try.
Comb through those resources and let me know if you make any progress.
Forum: Fixing WordPress
In reply to: Strange Homepage redirecting problemThat’s strange. Temporarily deactivate every single plugin on your site and quickly test to see if you get the same behavior. You can reactivate them right after testing. Let’s see if there’s a conflict.
If that changes the behavior, you need to find which one of your plugins toggles the bad behavior.
Forum: Fixing WordPress
In reply to: Doubled Post TilteAre they doubling on the single post page or on other pages? Or both? Trying to narrow down where to look, since your code includes a conditional for the post title.
If it’s happening everywhere but single posts, do a quick test and remove everything from inside of the
titleattribute in anchor tag that wraps the title. See if that has anything to do with the double output.Forum: Fixing WordPress
In reply to: enqueue child themeThat appears to be correct. Can’t see any reason why it wouldn’t work.
Simple, I know, but verify that the child theme is activated.
Is your code in the child theme’s functions.php file or somewhere else?
How is the parent theme enqueuing its stylesheet? Is it doing anything out of the ordinary?
Forum: Fixing WordPress
In reply to: Custom CSS to all but admin dashboardWhere you apply custom CSS will determine where it is used. For example, if you add CSS to a theme’s style.css file or to a custom CSS plugin designed to override theme styles, none of that CSS will ever touch the admin. That requires a completely different approach.
So if you are asking if you can add custom CSS to your theme or custom CSS plugin and NOT have it affect the WordPress admin dashboard, the answer is yes, your CSS will only apply to the front-end of the site.
If that is not what you are asking, please let me know what you are trying to do in more detail.
Forum: Fixing WordPress
In reply to: Comments Not Showing Up No Matter WhatIf you temporarily switch themes to a default WordPress theme, do the comments show up?
Also make sure your theme itself does not include settings that toggle the display of comments.
Hi there,
I don’t know the fine details of your theme but this really shouldn’t depend on the theme. Pages -> Add New in your WordPress dashboard and create a page called Blog. You don’t have to input any content or anything… just a title of Blog and publish the page.
Then got to Settings -> Reading in your WordPress dashboard and set the Posts Page section to the Blog page.
With just that, you should be able to go to yoursite.com/blog and see nothing but a feed of your blog posts.
Forum: Fixing WordPress
In reply to: Change Header SizeHi there,
Try adding the following CSS to your child theme stylesheet or custom CSS plugin:
div#navbar + .no-fs-clearfix {
background: #000;
}Forum: Fixing WordPress
In reply to: rline under post titles thinnerAre you asking how to adjust the look of something on your site? If so, can you post a link to your site?
Forum: Themes and Templates
In reply to: [Shamrock] Center content on pageHi there,
My advice would be to either find a theme that better fits your needs right out of the box or hire someone for a quick development session. The first option is probably best… there are plenty of themes available for your choosing.
Simply removing CSS or other elements from the theme will fail most of the time. There are more things to consider than just one state of the site. While you may be able to remove something so it looks okay on desktop, it may look crappy on mobile. So please avoid that if you are not familiar with code.
If you are still locked out of your site because of whatever error you have, log into your FTP account provided by your host. From the root of your website folder, navigate to wp-content/themes/ and find the shamrock/ folder. Rename that folder to anything other than what it is currently called. I like to do shamrock-x/. This will break the activation and WordPress will deactivate the theme and activate another. That will allow you to get back into your dashboard, assuming an error in shamrock is what locked you out.
Then do not reactivate shamrock. Delete the one you’ve edited and reinstall it from scratch. All of your settings/options should still be in place.