Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
2answers
290 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 ...
0
votes
1answer
92 views

Stylesheet overriding in Child theme

So here's my problem : I have two stylesheets in my child theme : style.css and style-premium.css (Which contains only modified CSS). My posts use one of these stylesheets depending on their category. ...
0
votes
2answers
133 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 ...
0
votes
0answers
923 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 ...
0
votes
1answer
82 views

How to add functionality to an existing theme (using child themes)

The reason why I ask such a question isn't because I don't know how to do so at all, but rather I think the way I've trying to go about it may be wrong and that I don't understand how wordpress works ...
0
votes
0answers
50 views

Turn post into simple slideshow

I'm new to WordPress development, but I've coded a template page for a friend. I'm trying to convert the following html into a single post: <div class="container"> <div ...
0
votes
1answer
90 views

Issues with Post 2 Post Plugin

I am trying to create connections between some of my posts. I have pairs of posts that need to go together (post with a quiz). I found the Post 2 Post plugin, which seems perfect for what I need. I ...
0
votes
0answers
86 views

Custom Post from Custom Query with Multiple Custom Taxonomy Terms with Pagination

I have a page template like having code, (on the link below) http://pastebin.com/mZaRLKp2 Actually it's the problem of getting custom post list having all the multiple custom taxonomy terms with ...
0
votes
0answers
42 views

Using Hooks. Thematic

I've added some custom fields to pages and trying to figure out the best way to display them. I was thinking I could use the get_field() option and hook into a sidebar, but am not really sure how to ...
0
votes
1answer
48 views

retrieve theme custom settings

I have modified twentythirteen template adding custom settings for my theme. All settings appear in theme customization section and I am able to save them. I am using WP 3.6. How to retrieve those ...
0
votes
3answers
341 views

Customized Comment Form Issues

I'm developing a Wordpress theme and I faced a problem while customizing a comment form. What I wanted is to eliminate URL field and put my own classes for name and email fields. I'm doing it like ...
0
votes
0answers
108 views

Upload button in metabox not working

The upload button is not working when put inside javascript, but it works when I put it outside the javascript. /* -----------------------upload button------------------ */ function ...
0
votes
0answers
72 views

Changes in a home, two columns

I'm working with this template (this is a demo), I need the post shown on the home to appear in two columns rather smaller in width. Enclosed is my index.php code, I've tried everything by various ...
0
votes
1answer
144 views

Adding thumbnails for non-image attachments

I'm working on a site that provides Photoshop resources. I would like to create a page offering brushes for download that displays a thumbnail image and a link to a .zip file for each brush set. I was ...
0
votes
0answers
154 views

I want to create a drag and drop image collection in wordpress custom post

In my wordpress add new property (custom post type) page I want a small area where i can add multiple images with standard uploader and then drag and drop to reorder them and then show them on front ...
0
votes
1answer
209 views

display certain category on custom template page

i duplicated a portfolio column page template ... On this page I want to show only one category , instead of all categories... I tried a lot, but couldn't get it worked... this is the original code ...
0
votes
2answers
504 views

How to add icon over specific thumb

I wanted to do the following, and I know its possible, but I don't know how. I'm looking at in_category, but it doesn't make to much sense. Basically what I want to do, for an example on my homepage, ...
0
votes
2answers
712 views

Archive Page for Custom Post Type is not Working

I have registered a custom post type "tutorials" with the following snippet. <?php /* Template Name: Tutorial Archive */ get_header(); ?> <div id="content"> <div ...
0
votes
1answer
72 views

How to duplicate “Pages” section in the control panel?

I want to create my own custom page (gallery) tab like PAGES in the control panel. Its help me to organize the gallery pages under "Gallery" name. How can I do this? I can do this with custom posts ...
0
votes
1answer
25 views

Is there a way to include some external script to some or all pages in a wordpress site?

My current requirement is to stick a countdown timer on the top of every page or on the side of all pages. But since i get too many requests like this, i was looking for a technique with which i can ...
0
votes
0answers
42 views

set theme's default slider to show woocommrce's product

we know that theme's slider just can be set to show image of site' category and we can not change it to show image's of woocommerce's categories. there are ways to make a slider to show it. but I'm ...
0
votes
1answer
94 views

Setting Custom Wordpress “Posts page” AS “Front page”

While I don’t necessarily wish to establish a "STATIC" Front page, I would like to employ a custom page as BOTH my "Posts page" and my "Front page". I’ve created a PAGE titled "Teaching Kids To…" ...
0
votes
1answer
184 views

featured images - custom links

I'm using the Fusion Elegant Theme, but am having an issues with the featured slider. I added custom "read more" links for my slides. However, where a featured image is assigned, clicking on that ...
0
votes
0answers
75 views

Pointing multiple subdomains at the same WordPress Installation

We have some branded subdomains for clients in our application. so client.ourdomain.com gets some minor customization to the look and feel. We are now creating some marketing pages and implementing ...
0
votes
1answer
128 views

Menu - custom structure

<ul> <li><hr class="menu-dotted-line"/></li> <li class="menu-button-bg"> <div ...
0
votes
1answer
49 views

WordPress Customize panel - accessing the values

Here is the code I'm using to add the section to the Customize panel. function apple_customize_register($wp_customize){ $wp_customize->add_section('apple_footer', array( 'title' => ...
0
votes
2answers
18 views

How to have more post in a page than in your home page

