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

rioforce on "Use Featured image as background image"

Hi, I am new to PHP, so I am having some difficulty with this. I just enabled Featured Images in Functions.php on my site with a line of code. I want to use the featured image on the page as the...

View Article


joheric on "How to show only the grandchildren of taxonomy"

How to show only the grandchildren of taxonomy. Example: Artist > J > Justin Timberlake > Mirrors How to show only Justin Timberlake

View Article


thebusysingleparent on "php and javascript with google adsense code"

I have pieced together code from two different tuturials and some forums to be able to put google adsense code inside the post loop for a multi author site. The following is a working (I think) code...

View Article

VOST on "Repeatable fields with dropdown lists of taxonomies' terms"

Hello, I am trying to put in place repeatable fields with drop-down lists containing terms from custom taxonomies. It is displayed beneath the editor field in one of my custom post type. Here is what I...

View Article

charl99cfc on "Custom WP query on multiple meta_keys and meta_values"

Hi all Am trying to query multiple meta_keys & meta_values, but not getting the query right. $queryall = "SELECT DISTINCT(post_id) FROM wp_postmeta WHERE (meta_key = 'mb_category' AND meta_value =...

View Article


stonystratfordwoody on "Extending the Insert Media Dialog for a Custom File...

When you want to add an image to a post the process is: 1. Click "Add Media". 2. Select or upload an image. 3. Choose from the attachment display options. 4. Click insert image. 5. Some custom HTML is...

View Article

rocke on "How to show only Standard Format post in my custom taxonomy page...

Hi i want to show **only Standard FORMAT POST** IN MY CUSTOM TAXONOMY PAGE , WHICH IS AS : **Actually i have many category and format in my project , hence on this page i need only to show STANDARD...

View Article

mobilewebexpert on "Modify admin query so that keyword is searched for in...

How do I make it so that when an admin uses the 'Search Posts' form on the 'All Posts' admin page, the search word that he types in is used by WP to return posts where the 'post_title' field *OR* a...

View Article


jhatter on "changing file permission"

OK so I'm new to WordPress and I'm almost too embarrassed to ask this question.... On a Mac how do I change file permission of wp-config.php file to 640. All the examples I can find online refer to...

View Article


kkeyxz on "wp-cron.php My site has been attacked yet? please help me"

wp_cron.php What documents? Hackers are being utilized? please help me,How can I do? attack code /wordpress/wp-cron.php?doing_wp_cron=1396427477.8123040199279785156250...

View Article

deprekate on "custom field getting over written"

I have the following action in a child functions.php that is correctly hooking right after the administrator hits Publish. It also correctly sets the advanced custom field to '1234'. However I think...

View Article

GWMO on "jQuery Lifestream for Wordpress"

I'm trying to integrate jQiery Lifestream into a Wordpress site but can not seem to make it work. I followed the Readme by placing the script into a Graphene child theme header.php, added the styling,...

View Article

tkse on "Slider recommendations?"

I want to display partners at the bottom of my page, preferably at the bottom of index.php or in the footer.php-file, but there's a lot of partner logos to display, so I want to have a slider showing...

View Article


t22james on "wp_insert_post not replicating standard admin 'new post' behaviour"

Hi there, I'm trying to implement some code using Advanced custom fields, to post rich posts (as in, with custom fields) from the front end. To add the new post, the code I have uses: // Create a new...

View Article

gcoulby on "Escaping SQL with the wordpress API"

OK I have a plugin where you can add simple table content and work with a few relational databases. It's an all in one CRUD system for price management. However, with MySQL escaping is fairly simple,...

View Article


OSD on "Publish a child of private-parent"

As from WP version 3.8.1. I'm not able to publish a child-page of a private-parent-page, the child-page will not publish and remains private. With former versions of WordPress I had everything up and...

View Article

jwiere03 on "Updating plugin banner image"

I have a banner image for my plugin here on WordPress.org. I uploaded it using these instructions however I would like to update the banner and I can't figure out how to do that?

View Article


pdstudio on "Conditional javascript in a post"

Hy, I have added a shortcode to functions.php for inserting javascript only to logged in users. The shortcode is working, only the javascript fails. I want to do readonly specific input fields...

View Article

ArneRobot on "Display years in which posts were written"

Hello out there, I have a few questions to a problem that I am working on. I try to build an archive of posts that will be used as a sort of database for publications my client makes. My approach: I...

View Article

therealro on "Add RSS feed link to custom category / post type"

Hi, How can i echo out the link to the category feed on a category page? I added some custom fields to the category create / edit page. The edit url is like this:...

View Article
Browsing all 8245 articles
Browse latest View live