Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Browsing all 8245 articles
Browse latest View live

brianhre on "in_category condition not working"

Hello. I`m trying to display a label with specific text for products that belong to two categories (Green and Oolong). All other categories will display the same text. I am having trouble getting this...

View Article


Linesofcode on "Clear cookie of posts password protected"

I'm sorry if this isn't the right section of the forum to publish this topic. I'd like to create a page just to reset cookie. I tried to create a page: unset.php, I put the page inside the...

View Article


waverider1 on "Update posted date without changing order"

I like the idea of having the date updated to only show the "modified" (or last update} date when I update a post, but when I update the timestamp manually (in post edit), it puts the post first on my...

View Article

StephanWizcorp on "User data encryption"

Hi there! I'm using WordPress for a website project where there're some requirements about privacy respect. Thus, I would to encrypt my data user using a AES algorithm. As I'm developing a custom...

View Article

Enzo on "Can't edit the CSS of the Navbar, through an option in Customize"

Hello everyone, Thanks for taking the time to read this post. Now, I am aware this question has been asked quite a number of times, but the results I found always ended up in directly editing the...

View Article


YCressant on "WordPress 3.6 Javascript code remains after template_redirect"

The purpose is to produce an ical feed from a plugin With a simple template_redirect, it was possible until WordPress 3.5.2 After migration to WordPress 3.6, some javascript code remains before de...

View Article

RavanH on "Shortcode inline with text always wrapped in P tags?"

Hi all, I've search the forums and internet for this issue but only found very old (2+ years) threads about this. And some 'solutions' or rather work-arounds that all have their own downside. In the...

View Article

kitcorsa on "Direct Required - Flooring Site - E-commerce/booking"

Im looking for a bit of advice or direction here, Im looking to make a site for my brother who is specialist flooring expert who can supply fit and repair floors. What i'm after doing is creating a...

View Article


gokhanefendi on "[Plugin: All in one seo pack] Custom Title Format"

Hi everyone, i want to change post title like this "%Cat1% %Cat2% - %post-title%" Cat1 is a subcategory name in MainCategory1 Cat2 is an another subcategory name in MainCategory2 Example: Page Title:...

View Article


blzalewski on "Settings Manipulation from UNIX Terminal"

Hi, I'm using WP CLI and I'm trying to set up an automated installation to tweak WordPress perfectly. I have a few questions but they all pretty much boil down to: How do you modify WordPress settings...

View Article

cerstrand_mace on "the_title as category in query"

My question is rather simple. Is it possible to use the title of the current page as the category in a query array? I guess it would look somewhat like this but I haven't got it to work: <?php //...

View Article

mak1wp on "Conditional script enqueue"

Hi, I'm having some trouble enqueuing isotope/masonry/infinite scroll scripts. I'm using wpquery for creating various blog and portfolio post layouts via a page builder. Theres various layout...

View Article

patrick_here on "Running add_role() one time only"

Since add_role() needs to be run one time only to add a new role, what's the best way to run it only one time? I don't want to generate a new database call every time a visitor comes to the site (or...

View Article


coldpumpkin on "Change generated HTML code from "Add Media" button"

Hello there. When we're inserting an image to a post, by clicking the "Add Media" button, WordPress generates a certain code, being: <a href="image_url"><img src="image_url" alt="image_name"...

View Article

anespa on "How to customize user creation"

Dear friends, I need to customize User creation in WP 1. In current situation after user creation we need to check email and then login , but I need to login on same time to my account with that...

View Article


zenox11 on "How can I add an offset parameter to this block of codes"

I want to display the second most recent post but I'm kinda new to wordpress... help please, anybody. $args = array('posts_per_page' => $options['posts12number'], 'category__in' =>...

View Article

WazzaJB on "WP_Query with tax_query not returning all posts"

Hi there, When using the "tax_query" parameter in my arguments, I am not getting all the posts returned - but despite this "found_posts" is returning the correct amount. This ONLY happens when using...

View Article


jp2112 on "Best practice for updating plugin when only version compatibility...

I feel like I've asked this question before, apologies in advance. Some of my plugins are listed as compatible with version 3.6. Now that version 3.6.1 is out, I would like to update them to confirm...

View Article

miyarakira on "Shortcode as parameter to another shortcode"

I'd like to use a shortcode as a parameter to pass to another shortcode: [google_map address="[content field='address']"] However, this outputs a blank map plus this string: "] I've looked in both...

View Article

brochris on "Working on my first plugin"

I'm trying to create my first plugin. The bit that I'm working on now is supposed to read the post title and create an image with that text in it. But for some reason it's not saving the image. Here's...

View Article
Browsing all 8245 articles
Browse latest View live