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

VladimirPanek on "RSS WP HTTP Error: A valid URL was not provided....

Hello, I have RSS feed on the same server that I need to display on my WP site. I was looking around and found only one solution. Add this code in the function.php to accept any bad urls function...

View Article


Baki Goxhaj on "Why does pre_get_comments hook only runs for non logged-in...

I'm trying too change the order of the comments on my posts and I spent hours battling with the pre_get_comments only to figure out that it did not run at all in front-end. Is this the designed...

View Article


Attiq on "Access External Database"

I have retrive Data from external database using get_results function which is working fine on my local server but same code is not running on the online server it make an error like Warning: Invalid...

View Article

pixieblitz on "Temporary Username and One-Time Change"

I'm running a multisite installation with buddypress, and I ended up with a list of names and e-mails of people that want to join. It's not *huge*, so technically I could set a temporary username for...

View Article

Ari_Johns on "Spinning my wheels advice needed"

This is a random difficult to explain problem, but basically what I am attempting to do with wordpress is change a shopping cart plug in to allow for each entry to the cart to print out as a separate...

View Article


Blue_Dragon360 on "How can I detect whether a comment is a reply and nest it?"

I've decided to integrate wordpress into the site I'm building, and am currently working on the main page (on a localhost, so I can't share the link). I've set withcomments=0 and added a comments loop...

View Article

mortonc on "Front end posting overwriting custom meta fields"

I've created this page in my theme which allows users to edit their posts. It changes the information which there are fields for in the page BUT it overwrites all the other custom meta fields which are...

View Article

greatsb on "Automatic Insertion of External References in website showing...

Hi, When I see my wordpress website "http://techliebe.com" in a mobile then i see the spam text such as "privatsex sex cam chat sex cam deluxe" at the starting of posts, also it gets displayed in the...

View Article


MI on "WP Query - odd/even and post types"

Hi, I want that odd and even posts would be different post types in one loop. How can i make it work? Here is the test query, which i think should work with getting odd and even ones, but how can i...

View Article


mortonc on "wp_db get 2 most recent items"

in my theme I've got a wp_db query which fetches the most recent resut from a table and then sets this as a variable. What I would like to be able to do is get the two most recent results and set those...

View Article

abdul wahab12 on "i want to block urls in comments."

please tell me some kind of php code for blocking curls in comments are. like if some one puts any url in comment an error comments that you cannot put urls of hyperlinks here.

View Article

xymalf on "Local WAMP server says function undefined"

$azonassoc = amazon_assoc_tag; $azonsecret = amazon_secret; $azonaccess = amazon_access; catching_var.php('$azonassoc','$azonsecret','$azonaccess'); I want to pass values from a FORM i have created to...

View Article

martin.kreativermoment on "Strip Shortcodes from RSS"

Hi, I'm not sure if this is the right section. If not not, please move. I got this template to create my rss, but all shortcodes are shown in plaintext. <?php /* Template Name: Custom Feed */...

View Article


xymalf on "Wordpress plugin - menu's"

When developing a plugin how do you create the plugin name in your dashboard with a submenu for settings and one for the application please?

View Article

xymalf on "Forms and Menus"

* Register and add settings */ public function page_init() { register_setting( 'my_option_group', // Option group 'my_option_name', // Option name array( $this, 'sanitize' ) // Sanitize );...

View Article


saltandpepper on "get_user_by slug isn't working"

This is the code I have and get_user_by seems to be returning an empty object global $this_player; $player_name = strtolower(str_replace(" ","",trim(str_replace(range(0,9),'',get_the_title($id)))));...

View Article

dgmstuart on "Version number isn't showing up on the plugin directory page"

I'm the developer of On the directory page (http://wordpress.org/plugins/dxw-security/) the version number isn't displayed. It should be in two places: on the download button (it isn't - it just says...

View Article


SLAFmultimedia on "Custom Navigations Menus"

Hey WordPress Community, I'm presently doing a website for a client using WordPress. The way he wants it is a 2 sections website. There will be a splash page where the user's going to chose the section...

View Article

wpsamantha on "Redirect/forward page to latest taxonomy"

I have created a basic page with the slug /journal/. I also have a custom taxonomy called 'issue' with terms that generates slugs in the following format: * /journal/issue20/ * /journal/issue21/ *...

View Article

xymalf on "Plug in menu causing fatal error"

/* Plugin Name: options menu Plugin URI: Description: Companion to recipe 'Implementing the plugin menu' Author: adrian Version: 1.0 Author URI: http://www.xymalf.com */ <?php // display the admin...

View Article
Browsing all 8245 articles
Browse latest View live