Share buttons on article footer
for a website I need to place facebook and twitter share buttons on the footer section of each article on the blog page (where are listed all the articles).
for a website I need to place facebook and twitter share buttons on the footer section of each article on the blog page (where are listed all the articles).
My code was working up until the 3.2 update, where I noticed that tinyMCE has been updated too.
foreach((get_the_category()) as $category) { echo $category->cat_name . ', '; } So I’m echoing it like this because I don’t want the categories to appear as hyperlinks, I just want the cat names. The problem is I can’t get rid of the last separator so it ends up like : category, category, category, I tried ‘stripping’ … Read more
Using two permalinks for one post I am developing a wordpress website for a client, the client want to show 2 separate templaes for post details the scenario will be. user clicks on post and our default single.php will load up, there have a play button when user click on play button then instead of … Read more
Basically I’m looking to add this line of code to posts published within the last 24hrs:
I’m trying to disable WP_DEBUG_LOG if and only if debug.log exists. I’d like to hook into wp_footer and test if the file exists and if so disable my debug log. All I’ve found though is that WP_DEBUG_LOG is a constant and can only be changed from the wp-config.php file which is too early for my case. Is there a way to change it from a constant on install and keep it working as normal?
I’m looking for a way to change the WordPress favicon. Any hints how to do this?
I need to get posts pertaining to a given category, AND :
I’ve got a custom post type (CPT) called event. Every event has got an associated meta_key called event_date.
I just wanted to know if it’s ok to modify/remove links pointing to the designer of the theme.