Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

-1
votes
0answers
4 views

Customization in Wordpress Plugin - Search result page

I am using a WordPress plugin for travel search by Travel Grove. This is the url : http://www.designgridstudios.com/demo3/ . After filling the search form it points to Merchant site and compare the ...
0
votes
3answers
25 views

Featured Image not showing in admin

Currently im making new theme and had the idea of adding featured image in the admin side of wordpress, unfortunately its not working this is what i have tried I have added this code in functions.php ...
0
votes
0answers
9 views

Add field to the search box ¡

Hi I have a custom post type, and I want to add a field to the search form. For example a simple dropdown. I don't find any actions or filters. Anyone knows how can I add this field? Thanks a lot
1
vote
1answer
11 views

Programmatically (PHP) get the nr. of items in the primary navigation menu

I need to get the nr. of items in the primary navigation menu. I need this to determine the width in percentage of each list item. So I also need to change/add to the css width attribute of the list ...
-1
votes
0answers
8 views

I want to create 'my-page' or 'user-page' and Mixing the pages

help me! plz In wordpress I wnat that would you like to show me sample code that create 'my-page'(./member/username) without the use of plugin. and that come out on 'my-page'(./member/username) ...
0
votes
1answer
12 views

WordPress post submit page

How to create a custom page in WordPress To submit a post? Where registered users can submit their post?
0
votes
3answers
20 views

Modify files without losing customization after updates

I would like to know what is the best way to modify a file in Wordpress, such as header.php or single.php so when you update the theme, the changes remain there. I am not sure if this can be done with ...
0
votes
0answers
26 views

Conditional required fields for Wordpress Contact Form 7

I know this might be considered off topic but I am not sure where else to post this as it also pertains to WordPress as well as the plugin Contact Form 7. If you know where I should post this other ...
0
votes
0answers
18 views

Best way to add custom code to pages in Wordpress

I've a question relating to Page templates in Wordpress. Firstly, I should point out that I'm about to undertake quite a large project for a friend of mine and I'm looking to to it in the best way ...
0
votes
0answers
18 views

Loading posts from another wordpress database on the same server

I've searched quite a while and found several solution but apparently I'm doing a lot of stuff wrong. I'm having 4 different Wordpress sites and need to load the latest 2 posts of each site. For ...
-2
votes
0answers
25 views

how to get custom woocommerce product description excerpt?

Here is the code I have in product.php <?php tabs = apply_filters( 'woocommerce_product_tabs', array() ); ?> <div> <?php if ( ! empty( $tabs ) ) : $i=0; ?> ...
-4
votes
0answers
37 views

Problem with Custom Theme Development [on hold]

I have created a custom theme in Wordpress. Its working fine in Localhost but whenever I am testing it in live environment it is showing below errors. Whenever a page is created, it shows blank ...
2
votes
3answers
36 views

Get all products with a custom attribute

