Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

1
vote
1answer
39 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
27 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
17 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
46 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
32 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
0answers
14 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
28 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
14 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
48 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
29 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
47 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
44 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() { ...
1
vote
1answer
32 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
22 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
48 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
109 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
38 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
2answers
53 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
18 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. ...
0
votes
0answers
54 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
30 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
71 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
34 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
89 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
40 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
36 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.
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
87 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 ...
0
votes
0answers
10 views

Need solution for search or menu with choice of category and specific month/day

I'm in need of a search or menu option on a wordpress site where the visitor can search by a category and specific date (month-day only).... OR, a way to make a chained select menu like I had on an ...
1
vote
1answer
47 views

Allow users to create posts without logging in?

I am working on a site where users can share their story. Every story is a blog post. I don't want that they mail me the story and I publish them, I want to provide them a form where they provide the ...
1
vote
1answer
16 views

Compare the old get_theme_mod($name) to the new get_theme_mod($name) return value

I want to have this kind of validation in my code: if (/*OLD*/get_theme_mod($name) != /*NEW*/get_theme_mod($name)) { // do something.. } That code will execute after pressing the "Save & ...
0
votes
0answers
26 views

Places all menu pages in the homepage

Well, it is a little weird... you know that menus normally show you in which page are you, changing the colour of that page and we you go to a different page you will see the colour changes to that ...
0
votes
0answers
16 views

Create custom data-sets to provide in post via tag. (Alternative to “tablepress” plugin)

There are different collections of providers. Each provider= one entry. Each collection = Providers in one specific location. Each location needs to have own Page. Because it is not possible to ...
0
votes
1answer
25 views

Add functionality to post editor

I can't find any documentation to add a functionality to the post editor. I've got this so far: http://www.wpbeginner.com/wp-tutorials/how-to-add-custom-styles-to-wordpress-visual-editor/ But I ...
0
votes
0answers
15 views

Custom URL Structure for posts with subcategories

I have a website with the following structure in Posts: 14k-gold-silver - Symphony - Noir 14k-gold-diamond -forever classic -bridal Now I added some itemes to each of the sub categories ...
0
votes
2answers
66 views

Show posts of one category only with Custom Taxonomy on single.php

I have created a custom post type named 14kgold. Under this I defined two categories: Symphony and Noir. Now I added items/ products to each category. When I open a product under one category i.e. ...
0
votes
2answers
39 views

same user role or copy the user role to be same as the other role

how do you make the user role "contributor" to be same as the user role "seller" by using functions.php I've tried user role editor, but it seems to be the dokan multivendor plugin has set only into ...
0
votes
1answer
33 views

Removing non native customizer settings from a child theme

For removing settings, controls and sections of the customizer, we can just simply use the remove methods like this: function remove_custom($wp_customize) { $wp_customize->remove_setting('id'); ...
0
votes
1answer
142 views

Edit admin post page

I have to customize the admin page where you edit the other pages "wp-admin/post.php". I have to add a lot of things, and delete others, change colors and add a custom menu to the top. I don't know ...
0
votes
1answer
44 views

Show posts from all categories

I have a site with 5 different categories, each of them with a notices section. I would like also to have another section to see the latest notices from any category. So far, I figured out that I can ...
-1
votes
1answer
35 views

How to prevent page re-sizing for mobile browsers [closed]

I want to prevent my page resizing for mobile browsers, How can I achieve this? My style.css is added below. */ /*---------------------------------------------------------------------------------*/ ...
0
votes
2answers
24 views

How do I map two domains to the same wordpress installation?

I originally have the website working with: (example) www.domainoriginal.com But I want to have another domain (www.domainsecond.com) also use the same Wordpress installation. I have changed the A ...
0
votes
1answer
37 views

Customize option - add two image uploader under same section

To add upload option, i added this code on function page: add_action( 'customize_register', 'custom_logo_uploader' ); function custom_logo_uploader($wp_customize) { ...
0
votes
0answers
10 views

Using Woocommerce, what would be the best way to create a search form similar to the one in the following website?

http://dinarholidays.com/tour-and-transfer-only-airport/ (under "Airport Transfers") The results would be products within a "transfers" category.
0
votes
0answers
126 views

how to clear cache of checkout details for guest in woocommerce after certain time of inactiveness

In wooocommerce a guest shopping items (before loggin) and after that that person goes to checkout page. Now I've create checkout form in such a way that after selecting country from the dropdown it ...
0
votes
0answers
213 views

how to change shipping cost after changing the currency from “WooCommerce Currency Switcher” plugin

I'm developing a woocommerce wordpress shopping cart website, where I use "WooCommerce Currency Switcher" plugin for currency conversion. There are three currencies.. pound, dollar and euro in the ...
0
votes
1answer
16 views

My customizer's setting doesn't set to the default and needed to click the control's “Default” button before it'll be set

Here's my sample customizer's setting and control: $wp_customize->add_setting( 'themename_img', array( 'type' => 'theme_mod', 'default' => ...
0
votes
2answers
77 views

custom post with loading script per single post

I read many Q&As here on SO...(and elsewhere but they don't count...lol) I think I follow the rules of WP.org but still it does not load the scripts. Scenario: Custom template for post in Php: ...
0
votes
0answers
18 views

Custom Post messages in admin - for moved to bin/deleted msgs

I have used code from Set custom messages for post update/save for customising the messages of my custom post type so that they make sense to users and don't contain the word "post". However, I just ...