The server-side programming language that the WordPress core, plugins and themes are written in.

learn more… | top users | synonyms (1)

0
votes
1answer
30 views

Wordpress comments - delimiter “/” not found

Im using wordpress comments as a "chat". Not real time chat its more like comments with more flow. But when 4-5 or more members using coments at the same time i get this message: Not sure why this ...
0
votes
1answer
304 views

Fatal error: Cannot redeclare comment_theme()

I have this wordpress site build up. In the blog section my post is getting repeated which I do not want how can I get rid of this situation Use this link: ...
0
votes
1answer
27 views

Covert Wordpress Blogname into JQuery

Here is the blogname in php <?php $blog_title = get_bloginfo('name'); ?> I want to convert it to javascript. The file I want the blog name is in a .js file so I cant create the variable with ...
1
vote
5answers
1k views

How to trigger $_GET request within admin plugin page?

I have this form in my plugin function: <form method="get" action="" enctype="multipart/form-data"> <p class="submit"> <input type="hidden" name="do_it_hidden" value="run"> ...
0
votes
1answer
127 views

Dynamic Image Replacement through call rail phone call tracking plugins in wordpress

I want to dynamically swap an image that contains a phone number. I followed steps given in http://www.callrail.com/docs/web-integration/dynamic-number-insertion/images/ but images not swapped. I ...
1
vote
1answer
510 views

Limiting the WordPress feed to only a certain limit of characters

I have a WordPress installation that sometimes uses long and lengthy posts delimited by the <!--more--> tag. However on my RSS feeds, the entire post is shown. Is there a way, aside from custom ...
4
votes
1answer
3k views

Reposition WooCommerce breadcrumb outside of wrapper content

