The customization tag has no wiki summary.
0
votes
1answer
56 views
How can i display on front page a movie that is atached in a post type
Im building a cinema site,
In post's i store the Movies
I have a post_type name "box-office" , this post type have 1-10 custom fields, with i can select the movies stored in post's.
locul_1 - is one ...
0
votes
0answers
18 views
Custom Pagination for a Page with Comments [duplicate]
Possible Duplicate:
Pagination not working with custom loop
Hello everybody and good even.
The Problem:
I have a Page where the comments are listed like the posts a displayd in a ...
0
votes
3answers
95 views
Different logo on homepage
I have uploaded a file as my main logo within the theme settings but would like a different logo on the main page. The theme I am using has a custom css option within the theme settings, can I use ...
0
votes
1answer
109 views
Custom tabs widget don't work in google chrome, is blocked, do not change the tabs. Why?
Code is the problem or is a Google Chrome issue?
Here is the code:
/*-----------------------------------------------------------------------------------*/
/* Create the widget
...
0
votes
2answers
2k views
WooCommerce: multiple input field for multiple product variations
I'm trying to customize the default Woocommerce theme to my needs.
I have a product that comes in two variations:
it's wine, so variation A is a 6 bottle pack, and variation B is a 12 bottle wooden ...
0
votes
0answers
29 views
What capability is required to view posts, scheduled in the future, by someone else?
So, I'm trying to create a number of custom roles within my theme to meet with the custom requirements of the site.
The first, and most simple, being 'external viewer' who I want to simply be able to ...
2
votes
1answer
121 views
In the new Theme Customizer API, how to send a value from the front back to the admin panel?
I'm digging a bit into the new Theme Customizer API, in particular into the javascript one, and what I find is delighting.
I've managed to add my own custom parameters, and I also have the javascript ...
0
votes
1answer
47 views
Moving from one WP site to a new WP site incrementally
I'm working on a site that will be changed incrementally (i.e. first the new Homepage will go live, then product pages, then contact, etc). It will not be a switch-flip, wholesale changeover between ...
0
votes
1answer
29 views
Looking for a way to take readers to random post when clicking a link
I did some reasearch but couldn't find a way to do it. Just to be clear I don't want to show a widget list of random posts on the sidebar. I want the ability for reader to click on a link that says ...
0
votes
3answers
710 views
Woocommerce: Changing catalog image sizes
I'm trying to make the images in my store/catalog bigger, and have succeeded in doing so but not without throwing off the formatting. As it is now, my images are 200px by 200px, but have changed so ...
1
vote
1answer
73 views
Custom static page get_header error
I have a pretty simple question. I want to make a static about page for my wordpress site. I don't like the format of the wordpress static pages that are managed through the control panel so I thought ...
0
votes
2answers
197 views
How can I disable parent menu item links?
I don't want to have the parent menu items of my site's nav menus linking to a separate page. For one thing I don't want to have a superfluous page. For another these links hobble site navigation for ...
0
votes
2answers
62 views
How can I hide custom field from users used for caching response from external api?
I have a custom meta box created using Rilwis meta box script(http://www.deluxeblogtips.com/meta-box/) inside my theme functions.php.
It has 2 text fields, one field is required to fetch results from ...
0
votes
1answer
52 views
Passing user meta through comment form
I want to create a hidden field in the user comment form storing the logged in users info (already created a custom field at registration) so I can pass it to the comments section to display on the ...
0
votes
1answer
274 views
Can a custom post type have a Parent Page?
I've seen a lot of posts out there in the Webiverse about assigning a page as a parent of a custom post type. After four hours I can't find a solution and need some help. I've create an "About" page ...
0
votes
2answers
61 views
Wordpress custom post type with folder structure in slug
I have setup a custom post type with the slug "interview" and it is working fine. I am trying to change the slug to "magazine/interview" but I keep getting 404 errors when I try to access the posts ...
0
votes
2answers
87 views
Can I the caption shortcode to set caption to a data attribute, and with the image's alignment intact?
I want to output an image caption in this kind of format:
<img class="alignleft size-medium wp-image-316" alt="Image Title" data-caption="Here lies the image caption" ...
0
votes
2answers
72 views
Custom MySQL query to list post
I have the following query:
SELECT
p.*
FROM
orders_items oi
INNER JOIN products pr
ON pr.`post_id` = oi.`product_id`
INNER JOIN posts p
ON p.`ID` = pr.`post_id`
AND p.`post_type` ...
2
votes
1answer
87 views
Use plugin or custom post type for game score functionality
The last couple of days I've been working on a plug-in that adds the functionality of keeping scores from a paintball game. When I manage to finish it I want to present players with a form so they can ...
0
votes
1answer
93 views
how “manage_posts_custom_column” action hook relate to “manage_${post_type}_columns” filter hook?
How add_action("manage_posts_custom_column", "custom_callback_fun01"); relate to add_filter("manage_{xxxx-xxx}_columns", "cusotm_callback_fun02" );?
How do they both work together? By using these ...
1
vote
1answer
1k views
Custom Login and Registration form in Ajax
How to create the custom login/Registration form using AJAX.
0
votes
1answer
81 views
Need Advice to Working with Custom Post Meta
I'm working with some quiz script which is using javascript to init the script, the data structure which I working on is look like this
var quizArray = { 'contents': [{
'question': 'First ...
1
vote
1answer
273 views
Custom search page and search by title, content and tag
Can someone review my code , I need to know better solutions or any bug.
Okey ! , I made a PHP file to get search results by parameters and search by title , content and tag
PHP's head look like:
...
0
votes
0answers
14 views
Add “.html” Suffix to Category URL Structure [duplicate]
Possible Duplicate:
Add .html (dot HTML) extension to custom post types
I have a site wich the post url structure is "%category%/%postname%.html"
I would like to follow the strutcture and ...
0
votes
2answers
33 views
Custom PHP-coding in MU installs
I have a WPMU install with a couple of sites on it. I'd like to add some subdirectories that are not wordpress blog pages but do contain working PHP code. They do not use any of wordpress's ...
0
votes
1answer
172 views
How to allow visitors to filter posts by multiple taxonomies
I am trying to allow users to filter a custom post type list by multiple taxonomies. For Example lets say my custom post type is clothing and it has two custom taxonomies brand and type associated ...
0
votes
1answer
55 views
How to include stylesheet in custom admin using parent_slug
Using this code from codex:
function my_enqueue($hook) {
if( 'edit.php' != $hook )
return;
wp_enqueue_script( 'my_custom_script', plugins_url('/myscript.js', __FILE__) );
}
add_action( ...
0
votes
0answers
22 views
Custom Post Type As Front Page In Wordpress 3.3.5 [duplicate]
Possible Duplicate:
How do you use a CPT as the default home page?
Hello my new custom post type is called "landing_page"
And I want to add one my landing page as front page, but in ...
0
votes
1answer
77 views
Custom Query Arguments
I want to run a query base on the following $args. My question that how to pass variable number of arrays to tax_query as currently i have two arrays within tax_query it can be 1 , 3 or 5 and so on. ...
0
votes
1answer
226 views
custom walker to add iconfont to wp_nav_menu
I want to add the font awesome iconfont to my menu list items, so I need to make a custom Walker.
Because the font per menu item will be different I was hoping to use the css class in the WP backend ...
0
votes
1answer
126 views
wp_mail - using a custom field value
Can this work? I want to send a email when a post is published to the recipient, that is called in custom field.
EDIT I changed the code to another example I found.
function ...
0
votes
1answer
53 views
How to keep a record of changes to a custom field?
I have a custom post type that hold real estate listings and I need to figure out a way to keep a record of the price of the property is listed for. For example a user lists a property for sale and ...
0
votes
1answer
106 views
Function to add custom HTML into head in custom post-type list page
How can I add custom HTML/PHP file into head where custom post-type list showing like this ?
Any Wordpress function can do this ? or I can only do by JS(jQuery) to append my custom content ?
-2
votes
1answer
73 views
Greyzed theme - how to customize header? [closed]
I am using the Greyzed theme and I am trying to customize the header to put a logo on top. i have no idea where to even begin. can i have some help please?
0
votes
1answer
213 views
Is it possible to have hierarchical taxonomy and hierarchical custom post types in one permalink?
Is wordpress capable of having hierarchical taxonomy and hierarchical custom post types in one permalink ?
I would like to do the following:
tax-1/tax-2/cpt-1/cpt-1-post/cpt-2/cpt-2-post/
in other ...
2
votes
1answer
1k views
Customizing gallery shortcode in 3.5
I'm trying to customize the gallery shortcode using the new gallery system in 3.5 and I'm having a bit of trouble and can't figure out where I'm going wrong. This is what I've got at the moment (in ...
1
vote
1answer
111 views
Author bio Social Links
I'm using simple code to show user social link in author bio.
in functions.php
<?php
function add_remove_contactmethods( $contactmethods ) {
// Add Twitter
$contactmethods['twitter'] = ...
1
vote
0answers
39 views
Advanced author permalinks
I'm trying to build permalink structure for author archives that would allow me to display different custom post types posts in 'subpages/subarchives' of author archive.
So the idea is to change ...
3
votes
1answer
138 views
Custom maintenance page
Is there a way to add a custom maintenance page from theme folder?
I have the code for the activate maintenance mode but i can't get the styling..
function activate_maintenance_mode() {
if ( ...
0
votes
2answers
832 views
Add Field to WordPress Register Form
How can I add a field to the WordPress Register form? For example, I want to add the "First Name" field in the users profile to the Register form, but I can't figure out how to do that.
The field's ...
0
votes
1answer
214 views
Usage of custom post types in a custom admin menu
This question is a little hard to explain but i will try to be as clear as i can:
I have a custom theme that i am presently working on, within this theme i have added a top level menu in wp-admin ...
-1
votes
1answer
54 views
How to get .change trigger to work on wordpress admin.php [duplicate]
Possible Duplicate:
$ not defined using jQuery in Wordpress
Ok, so I'm having some trouble here. I'm customizing a plugin. I need a text field to automatically populate with the text of a ...
1
vote
2answers
30 views
get author in blog posts?
What do I need to do in order to have the author name in the blog posts on my wordpress blog?
currently when I view a post it doesn't have the author that wrote the post.
0
votes
1answer
21 views
How do I add a new template to my site
I am in the template editor for my WP site, and I want to upload a new file, but I can't find that option anywhere. I want to make a new php file for a custom portion of the site. Where can I find ...
0
votes
2answers
139 views
custom css and javascript not working on page defined as template?
I have written a web-page which is a web-app (a simple card database using php, mysql, and styled with css3). The page works as expected.
A friend of mine proposed me to use wordpress for everything ...
3
votes
1answer
42 views
Custom taxonomy: same terms, but for different years
I'm building a directory of people in a boarding house. What I'd like to do, is to be able to assign the following metadata to each person:
Room number
Parking space number
Leadership positions
...
-2
votes
1answer
48 views
Complete Custom Style Part of Site
I have a wordpress site, and I need to apply custom styles to one page, I see the custom styles option, and some of them work, but others get overwritten. Is there a way I can apply strictly my own ...
0
votes
1answer
35 views
custom page template won't display new code [closed]
I have a normal custom template with some code. I tried to update it's content to show something differently on the frontend page but it just won't show the new content. It stills show the old content ...
1
vote
2answers
125 views
Add nav menu CSS class to body
I would like to add the CSS class of the current menu item (and the classes of its parents & ancestors) to the current page body classes.
For example, if the current menu item has a CSS class ...
3
votes
2answers
105 views
How do I prevent one of two multiple loops from repeating on a second page?
I have a page with multiple loops, but the first loop repeats on the second (or Older) page. I want to keep the formatting but stop the post from repeating.
You can see the problem here: ...