I want do a custom query to get all products with an especific attribute ("demo" in my case) The query what i want returns from this: a:5:{s:4:"demo"; a:6:{s:4:"name"; s:4:"DEMO"; ...
-1
votes
0answers
11 views

breadcrumb link in woocommerce

I'm using woocommrce with superstore theme. I have some php pages that I have coded outside of wp. I have added my theme header and footer includes. The breadcrumb link is returning a 404 page not ...
1
vote
1answer
15 views

Custom login with external provider iframe and data object

I'm trying to couple an external authentication system as a replacement of the actual WordPress login, but this external authentication system is a little bit weird according to many tutorials and ...
0
votes
1answer
23 views

How to disable jQuery tabs when customizing the theme

Regarding this yet unsolved bug, how can I disable jQuery Tabs from the frontend when using the theme customizer?
0
votes
0answers
5 views

Hiding Canvas-WooThemes layout 'General Settings' in WordPress backend [on hold]

I'm trying to remove Canvas' 'General Settings' custom postbox in the back end of the post. Duplicating the code I used to successfully hide the slugdiv, I have been trying to no avail to hide the ...
0
votes
0answers
11 views

wp_include_post in custom post with coustom field

I'm new in wordpress and my english are not good. I'm using Custom Post Type UI plugin to create a post type "Product" and Advanced Custom Fields plugin to create some custom fields like address. Now ...
0
votes
1answer
12 views

Add custom column to Users admin panel with Types user custom fields?

I added custom columns but now I don't know how to get the date from the fields to show... and I have an error in my code. Can someone help? Thanks Here's the code : function ...
0
votes
0answers
8 views

A Customizer checkbox control that sets the setting to “” or to “blank” and show() or hide() a color control

Are you familiar with the Customizer core $wp_customize->get_setting( 'header_textcolor' )? It will become available once you add_theme_support( 'custom-header' ). It have two controls, one is a ...
0
votes
3answers
30 views

Page uses index.php instead of custom template while changing permalink [on hold]

I'm asking this question with the hope. Here is the problem: I made a custom page template with comments in it [/Template Name: custom page template/] and assign this template to a page. This page ...
0
votes
0answers
3 views

Set the transport of the Customizer 'header_image' core setting to 'postMessage'

To activate the Customizer core section Navigation (ID: nav), you need to: add_theme_support( 'custom-header' ); I already tried to make the transport of the Customizer header_image setting ...
0
votes
1answer
19 views

WP_Query for CPT with filter by another WP_Query

I'm working on a project have 2 CPTs: Projects Units Every Unit has a meta value containining the id of Project Every Project is assigned a custom taxonomy named Regions Now I need get all Units ...
0
votes
0answers
9 views

Importing Custom Data From Bespoke CMS

I've seen various answers to parts of my question but not a "complete" answer as yet. If one exists, please do help me out and let me know! We currently have a bespoke CMS running a website. What ...
1
vote
1answer
40 views

Search results ordered by custom post types are not grouped

For a WordPress website I have a couple of custom post types, named cities and books, and also the regular blog posts. I have customized the search results (only search in the post title) page so that ...
0
votes
1answer
17 views

Create a custom admin panel

I'm creating a site that needs to be managed by a client through WordPress' backend. I think the interface may be too complicated for my client. I want to create my own interface from scratch and ...
0
votes
0answers
15 views

How do I Change the Size (Width in particular) of my Events Calendar?

My event calendar has too many events, and thus the calendar 'widens' with the events and overflows, cutting off part of Saturday (a very important day for events!) I would really like to slightly ...
0
votes
0answers
20 views

Create a Payment Plugin for a Custom wordpress webiste

I had got made a custom wordpress website. The Developer had provided me with PAYU INDIA plaugin plugin, but I have account with PAYUMONEY which is diff from payuindia. Problem : If someone can ...
0
votes
0answers
28 views

Display list of Child Custom Post Type into Parent Post

I am trying to display list of child custom post type "report" into parent custom post type titled "List of Weather Reports". I am using the following code: function wpb_list_child_pages() { ...
0
votes
0answers
15 views

Theme Customizing & Download [closed]

Heloo to all WP geeks out there and this is my first question out here. I'm very good in HTML5, CSS3 & JS and too some extent i'm quite good in PHP and developed many templates. So i want to start ...
1
vote
1answer
26 views

1 Wordpress installation with 2 pages: every page gets a separate domain

I have 1 WP installation with 2 subpages in it. Each of those 2 pages should get a separate domain: Wordpress (domain1.com) Home :: domain1.com Subpage (id=8) :: domain2.com Is this rather ...
0
votes
0answers
20 views

How can I achieve this site/url structure

Can anyone help me achieve the following. I have two custom post types, 'stores' and 'offers'. stores contain 'stores' one level deep. e.g. site.com/stores/store1 site.com/stores/store2 I then ...
0
votes
2answers
29 views

White screen error for a custom theme

I have created a theme for one of our clients using bootstrap framework! When i was working on it on Localhost it works Correctly, but when I Uploaded it doesn't work. When I Activate it from ...
0
votes
0answers
22 views

pagination in woocommerce order history page

Please help me to add pagination in my order history page. Pagination should work like WooCommerce products page. Here is my code: <?php $customer_orders = get_posts( apply_filters( ...
0
votes
0answers
23 views

How to filter Wordpress menu by tag name of the post

I have a simple wordpress theme installed on my server. The url is : http://urhalpool.com/wp/ I have used tagging against my post and those post added to my top and left menu. When I am filtering by ...
0
votes
0answers
19 views

how to remove sidebar on single post- and sub-pages using hooks/actions (Omega theme by Themehall

I've created a child theme from the 'Omega' parent theme by Themehall. I'm trying to remove the sidebar on all single post pages and sub pages of my blog and instead have a single full-width column ...
-1
votes
0answers
18 views

Plugin Custom Field

So I'm creating a slider plugin for fun but having issues trying to add a custom field to the post type so I can add a URL. I just need a simple input field that will display on that custom post type ...
0
votes
2answers
24 views

Define excerpt length by inserting read more tag

I have a blog where the excerpt length is set to 55 words and after that it automatically inserts the read more link. What I want to do is to manually determine the excerpt length by inserting a read ...
0
votes
0answers
8 views

displaying page attachment image in custom widget

So I have this custom widget where you can select a page from a dropbox and the widget will lead you to this page. The problem is i have no idea how to display the page's attachment image. ...
-2
votes
0answers
19 views

How to highlight recent page updates

In a WordPress page, I've got several links to other internal pages. I would like to change the color of all the internal links according to the date of the last update of their associated content, ...
0
votes
0answers
13 views

Insert XML data into the existing posts

I have nba videos news website and I want to insert xml data into the existing posts. For ex I have this post Pacers vs Timberwolves Match report and I want to import data from this xml: ...
0
votes
0answers
18 views

wp_get_attachment_image_src and add_image_size

In the question below. I am biting off more than I can chew. So I thought maybe I should revise this and start off smaller. I think I should start smaller. I'm not sure what I think I'm doing right ...
1
vote
3answers
62 views

How the WordPress sidebar works

Ok, the title is surely not good to explain my very basic question, but here it is: I just started creating a wordpress theme and the index.php has two columns: 1.) The main content and 2.) A ...
0
votes
1answer
15 views

how i remove meta tags generated from the theme

I need to remove some meta tags generated by the theme.i want to add my own meta data to my site page.How i can achieve this?where should i do the modifications?
0
votes
0answers
28 views

Add a product custom field's value to custom tab

I would like to add some custom tabs to the product screen. The values of these custom tabs would be the values of the custom fields assigned to the product. I'm using the following plugin to add ...
0
votes
1answer
35 views

Create custom WP_List_Table in post_type

I have a post type named "case". I want to create a "Sub-page" to list only my "cases". And add some custom HTML (search box, some labels, logos, etc..) Anyone knows how can I do this? Code to ...
0
votes
1answer
32 views

How to prevent XSS attack in wordpress theme?

I am creating a WordPress theme. What should i do, to prevent XSS attack in WordPress theme? i did not found much about it for WordPress Themes.
-1
votes
0answers
31 views

How to create wordpress post type with custom categories?

Hi I need a post page with my custom added categories. This is the structure. 1.Category1 1a.Sub Category1 1b.Sub Category2 1c.Sub Category3 2.Category2 2a.Sub Category1 2b.Sub Category2 ...
0
votes
0answers
17 views

Validate a form from metabox input for making a custom username/password protected page

I'm trying to make a page username and password protected. I created a metabox and a form. Metabox is working well. I want that if user types the true username and password, page content will show up. ...
1
vote
1answer
62 views

Creating bulk posts with Youtube videos

I'm a bit new to Wordpress and I'm a bit lost reading all sort of docs about creating bulk posts using PHP. I've wrote a small code that using Youtube API v3 to get all the videos from a Youtube ...