I currently have this code in my functions file for the WooCommerce plugin.. function my_theme_wrapper_start() { echo the_breadcrumb(); echo '<section role="main"><div ...
0
votes
1answer
27 views

first instantiated SimplePie object cosumes 5mb?

This following lines causes 5mb memory consumption. It appears large to me. if ( ! class_exists( 'SimplePie' ) ) include_once( ABSPATH . WPINC . '/class-feed.php' ); new SimplePie(); ...
0
votes
1answer
142 views

Control content before and after custom post type loop

I am trying to create a left nav menu that contains a couple of different taxonomy lists of a custom post type. For example, the left menu might look like this... <h2>New Stuff</h2> ...
0
votes
1answer
1k views

Search that will look in custom field, post title and post content

I am looking for a way to perform a search, and while performing the search, it checks a custom field named keywords, the post title and the post content. If any of those fields have results like what ...
0
votes
1answer
102 views

displaying a fall back query if there's nothing in the post-type category

I'm stuck trying to figure out the best way to manipulate my query so that if there's nothing in the category it will display the latest post-type. Here is the query I've got that pulls in the posts ...
0
votes
1answer
217 views

the_meta - no get_the_meta query?

I want to use the_meta as though it were get_the_meta. I want to do this because when i use the_meta in my functions.php file (I'm using a shortcode to enter data to pages), it posts the meta ...
0
votes
1answer
128 views

POST from jQuery to PHP

I have a form that passes field values to jQuery, which validates the fields and creates the variables being sent in data: {} in the snippet below. $.ajax({ type: "POST", url: "<?php ...
-1
votes
1answer
57 views

Echo author slug in post edit page

On the Post edit page in the back-end, how do I echo the author's user_nicename? I am referring to the author of the post, not current user.
0
votes
1answer
232 views

One button to change all settings in theme customizer?

I have been attempting to create a theme reset button for the theme customizer that automatically removes all of the theme_mod settings. I have tried multiple ways to do this and have never been able ...
1
vote
2answers
133 views

How to remove the cufon script from Dzonia Lite theme [closed]

I am using Dzonia Lite theme in my website. When I try to remove the cufon script from my functions.php file the sliders that were present in the website are not working. Colud anyone suggest me how ...
2
votes
3answers
657 views

How to export/import theme customizer settings?

I am wondering if it is possible to export theme customizer settings(theme_mods) to be imported into another install of the same theme. I know that the settings are saved into the database so I am ...
1
vote
2answers
1k views

wp enqueue style and style sheet depth

How could I add a style sheet at the bottom of the <head> tag, so if there´s a need to override some other styles added before, it will override. I heard something about wp_enqueue_style, and ...
1
vote
1answer
95 views

Add a custom stylesheet for BlackBerry

I want a little help loading a custom stylesheet in wordpress. I'm using PHP to check if the user agent is BlackBerry. If yes, I want to load blackberry.css, if no, regular wordpress style.css. ...
1
vote
2answers
155 views

How to remove the excerpt in the Dzonia Lite theme

I am using Dzonia Lite theme in my website. My front page shows all the latest posts. I am getting an excerpt at the end of each post. Could anyone suggest me how to remove that excerpt at the end ...
0
votes
1answer
30 views

need help adding a new sidebar to a page that can't use page-templates -> multisite

This problem is quite complex and hard to describe so bare with me. I'm trying to add a new sidebar to my test-page before I put it live. Basically I've got a website with wordpress installed and ...
1
vote
1answer
53 views

Editing Category RSS Feeds

I have the following PHP code below that I would like to add to the category feed in WordPress. <?php if(get_the_post_thumbnail()): ?> <featured-item><?php echo ...
0
votes
0answers
43 views

WP_Nav Highlight Parent Issue

I'm trying to figure out how to highlight the parent nav of a page and becoming stuck. I've seen something like this : <li <?php if(is_page('services')) { echo 'class="current_page_item"'; } ...
1
vote
1answer
63 views

Customize Plugin

I am trying to create custom welcome panel in dashboard for WP and can't see where I went wrong. It's not allowing me to add html.
0
votes
0answers
221 views

how to retrieve subcategory related to category in edit page from view page by using javascript

I am doing a basic product page by using JavaScript,php and html. I retrieve the category related subcategory drop down list from view page .but my subcategory is not change according my category .I ...
0
votes
1answer
144 views

How to list users like an archive page 10 users on page and have navigations

How can i list registered users like an archive page? and how can i make a link on user name to point to user profile page? Please see the link http://postimg.org/image/9wkp6kfib/ <?php /* ...
0
votes
1answer
80 views

Display movies that apear this day next

This code retrive me the movies that are comming in cinema, i want to be able to list movies that apear this day, next day ... 7 day week Ex: Today is 13.05.2013, i want to list the movies that ...
0
votes
1answer
133 views

Twitter feed is showing blank in WP site [closed]

I am using themefuse WP theme and facing this problem. http://themefuse.com/forum/thepractice-wp/twiiter-newsline-is-blank Can someone please suggest if I need to use some other attribute. I am not ...
0
votes
1answer
47 views

Looping taxonomy in taxonomy?

So I have a CPT of references (like a dictionary kind of format for music). In it there are two taxonomies: medium_reference and reference_letter. The reference_letter lists letters A-Z, while ...
0
votes
1answer
376 views

OG:Audio facebook meta tags

Does anyone have any Idea how to populate the attached audio file URL into meta elements? Just as you would featured image or something Here's what I tried: <meta property="og:audio" ...
0
votes
1answer
121 views

WordpressUser Submission Form

I have a User Post Submission form, and it has three issues, as well as one potential issue. Here is the code that processes the form. <?php if(isset($_POST['user_submission_form'])) { ...
0
votes
1answer
211 views

Infinite Scroll Plugin: How to first show 6 posts and then 2 posts thereafter with Infinite Scroll Plugin?

I am using the Infinite Scroll Plugin and initially load 6 posts onto the page. After the user hits "Show More" which is the pagination buttons on the page, I would like for 2 posts to be displayed ...
1
vote
1answer
1k views

Save selected item from dropdown menu in a meta box as a metadata value for a custom post type

I have been beating my brains on this one for days now and my Google-fu is failing me. I have created a custom meta box with a dropdown menu that lists all of the terms from a custom taxonomy. What I ...
-1
votes
1answer
1k views

Requires PHP version 5.3.0

When I try to install "Background Manager" plugin I am getting this error "The plugin "Background Manager" requires PHP version 5.3.0 or better, but version 5.2.17 was detected". Could anyone suggest ...
0
votes
2answers
90 views

How to Publish WP original Source metabox value on front-end webpage

I use a plugin called WP original Source. It lets me add the URL of the original article source, which is handy as it credits the original source of article extracts and summaries that I publish of ...
2
votes
1answer
79 views

selected menu item

The template I'm working on for a client has the following pages: Home : a custom static page that displays the content of a certain WP page, and the latest sticky posts. This is the front-page.php ...
0
votes
1answer
103 views

How to change links in the 3 main categories, on widget category, to a javascript function call

I'd like to know.. How could I change my 3 main categories links, so they call a javascript function? I'm using Snapshot Theme from WooThemes. Here's the current state of the website: ...
1
vote
1answer
115 views

Word Count Function Preventing Permalink Editing

This code counts the number of words in an excerpt and adds it to the excerpt meta box in the post edit screen: http://snippi.com/s/sn3hk5p However, something about this code is preventing the ...
0
votes
1answer
804 views

How can I show registration form inside modal?

I want to show registration form inside modal popup. Now I can use fancybox and show modal popup but how can I show registration form of wordpress inside that modal? Is there any plugin available for ...
0
votes
1answer
314 views

Get value from db for custom contact form

I built my own contact form (no plugins) and want to have a secure way to get an emailadress from my option page. get_option and other built in WP stuff doesn't work from within my process.php file. ...
2
votes
1answer
52 views

WordPress plugin installation

I am using the simple add_filter function to output the content. add_filter('the_content', 'my_name'); function my_name( $content ){ // code return $content; } When I activate the plug-in ...
0
votes
1answer
571 views

Exclude a 'portfolio' custom category?

I have a custom post type called 'portcat' and I want to exclude one portcat category ('weather' - ID='5') from the page. I've tried 'category__not_in' => array( 5 ) but apparently this doesn't work ...
0
votes
1answer
92 views

How to wrap a text with shortcode into php file?

I want to wrap a text with shortcode into the single.php file. The shortcode is: [box type="note" align="aligncenter" ][/box] and the code is: Διοργανωτής διαγωνισμού: <?php ...
2
votes
1answer
83 views

nowplaying.include.php Will Not Display Results

Cyberchimps.com recommended I post here as they believed there may be a global issue with my request. I thought what I was missing was obvious and simple, but two months into this and being referred ...
0
votes
2answers
324 views

Pull GetOption() variable into jQuery dynamically created html

I have a page with the following markup in the site theme footer: <div id="modalpopup"><div id="inside"></div></div> I have a variable in the WP db I can retrieve via ...
1
vote
1answer
210 views

get_the_tags() not iterating through for/while loop, but will with foreach

I'm having a very peculiar issue with Wordpress right now that I can't understand, and hopefully someone here will have experience with it to help solve it. I'm trying to iterate through the array ...
1
vote
1answer
27 views

If Query In Sidebar

I'm trying to create a query that IF there is a value in the 'FeaturedQuote' custom field, then this shows <h3 class="featuredquote"><blockquote><span ...
1
vote
1answer
69 views

PHP Script within wordpress theme

I have a php script that I'd like to utilize within my wordpress theme. I'd like to restrict access to the page based on users belonging to particular groups so it's important to keep it within ...
0
votes
1answer
56 views

Adding a line of text to php code

My wordpress theme has a button to turn breadcrumbs on or off. I want to leave the breadcrumb turned off and place a line of text where the breadcrumb would display on all pages except the home ...
1
vote
2answers
519 views

Admin Menus - Name Menu different from first Submenu [duplicate]

I am creating a submenu with the following code: add_action( 'admin_menu', 'jp_create_admin_pages' ); function jp_create_admin_pages() { add_menu_page( 'Members', 'Members', ...