Changing the media library default tab
› Moderator Notice ‹
› Moderator Notice ‹
I’m a newbie at modifying wooCommerce. I hope someone can help me with a problem i’m having while trying to make a minor change to the plugin to fit with a request from my client. I’m trying to modify WooCommerce to display the category name for each product. I want the category name to be … Read more
I tried adding placeholder similar to the given for ContactNumber for my drop down Outlet but it doesn’t appear. Code- <div class="form-group form-icon-group"> <i class="fa fa-phone" > </i> [tel* ContactNumber /8 class:form-control placeholder "Contact Number *"] </div> <div class="form-group form-icon-group"> <i class="fa fa-food" > </i> [select Outlet id:outlet class:form-control "– Select Outlet–" "Pasir Ris" "Thomson"] … Read more
I’ve recently been forced to edit the core files of a plugin. I’ve updated the title of said plugin to indicate that its been edited.
In particular in table wp_options. After almost 2 years of blog production it seems increased a lot, and I don’t know how many crap is in there.
I’m trying what I thought would be something really simple of masking my url but cannot seem to get it to work. I want to be able to link to images in my img tag without having to type in the full url.
I have a client that wanted two “main menus” and we needed to programmatically display whichever menu contained the current page. How can I do that?
I am eperiencing a very annoying problem. I built my website with media queries and is_mobile (thinking is_mobile would be the same as smaller screens. How foolish of me.) but after some testing apparently the iPad kind of screws it up (okay, actually I did).
So – at a client’s request, I am in need of being able to resize an image not the standard WordPress way… but from an image pulled-in from a theme option. I can’t simply use the custom_header area, as there will be two or three (I also have some options once the image is uploaded to let the user choose how the link should function (page, post, category, no link, external link, etc)). I’m using Options Framework Theme with great success and I can retrieve the image src just fine, it’s a matter of if this can somehow be used in combination with the add_image_size() function normally used for post thumbnails. I’d REALLY rather not go the timthumb route and stick with WordPress APIs (I know that’s a little contradictory to what I am doing in the first place…). Any help would be greatly appreciated. Thanks!
As far as I know, there’s not a simple function that will return true if a post has an attachment. With that in mind, what’s the best way to determine if a post has an attachment (or even better, has an image attachment)? I’m automatically inserting a shortcode on posts, but would like that to only happen if there is actually an image attached to the post.