I am new to the world of WordPress. I own a new site and I'd like my home page to display the latest news and articles (which I accomplished to set in Settings > Reading), but I'd like another page to ...
0
votes
0answers
120 views

Multiple Comment Threads + Form on one page

i was wondering if somebody has any reference on how to have a wp page with two totally separate wp comment threads + form side by side without using iframes. its a concept page that is basically a ...
0
votes
0answers
45 views

Custom page templates readmore tag is not working

Custom page templates readmore tag is not working. When I insert readmore before some word (in WP Editor) that's not working when I visit the page. I don't need post_excerpt();
0
votes
1answer
152 views

Make title field multiline in the add new custom post page?

I have a custom post type named "news". The title field holds the raw news and i added another custom field that holds the published news. The published news field is a text area so i can use enter ...
0
votes
1answer
53 views

Assign classes to Custom fields

I have a post with 4 custom fields, and I am using the_meta( ) to display these. I want to add an image to the list items, but a different image for each item eg. key "Client" will have a small image ...
0
votes
0answers
329 views

Customized theme Custom Header HTML

I have upgraded from 3.5.1 to 3.5.2 and the problem I am facing is with my header that I am using customized theme and Custom Header HTML that when I was using 3.5.1 it was working fine and I could ...
0
votes
2answers
96 views

WP Customizer - what types of fields is it capable of supporting?

I just found this reference of WP Customizer types of data input: https://gist.github.com/Abban/2968549 But I wonder if there's an option to have for instance a range slider? Something that would ...
0
votes
1answer
60 views

Grouped custom taxonomy query

I have created 1 custom post types: image-gallery 1 custom taxonomy: media-category 2 categories (under Media Categories): categoria-uno and categoria-due I need to print the records grouped by ...
0
votes
1answer
47 views

trying to write a variable into a wp_query, need help!

I am not a php coder, I am a designer and html and css guy. However, I am stuck at the moment trying to write a piece of code that will find the name of a post, then get and display all of the posts ...
0
votes
0answers
23 views

list posts of a person by a variable?

Basically I have some portfolio code that runs user bio pages in my site. here is the link Entechpc.com Meet Our Agents . When you click on an agents image, it takes you to his bio which is really ...
0
votes
2answers
45 views

Custom field in a shortcode?

I cannot get the image from one of my fields into a shortcode. (it works with get_the_post_thumbnail($post->ID, 'thumbnail') but I need the value from the field udstiller logo. function ...
0
votes
1answer
34 views

Create a Network of Different websites with wordpress

I followed wordpress instructions of creating network of websites. I created two subdirectories; /site1 and /site2. Why doesn't WordPress create different folders for both the subdirectories in /theme ...
0
votes
1answer
140 views

How do I separate link levels in a custom menu walker?

I am trying to build a custom menu walker and I am unclear on how I would be able to build a UL for top level menu items and a separate UL for all menu items of lower levels. Essentially I am trying ...
0
votes
0answers
66 views

Make a custom URL and link to custom Template

I have a set of categories in my WP site. I also have a "team" thing in my site. Now when a user makes a new post he selects a category and then chooses the team to which post belongs. I have added ...
0
votes
1answer
149 views

Using Custom Fields in post, need to put into the_content

I have some custom fields that I need to get inserted into the_content, specifically after a gallery, that's posted in the wordpress backend. Here's my current code for pulling the data out. I can ...
0
votes
1answer
77 views

Change loop order via form or link (jquery, not URL)

I would like to change the loop order via a link or form input, but it can`t load via URL, because i need to orderby=meta-value and this cannot be done via url args (acording the codex) , only like ...
0
votes
1answer
106 views

Custom Wordpress SQL Query 4 posts per custom taxonomy

I'm currently developing a Wordpress website that has a large navigation that lists the 4 most recent posts within a hierarchical taxonomy. I dont have any experience with $wpdb, but it seems like ...
0
votes
2answers
734 views

List Categories (wp_terms) and count posts

I have a problem (of course) and I'll go straight to the point: I need to list all the custom categories and count the posts for each category eg. Category 1 (xx posts) Category 2 (yy posts) etc.. ...
0
votes
1answer
36 views

Permalink structure as code in back-end?

I have this permalink structure: /%year%/%monthnum%/%postname%/ What I want to is, output the link of a post in the back-end and let users input a postname, that will automatically lead to that post ...
0
votes
1answer
158 views

Get a different size of Image thumbnail While working with custom metabox

I am using custom metabox for a page in my new project, I am using it for uploading image, and attaching it to the page. It's working fine, I can select image or upload the image using WordPress' ...
0
votes
2answers
67 views

Custom search by several options send on form not works

I am using the Advanced Custom Field Plugin to add custom fields for the users profiles and display a list of users in the frontend of site with Simple User Listing Plugin. I need to filter a list of ...
0
votes
0answers
87 views

Add a header above blog posts but below page header

How do I add an image to my blog page. I want it to appear under the page header but before the blog posts. It will be a static image (masthead for the blog). This is the address for the page: ...
0
votes
0answers
52 views

Show list of posts only on category site

I used the following code to create a list of my custom categories and custom post types: <ul> <?php $custom_terms = get_terms('project_category', ...
0
votes
0answers
105 views

Order custom fields by string length

I am trying to reorder a custom field from one of my Custom Post Types. I'd like to get the custom field string which is called 'first name' and order all of the first names by their string length. ...