Modifications to theme and plugin files to create new functionality.
0
votes
0answers
17 views
How to order query by numeric meta value?
I cannot order my query by meta value by numbers, and ordering by post order does not work too. This is my code:
<?php
$args = array(
'posts_per_page' => '-1',
'post_type' => ...
0
votes
0answers
12 views
Custom Post Type Order Issue
I am having an issue getting my Custom Post Type "slide" to pick up the custom order set in the order attribute. In fact I can't seem to get the order to change from ASC to DESC period. I have ...
0
votes
0answers
22 views
How to get the count for each taxonomy term
I know it is $term[0]->count;
However, my terms are placed in the custom menu plugin. My terms are currently structured as
Parent
Child
Parent
Child
How do I append the term count of each ...
-1
votes
1answer
17 views
Explode Array from Repeatable Custom Field
I have an array from repeatable custom field. When I print with vardump the output is...
var_dump($affman);
this is the result ...
array(3) {
[0] => array(4) {
[0] => string(74) ...
0
votes
1answer
10 views
Logged in only custom page
I have a custom page named custom.php then i created a new page inside wordpress and selected custom.php in the page attribute template
and custom.php page link is accessible in my front page.
the ...
0
votes
2answers
20 views
Print shortcode in custom action hook not where the shortcode is entered
I have added a custom action hook into my theme. I want to be able to enter a shortcode anywhere in the_content() and have the shortcode print were the custom action hook is rather then the point from ...
0
votes
1answer
25 views
Is “get_template_part” hierarchy possible?
I'm build a custom Wordpress theme using get_template_part to call tiny bits of code. I have file called "masthead.php" that is called using this code:
<?php get_template_part( 'masthead' ); ...
0
votes
1answer
8 views
Is it possible to rename a customizer control heading?
So far I couldn't figure out how to rename a customizer control. I can rename sections, but cannot find a way to controls. I would like to rename the default Tagline control to Site Description.
Any ...
0
votes
1answer
23 views
Adding pages to the Admin panel
Instead of going to Pages on the Admin panel nav bar on the left to see all the pages that are created. I would Like the pages to show up on the Admin panel nav bar it self. Like a custom post type. ...
0
votes
0answers
29 views
Customize Admin Section
I am custimizing WordPress in order to use it as CMS. This CMS system will have multiple user accounts at different levels of previlidges and autherization. Now, when it comes to using the admin ...
0
votes
0answers
16 views
How to show in search results posts with a particular tag in a particular category?
As the home page of my blog I've a static page.
There I want to show the navigation of the site.
Category1
Sub-Category1
tag1, tag2, tag3
Category1
Sub-Category2
tag1, tag2, tag3
...
0
votes
0answers
22 views
Custom image upload function wp-admin
i made a custom page at wp-admin to create a image gallery, so, i used an custom php function to upload, resize the imagens and create thumbmails to put into the index page, and into the gallery page.
...
0
votes
1answer
11 views
Make Terms Under Custom Taxonomy Use Specific Single.php Template
Yesterday some wonderful people helped me solve the issue here about templates for custom taxonomy terms.
Now I have a related question. Again, I have a custom post type set up in my functions.php ...
0
votes
1answer
13 views
Want home page to click through to two different page types
Looking for correct vocabulary to accomplish the following:
Home page to show small images for following pages. On click through, (editor chooses) to display distinct page type:
EITHER 1: Page that ...
0
votes
1answer
23 views
Display custom post types by date field
I have a custom post type that is simply titles with a date field. I want to display these posts in a list in order of this date field (not date posted). So simply:
--
Sample date
Event title 1
...
0
votes
1answer
35 views
How to pass on a value as parameter via url to another page
I'm dealing with a problem I can't solve myself. I did a few hours of research about it, but I didn't manage to make it work. I want to send a parameter via the url to the page I'm forwarding to and ...
0
votes
0answers
24 views
Responsive Directory Press Theme Listing shortcode/html customizations
I am currently using the Responsive Directory Theme. Under the Theme Options > Display Setup > Content Layouts > Listing Page Display > Customize it allows me to enter a combination of html and ...
0
votes
0answers
17 views
custom objects in wp? (I'm using gravity forms)
The way my wordpress site is set up is a little clumsy, and I'm wondering if there would be a better way to set it up. Here's a little description of the site:
We have a bunch of pages that ...
0
votes
1answer
31 views
add unique code required to register
I have a custom registration form on my homepage and I want to add a field where a code has to be put in to allow people to register. So that only people i give the code to can register.
I believe ...
0
votes
0answers
8 views
Show Error mesage in the Theme Customizer
http://stackoverflow.com/questions/14802251/hook-into-the-wordpress-theme-customizer-save-action show me i can save settings of the Theme Customizer to a file. Like:
...
0
votes
3answers
58 views
User specific content (posts) / limiting visibility
I need some help. My wife teaches french, and I would like to set up website for her. The problem is I don't know so much about wordpress and googling did not help as well.
I know how to make simple ...
0
votes
0answers
11 views
how to add a link to my custom table(WP_list_table) that update database field
i make a custom post type and make a custom list table using WP_list_table for show data.
I want to add a column that have a link to change database.
for example after click on "update Home" change a ...
0
votes
0answers
8 views
Wordpress permalink need taxonomy after postname
I got a problem with wordpermalink. The site below is using directorypress theme, I need to to show the post url in this format post-name/state/city where country->state->city are in parent child ...
-2
votes
0answers
27 views
Should I do multiple installs or use wordpress multisite?
I am managing the systems for a learning group at a large company. We are going to start using WP to help with our LMS. I am right now trying to decide if I should use WP multisite or do a bunch of ...
0
votes
1answer
27 views
Featured Image If Else Condition
I have my banner background set to the URL of the featured image.
<div id='xpro_shell_text' >
<?php if (has_post_thumbnail( $post->ID ) ): ?>
<?php $image = ...
0
votes
1answer
26 views
Translating (WooCommerce) placeholder text
So, as the title says, I'm trying to translate the output text of WooCommcerce on the "Cart" and "Checkout" pages, it currently says "select a state" where I want "select a province".
I was not able ...
0
votes
0answers
12 views
Filter does not modify wp_video_extensions but hard coding works?
I have a added a filter to extend the supported video extensions in WP 3.6 as follows:
function dce_add_mov($args){
$args[] = 'mov';
return $args;
}
add_filter('wp_video_extensions', ...
0
votes
1answer
15 views
WooCommer Product Category Loop - How to change the display order of the rating and price?
I want to do a very very simple thing : To re-order the display of the rating and price information on a WooCommerce product category loop. Now in the product category page I got 5 products, all of ...
0
votes
0answers
42 views
pagination broken - clicking next displays “page not found”
I'm a newb at Wordpress, but my HTML/CSS is ok. My site is: http://www.modernfuture.net/wordpress
been working on it this for quite some time & I'm done with the headaches, need to get some ...
0
votes
1answer
18 views
Custom single page based on which custom page template is selected
I have two custom page templates ("template-blog-left.php" with the sidebar of the left side, and "template-blog-right.php" with the sidebar on the right side.) but I don't know if there's any way of ...
0
votes
0answers
22 views
Custom post type permalink with category and paging
I have a question would help everyone
I have custom post type: “convert”
And I added categories to post type
Now, I want my permalink is:
http://example.com/convert/category_name/
I use Custom ...
0
votes
1answer
30 views
custom query for both category and pages using global $wpdb;
I have a custom query returning categories, but I also need to return some pages with a particular post ids. How would I add those? They obviously have no taxonomy and are page post types.
Below is ...
0
votes
2answers
28 views
CMB select with data from CPT
I'm using the CMB framework for creating metaboxes (https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress)
and I want to add a select box which prepopulates with titles from a custom ...
2
votes
0answers
32 views
Custom ReCaptcha Login
I'm trying to add ReCaptcha to my login page. I know there are many many plugins by per request I cannot use plugins. So far so good, I'm able to add the Captcha to my login but unable to show errors. ...
0
votes
0answers
12 views
Wp Favorites and Buddypress profile?
I have got this plugin to work efficiently, but I am looking to learn how to allow other members to see all other members favorites (not just their own) in their Buddypress profile? I read another ...
0
votes
1answer
18 views
Simple Custom Metabox Not Saving
I'm not quite sure why but I've been playing around with all kinds of different solutions but none seem to work. I've traded update_post_meta with add_post_meta and even broke it up into 3 ...
0
votes
2answers
41 views
Single Page Wordpress CSS and JS links
i got a custom template with blog post in it...
In my header.php, inside the <head> i have my links like this ...
<link href="http://www.mysite.com/css/design.css" type="text/css" ...
0
votes
0answers
27 views
Customizing WooCommerce checkout page
I'd like some help with customizing the functionality of my WooCommerce driven site. The link can be found here: http://seekoften.com/eCommerce/checkout
My question is, What files / lines of code ...
0
votes
0answers
58 views
Include a external PHP file into a Wordpress Custom Template
Is this even possible? I mean, im trying to add a blog into my site.. I already have the header,footer and sidebar layout in my site. can i use those in my custom wordpress template?
<?php
/*
...
-1
votes
0answers
23 views
Update featured image before present post
Site leases images therefore they need to be replaced once they expired. We are planing to include the purchase date and expiration term (in days) as part of the image name. For instance: ...
0
votes
2answers
56 views
Remove/Hide a Widget on a Custom Template
i want to make a custom template using Genesis..
I added a custom Menu just by adding a widget on WIDGETS section and placed it on the top right side of the page. But i want it to be removed in a ...
0
votes
2answers
26 views
Share WordPress Database
Does the WordPress installation has to use an exclusive database? I'm building a website with custom pages, that access a MySQL database. But the site will also have a WordPress installation. Can I ...
1
vote
1answer
36 views
Creating search form for custom database table
I have a custom table in the WP database which I can display fine, with pagination, using the following code:
<?php
global $wpdb;
$rows_per_page = 50;
$current = (intval(get_query_var('paged'))) ...
0
votes
0answers
19 views
Add CSS Classes Field to Media Uploader
I need a functions.php hook that will allow me to add the standard CSS Classes field to the "ATTACHMENT DISPLAY SETTINGS" section of the Media Uploader modal. I know the css class field can be ...
0
votes
0answers
35 views
get_theme_mod(); returns nothing
I am having trouble with my customize field in WordPress. The field shows up fine in the customize section of WP but it just does not echo out.
<p> <?php echo ...
1
vote
0answers
16 views
How can I set the color of the border area areoun the page/post [closed]
I'm trying to change the colors on a my WP site. I've made progress with the body of the posts/pages (as seen in this question). However, I haven't been able to extend it to the border of the ...
0
votes
0answers
5 views
Simpler API to build quick edit for custom posts type
The actual API for building quick edits it's not very logic, and seems more an hack than something built for the purpose.
Is there something simpler to use, maybe a wrap around the API provided by a ...
2
votes
2answers
50 views
Adding callback function for wp_ajax_ has no effect
I was trying to add one more callback function to the WordPress AJAX action woocommerce_apply_coupon.
This action is defined in the WooCommerce plugin, I want to add my own callback function to this ...
-1
votes
2answers
65 views
WooCommerce Checkout page customization
I'd like some help with customizing the functionality of my WooCommerce driven site. The link can be found here: http://seekoften.com/eCommerce/checkout
How can I customize the output so that it ...
-1
votes
0answers
31 views
Woocommerce - Changing formatted_billing_address output/display?
In woocommerce using "formatted_billing_address" results in the billing address being displayed. Issue is it places each item on its own line by default such as:
John Doe
Company Name
123 Maple Ln
...