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

pedro_dles on "PHP: Add translated tags to category list"

I have a website made from a template in WordPress, I've installed a translation plugin (qtranslate). http://madebysylvie.be/collection In my "photo album" page when I sort the items in the default...

View Article


Senyaj on "rows of data with each post"

Hello, Is is possible to have multiple rows of meta data with each post? e.g - LOOK THIS IS THE MAIN POST ---- id(1) | file_name(file.zip) | name(blah) ---- id(2) | file_name(faasd.zip) | name(blah)...

View Article


halben on "Preg_match not returning error?"

I was wondering if I could use preg_match in wordpress. I'm trying to validate a phone number and here is what I have: if (preg_match("/^[0-9]{3}-[0-9]{3}-[0-9]{4}$/", $sanitized_phone)) $errors[] =...

View Article

madphill on "Query posts with attachments by category"

I'm attempting to pull media from posts by category and the media is showing up, it's just not by category. It's currently ALL media regardless of whether or not it's attached to a post. I'm having...

View Article

downFast on "Find post id by a tag"

How can I find the post id by reading its tag?

View Article


alex05 on "WordPress Gallery Upload Limit"

I'm trying to limit the amount of files a user can upload through the wp gallery, and i've found the following filter add_filter('wp_handle_upload_prefilter', 'yoursite_wp_handle_upload_prefilter');...

View Article

bignides on "RSS calendar feed sorted wrong"

The site I'm working on has a customized plugin that is supposed to pull Helios calendar events from an RSS feed and display them in order of nearest event first. For some reason, it is always sorted...

View Article

Ivan D. on "Preview and post meta (custom fields) solution !"

Hi ! After an half day of research, we found a solution for preview with post meta (custom fields). The problem : If you change a post meta value but not the title, the content or other native fields,...

View Article


f1ss1on on "Display only 1 random post from the most recent 20"

Hello, I am trying to display only 1 random post from the most recent 20 posts. Currently, this is the code I have. The issue is, only the latest post is displaying since showposts =>1. $post_id =...

View Article


mstrdh on "[WooCommerce 1.6.5.2] Add custom fee in Shopping Cart"

Hi! I had a difficult task, so I need your help, guys. I need some fixes in shopping cart. 1. If a customer buys less product that costs less than 1000kr, then 200kr needs to be added to the price. The...

View Article

Tibet I Tech on "WP register form"

Can anyone help me to extract the wp register form? My site is http://dev.bangchen.net On the top right, you can see two ugly links to register and signin/login, when you click on the login, you will...

View Article

Pat Friedl on "ThickBox TB_iframe ignores height parameter."

Ok, here's some of the link code I have to launch a ThickBox modal in the page editor window to allow a user to select shortcodes: <a href="' . FPC_PLUGIN_URL ....

View Article

twitterdrip on "How to stop httrack and more"

Hello i was wondering how would i include this code RewriteEngine on RewriteBase / RewriteCond %{HTTP_USER_AGENT} almaden RewriteRule ^.* - [F,L] in wordpress htacess file that contains # BEGIN...

View Article


christof15 on "Core Links - auto selection target blank"

Hi there, Does anyone know how to make wordpress have an auto selection on target_blank when adding a link through the core link manager. (I use Link Library for adding a link library to a page.)...

View Article

Sebastian on "Error reporting API?"

In my plugin, I want to notify the admin of wrong settings or problems. So for example, if the admin submits the settings form, I check the input and want to inform him about values being wrong....

View Article


davehprohoods on "Having trouble creating multi-site plugin for use with...

I am trying to create a plugin where when I go to My Sites > Network Sites, there is a "Network Options" in Settings, and then when I go to a sub-site, there is a "Site Options" in Settings. Also I...

View Article

stecmedia on "Using script value in shortcode"

Hi I am currently working on a site for a client, which needs a price generator. The pricing generator is javascript, and works like this: Test version (View the code by using your browser's source...

View Article


GrumpyBum84 on "Simple Menu"

Hi All, I have been working with PHP for some time now and thought I would give WordPress a shot, but I am getting lost on some basic functionality and I have been pulling my hair out trying to...

View Article

malibur on "How do I filter the Wordpress loop with a permalink variable"

Hi, I have been looking around for a solution, but have a hard time even knowing what to google to find answers. What i want: I have a wordpress template that lists all the content of a custom post...

View Article

patrickvibes on "Walkner Nav for Gumby CCSS menu?"

I'm struggling to find where to place the closing Div on dropdowns for the Gumby CSS menu - I've tried modifying the bootrap Walker Nav, I just cant see where there statement would be to close the loop...

View Article
Browsing all 8245 articles
Browse latest View live