Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
2answers
82 views

How to add page content into another page

I'll try to explain myself and what I'm trying to gain. I run a DJ business and am trying to get into the Wedding market. One way is to make sure the slug of each page has "wedding-(venue name).html ...
0
votes
1answer
224 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
632 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, ...
1
vote
2answers
1k views

Get posts of ONE taxonomy term of custom post type

I have a custom post type called portfolio and a taxonomy called locations. In the taxonomy I have various terms, like paris, berlin, london etc. How can I get only the posts which are related to ...
1
vote
1answer
681 views

Custom Dashboard Home Screen Options

I want to make the entire Homepage on the Dashboard empty and add in my own custom screen options. How do I go about doing this? Do I create one from scratch or edit what's already there? Is there ...
0
votes
2answers
866 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
2answers
373 views

Post titles and thumbnails as links to custom post types?

I am struggling with the php structure. How do I need to rewrite the code to get the links to the titles and thumbnails of the custom posts? <ul class="thumbnails"> <?php $pfportfolio = ...
0
votes
1answer
96 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
46 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
127 views

Wordpress as template engine

i would like to use Wordpress as template engine in my custom bootstrap/zurb foundation sites. I found there's lot of custom styles included in wordpress articles by default. Are there any ways how ...
1
vote
1answer
200 views

Wordpress custom login page

I found a little article on how to create a custom Wordpress Login page and I am wondering if this technique/practice is safe to use? The article: ...
0
votes
1answer
95 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…" ...
-1
votes
1answer
74 views

Highlighting Sub topic in a post?

Have seen this sub topics highlighter in many blogs. It gives a special attraction to a sub topics used in the post. Is this a plugin or part of code? How can I add this? http://imgur.com/UbGpz7j
0
votes
2answers
307 views

Showing Meta Box via Jquery Checkbox

Ive been fooling around with both Jquery and PHP and Im trying to setup a website for a sports team. I've created a custom post type called "Matches" and in there I've created two Custom Meta Boxes. ...
0
votes
1answer
192 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 ...
1
vote
1answer
217 views

WordPress Custom Fields (Checkboxes with multiple values)

I am currently using a custom post type, with a custom field that is a checkbox. There are multiple values in the checkbox including: Laptop, New, No-Marketing-text and several more. If ...
0
votes
1answer
141 views

Menu - custom structure

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

Removing customise fields during plugin uninstallation

I created a plugin that insert a field on the customise theme options. Since I use add_action( 'customize_register', 'myregister' ); to create the customise, should I use remove_action( ...
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
0answers
135 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 ...
1
vote
1answer
1k views

Admin only menu/page

Is it possible to show a menu item If only admin is logged in) For any other user the menu item does not appear. For example: if there are a few pages that have shortcodes or other functionality ...
0
votes
1answer
76 views

Featured Images for Tags?

Is it possible to somehow create featured images for tags or custom taxonomies. For the sake of explanation, I will give an example of the possible functionality. Say I am running a website that ...
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
1answer
40 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 ...
1
vote
2answers
70 views

How do I add JavaScript that will execute on all my sites in Multisite?

We are creating an internal network of sites using MU and there are some small things we would like to have globally on all the sites without having to add them individually for each site. I would ...
0
votes
5answers
109 views

How do you use Wordpress for a website that's not in a blog format?

I'm developing a company website which has to accomodate easy changes by non technical people. I've been asked to use Wordpress as the CMS, but the website I've created is not in a blog format. This ...
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
164 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
106 views

Add Class After 4th Post

I need to add a "div" after the 4th post. I am showing 8 posts on the page and the code i am using above shows the div after the 4th and 8th... o just need the 4th to show not every 4th, just after ...
0
votes
1answer
515 views

How can I remove categories in menu in custom post type?

I'm creating a custom post type and have added categories taxanomy. This can be done in two ways: // In $args array 'taxonomies' => array('category'), // or calling a function ...
3
votes
2answers
892 views

Menu Link Redirect Based on Username or User ID

I am building a client portal where my clients can log in and see all their pending projects, completed projects and create new projects. Though I'm stuck at the start. The dropdown menu is called ...
1
vote
1answer
106 views

custom post template file not shown, instead all the time 404.php

i'm completely confused, want to use my own template file for a custom post type and of course i read all about this here or in the Codex ...
0
votes
1answer
54 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
1answer
102 views

How to update theme from localhost to online site

I am currently working on a project, actually we have an online site, we are thinking of revamping this. On this online site we have many blogs already. We have purchased a theme also and doing many ...
0
votes
0answers
341 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
117 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
65 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
1answer
232 views

add_action does not work when instance multiple tab-containers via template-file

I wrote my first class in functions.php which I want to use to create multiple tabs with a simple call all over my template files. When I create a new instance directly in functions.php everything is ...
-1
votes
1answer
647 views

Admin new order email customization

I'm using Woocommerce with Gravity forms and the Woocommerce gravity forms plug-in. I want to change the new order email (admin-new-order.php) so that instead of getting an email that lumps all ...
0
votes
1answer
79 views

Custom Post Type, post-formats associated to custom post type > 404 archives

I'm finishing a custom layout. Here's the code of my Custom Post Type <?php /* ------------------ [ CUSTOM POST TYPE ] ------------------------- */ add_action( 'init', 'create_post_type' ); ...
0
votes
1answer
116 views

Clickable image link sends people to wrong URL

On my website www.wilsonstransportation.com, on the header of our custome theme page, we have a "Get a Quote" image on the right hand side. When you click it, it is taking people to ...
3
votes
1answer
130 views

Can WP Customizer work with single pages or posts?

Theme Customization API has been added in WP 3.4 and is described here: https://codex.wordpress.org/Theme_Customization_API It makes it easy to add options such as "change background color" for ...
0
votes
2answers
46 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
2answers
156 views

$wpdb is queried but results don't show

I am trying to show a list of custom post types on a page template. When I view the page, instead of seeing the different posts, I see the actual page repeated. For example, If I have 5 posts, the ...
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
167 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 ...