The server-side programming language that the WordPress core, plugins and themes are written in.
0
votes
0answers
28 views
WordPress won't display errors at all
I have been having constant issue with WordPress not displaying errors at all and I have no clue what is wrong.
PHP errors display on non-wordpress related pages.
Debugging is turned on.
Display ...
0
votes
0answers
55 views
User driven content problems
I am trying to build a website that will allow users to post from the front end. I need to be able to have the user enter a title, a category, and tags. For the content of the post, I would ideally ...
0
votes
0answers
48 views
Trying to post information from a remote database to wordpress page
I'm fairly new to Wordpress and looking for some help.
Goal: I would like to stream data from my personal computer's Mysql database and display it on a webpage in my offsite Wordpress hosted site. ...
0
votes
1answer
70 views
Wp favorites posts by specific category?
Well, let me get to the point, im trying to Display a specific category using the Wp favorites posts plugin this is what im adding $category_id = get_cat_ID('news'); but it doesn't seem to work it ...
0
votes
0answers
29 views
How do I link a button I created in theme customizer to a function?
I created a button in the theme customizer and I want to use it to execute a function? All I can find is using controls to add theme settings such as CSS and text. Although this button is to clear out ...
1
vote
1answer
26 views
Add user settings to specific roles
Is it possible to do this? I already know about get current_user_can(), which does not work like I need. I'd like to be able to use an array if there are multiple roles.
// Check roles to only add ...
0
votes
0answers
39 views
Created custom control from theme customizer, where should I add code it will control?
I have created a custom control for the theme customizer which is a simple button and label. I am going to be using it as a theme reset button that will clear the theme mod settings to their original ...
0
votes
0answers
29 views
How can i retrive the movies, trailers, news in a single page using search
How can i retrive that. For a few month i build a website, and i want to make it diferent
For the search i have 3 post type, and i have for each diferent themes for display
- Movies
- Trailers
- ...
1
vote
1answer
58 views
List of all theme customizer control types?
I have been looking through the theme customization API documentation and google to simply find out the names of the control types already built in to the theme customizer.
More specifically I am ...
0
votes
1answer
57 views
How to add button to top of theme customizer?
I am trying to figure out how exactly I can add a button to the top of the theme customizer. The spot I am talking about is where the "close" and "save" buttons are. The ones that are above everything ...
0
votes
1answer
87 views
Specific Loop For 2 <div> Within Each <li>
I need to create a loop that can logically be described as the following for a carousel:
Requirements:
3 Loops
2 Posts Per Loop
No Duplicates
Order by Post Date
Visual:
< Start Loop #1 >
...
0
votes
1answer
35 views
Exclude category
I want to exclude a category from showing in a function, but cannot figure out how to do it for my specific code as below. I want to make it so that any post that is in the "featured" category, does ...
0
votes
2answers
32 views
Creating a press page for our project
Over time our project got some good press: press releases, interviews, media appearances
Now I want to create a "press page" (something like this). Requirements:
is easy to update - everyone can ...
0
votes
1answer
25 views
WP white screen of death after duping a site that works fine on same server
I have simply duped a site that runs absolutely fine on a separate domain into a sub directory of another domain for development purposes. I have zipped the /httpdocs/ directory excluding cache and ...
-1
votes
1answer
46 views
problem with php function error
Hi I seem to get this message
Warning: Creating default object from empty value in C:\xampp\htdocs\wp-content\themes\knowledgepress\lib\ticket-functions.php on line 851
However looking at the ...
1
vote
1answer
156 views
Wp favorite posts get user favorites in profile using buddypress
Im currently encountering a problem i display user wp favorites posts fine, but the issue
is i wont display them, once users are logged out it says " no posts have been made"
while each user has ...
0
votes
1answer
27 views
Using a loop to build and update widgets
So I have a widget Im making which allows users to update 4 switches. Each switch has the same fields, name, description, price, amount so I decided to build the widget using a for loop instead of ...
0
votes
0answers
56 views
Uploading Image to post type image fails
I am trying to upload a image to a post and everything works successfully except the image keeps coming up broken, like the image is not uploading correctly. When I go to look at the image in the ...
0
votes
1answer
59 views
Custom Post not working as expected
NEW EDIT I solved it, as written in answer, the problem where that variables are 'forgotten' (not so techy I know, sorry for this) when
function starts.
EDIT: I found the problem is this: ...
0
votes
0answers
43 views
jQuery vs. $ - Creating jQuery scripts in JavaScript in WordPress using External Libraries
I am trying to utilize Trent Richardson's Date Time Picker (see here).
I am trying to get the selected time when the popup closes, so I am using the following code (in an external .js file):
...
0
votes
0answers
229 views
Creating a custom Jquery modal form to upload data in wordpress 3.5.1 [closed]
i am new to jquery.I looked to various demos but can't find what i am looking for.
I want to add a upload item feature in my wordpress website.This feature is available to the end user after he/she ...
0
votes
0answers
35 views
Wordpress adding in site URL to header links
A little information: I am developing a one page theme that uses posts as sections on the main page. I have created code that allows users to add a menu item in the post page from a meta box when they ...
0
votes
0answers
28 views
Automatically create a user with author rights from outside of Wp-admin
Need to create a user on the fly based on the following steps...
User clicks a link in an email with a unique url such as
1234.domain.com/?auth=42344245534534535
when the user clicks through to ...
0
votes
0answers
54 views
How to tell if string is null or empty in meta value? [closed]
I am trying to figure out how to find out if a string is null or empty in php. The place I am pulling the value from is a meta value that is stored from a meta box on the post page.
I want to check ...
0
votes
2answers
43 views
How can I redirect this contact form to a specific permalink
I'm converting a HTML site to WP for a client and they have a simple contact form in place.
If the submission is sucessful it currently, in it's HTML form, sends them to thankyou.html but I want to ...
0
votes
1answer
158 views
Using loop pagination on single.php
I want the main front-page loop to show in a section on both index.php AND single.php templates, with pagination.
Pagination works fine on the homepage, but not on single posts. This is the code ...
0
votes
1answer
43 views
Not able to call class in NHP framework
I have downloaded fresh framework and installed on my local server. I copied options folder and nhp-options.php inside my theme directory. Then I called the class globally by
global $NHP_Options;
...
0
votes
1answer
44 views
How can I create a menu items from meta box based on users input
I have created a metabox that takes a name that the user can give as an additional name of their post. I am wondering how I can automatically create a menu item based on the name the user input into ...
1
vote
1answer
22 views
Trying to retrieve post meta
I have created a meta box that allows users to add an additional name/id to their post. From what I can tell it is adding the meta information correctly because when I edit a post that has a custom ...
2
votes
1answer
270 views
Menu Items Disappearing
I'm running WP 3.5.1 and I've a menu with about 100 items. When I add new items to the menu older ones disappear.
I'm not running Suhosin or similar stuff. What can be the cause?
Note: I'm on a ...
2
votes
1answer
116 views
How to stop form resubmission on page refresh
Hi I have a form that adds attachments to a post, however when the form posts it obviously doesn't show the post with the new attachment echoing "your file has been uploaded". When the user refreshes ...
0
votes
1answer
78 views
Get post meta retrieving wrong value
I created a custom meta box with a textbox where the user can enter a custom value in as an additional identification tag. I thought I had it right but when I try to retrieve the value it is giving me ...
0
votes
0answers
20 views
flash loads in wordpress but button does not navigate to url
I have a flash (swf) file that loads in wordpress and renders just fine but wordpress is not allowing the actionscript to navigate to the url that it is supposed to go to. the swf file works on its ...
1
vote
0answers
46 views
Using window.onload with Ubermenu
I am using a plugin to place this code on specific pages. But it is not firing correctly.
Has anyone had experience working with Ubermenu, WP and jQuery? Do I have to call jQuery into my ...
2
votes
1answer
118 views
Displaying a WooCommerce product via PHP
Having a hard time composing a searchable query, so I apologize in advance if this has been covered.
I know you can add WooCommerce products to a page or post via short code, but I have one section ...
0
votes
0answers
40 views
How can I clear the theme mod settings?
Ideally I am looking to add a button to the theme customizer that allows the theme to reset to default settings, although that may be asking for too much in one question so I am wonder if anyone knows ...
0
votes
0answers
12 views
How to get the value of above cell in php? [closed]
Date Transaction Payment Deposit Balance
29 Jan 13 Deposit 1000 1000
30 Jan 13 Payment 100 -100 ----> this ...
2
votes
2answers
76 views
How can I add dropdown widget/box to admin post page?
I am trying to figure out how to add a dropdown widget to the post page. The reason I ask is because I would like to be able to have a few different post classes that the user can select while making ...
1
vote
2answers
64 views
A solution to set metatags with my page generating plugin?
I have a plugin which generates a page automatically. Is there a way I can add functionality to this plugin which would allow me to set the meta description, keywords, and title for the page? I've ...
-1
votes
1answer
160 views
Woocommerce price including tax with formatting from options
Af first, I'm not a programmer. In Woocommerce I need to display both product prices, including tax and excluding tax. Code in price.php
<?php if ( $price_html = $product->get_price_html() ) : ...
0
votes
1answer
31 views
Different Subdomain changes page content
I know it seems to be a strange ask here but hear me out. I have a client who has several subdomains for different countries, such as us.example.com and uk.example.com. I want to change one or two ...
0
votes
0answers
36 views
Markup Validation Service problem with alt images
Hy,i have try over a week to validate 4 images that are retrived by a code with GD Star Rating plugin
This is the code i have:
<?php
wp_gdsr_render_rating_results(array('template_id' => 49, ...
0
votes
0answers
38 views
Cant get theme to change footer color through theme customizer
I am having an issue trying to configure the theme I am working on to allow the footer color to be changed. So far all of my other options work so I am geussing it is an issue with the way I am ...
0
votes
0answers
39 views
Wordpress not showing full text in feed
I have been reading around and I cannot figure out why (even with the full text option checked in settings) that my feed will only display excerpts of posts instead of full posts.
Any ideas? here is ...
0
votes
0answers
38 views
Adjusting Pagination
I am currently try to fix some issues in the pagination on one of my client's sites. The code that was in place is:
if (!function_exists('prime_pagination')) {
function prime_pagination($args = ...
0
votes
2answers
39 views
Additional image sizes are not being generated
When I upload an image through the admin interface, the image is only saved at full-size. The other sizes are configured to their default values in Settings > Media. The automatic resized versions are ...
0
votes
2answers
64 views
Theme not calling Jquery properly
I am developing a theme and I have called jquery along with other JS files from a theme-enqueue.php file. For some reason only the Jquery file that is hosted on googles servers is adding the theme URL ...
1
vote
1answer
33 views
3 blogs same installation, without WP MU
I've to create 3 blogs (different DOMAINS) on the same wordpress installation (I cannot use WP MU, unfortunately) so I came out with the idea that I could use categories, instead, so... every blog has ...
2
votes
1answer
75 views
wordpress custom post type remove duplicate menu item
I've registered a new content type with following -
register_post_type('news', array(
'labels' => array(
'name' => __( 'News'),
'singular_name' => __( 'News'),
...
0
votes
1answer
49 views
customize wordpress database error page
UPDATE
Initially I suspected this was related to the Wordpress framework I'm using (Genesis) or to my child theme functionality, but turns out that's not the case as I was able to get this to work in ...



