Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
2answers
15 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
11 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
2 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
6 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
7 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
0answers
5 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
24 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
8 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 ...
0
votes
1answer
25 views

How to move menu next to left of the search box?

I use Woocommerce plugin and StoreFront theme to build my demo website at http://52.74.97.64/wordpress/ I want to move the current menu to another place - on the left next to the search box on the ...
0
votes
0answers
10 views

Slider for loop elements

I've created boxes which take the content based on Advanced Custom Fields from a post in a loop. Live example here at the bottom: http://solutionsmvo.nazwa.pl/memoria/ I want those boxes to be in a ...
0
votes
1answer
10 views

Plugin to allow registered users to customize their layout [on hold]

We are in the process of creating a resource website for developers and I would like there to be an element of personalization available to the end user. So if you are a python developer you can ...
0
votes
1answer
19 views

How to add custom column to Custom post page list?

Image should explain what I am trying to accomplish. I have no idea how to do this, is anyone familiar with this sort of work? Custom event date will be a custom event meta box value that is part ...
0
votes
1answer
11 views

Changing layout with wp_customise

So I'm trying to build a conditional statement to display different layouts depending on the option selected. Having a bit of trouble. $wp_customize->add_setting('layout', array( 'default' ...
0
votes
0answers
9 views

Woocommerce Redirect to a specific page after an offline payment [closed]

For example I use the default offline payment gateway (cheque), after placed an order it will go to the default thank you page, then wait 3 seconds the customer will auto redirect to a specific page ...
-4
votes
1answer
20 views

Wordpress Home page modification

I have recently started using wordpress and currently i am using version 4.2.2..I am stuck at my home page ..I dont know how to remove that portion which i have highlited in the picture ...
-3
votes
0answers
16 views

Customizations does not get saved [closed]

I try to customize my theme but does not save changes. Am using itheme2
0
votes
1answer
19 views

Best strategy for providing theme options using customizer

I am making a free distributable theme and I wish I could provide theme options in the best possible way. I have doubts (mostly about widgets) and sidebars. Here we go: Is it a good idea letting the ...
0
votes
1answer
26 views

How to customize a site hosted on wordpress.com locally

I have a website on wordpress.com. Is there a way to download it to my localhost, customize it and then upload it back to wordpress.com? Thanks
1
vote
0answers
9 views

Comments not nesed with custom template

I have a custom template for to show my comments. For some reason, there are not nested while looking in the back-end of Wordpress, I see that some comments have a parent. They are simply displayed ...
0
votes
0answers
15 views

How to rewrite custom post type url archives instead of this url? [closed]

all I have some issues. I want to change url like changed url but show 404 page! http://50.118.92.84/news-room/post_publications/2015 for custom post type but my custom post type is ...
-2
votes
0answers
17 views

Automatically add attribute in woocommere [closed]

I search a code snippet to automatically add attributes like color or size to woo commerce products and auto publish them, if those attributes aren't empty any more. I've read a lot on those sites to ...
0
votes
1answer
24 views

Plugin does not create a custom table upon activation

I have a problem as the title says. My plugin does not create a custom table when it's activated. My code is: function bsp_create_update_table() { global $wpdb; //geting the acces to a wp tables ...
1
vote
1answer
22 views

TwentyFifteen: How can it show a different color on every post page?

I have made a child theme of TwentyFifteen. Am trying to set on styles.css of the child theme a specific color on every page or post. I tried somethin like that .post-id-no.id .hentry,.site-footer ...
-1
votes
0answers
20 views

Custom animation coding on my theme [on hold]

I'm developing a site for a client and want to adjust the level of animation on the intro page welcome elements. Here's the site in development: http://o8c.co.uk/red-star/ There is some animation ...
0
votes
0answers
12 views

Custom Walker Class menu with different ul class and role as the dropdown

I'm trying to replicate this output menu using the Walker Class <ul class="list-inline menu" role="menubar"> <li><a href="#project" class="item">WET project</a> <ul ...
0
votes
0answers
14 views

Wordpress Update Get error message

I update latest version of wordpress get error message The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try ...
1
vote
1answer
7 views

Permission issue with custom post type - not added to menu - by plugin

I've created a custom post type and taxonomy like this... function register_post_type_products() { $labels = array( 'name' => _x('Produkter', 'post type general name'), ...
0
votes
1answer
22 views

Navigation for custom loop

I have a website I'm working on with 3 custom loops next to each other: Station LV I need separate navigation for older posts for each loop. But I'm having problems seting it up: <?php ...
0
votes
0answers
29 views

WP dynamic featured image - Can't get second featured image url

(I've already opened a thread on stack overflow: https://stackoverflow.com/questions/30079269/wp-dynamic-featured-image-cant-get-second-featured-image-url Hope it's not considered as double) I'm ...
0
votes
2answers
21 views

Create a free scripts and styles template within a plugin

Let me explain what Im trying to do. Im creating a plugin that will have a main page like a dashboard that will be used to manage the public facing side of the plugin. Just think like a separate app ...
0
votes
0answers
19 views

Header image doesn't show up on page

A developer abandoned a site and I'm trying to correct it. The header image on this page will not show up. This is the code in the header: <?php $image_id = get_post_meta(get_the_ID(), ...
0
votes
2answers
24 views

Changes in my child theme from customizer not appearing in style.css?

I have made some changes (colours, etc...) in the appearance customize from my child theme, is actually working as is just applying to my child, but when I open the style.css from my child I don't see ...
0
votes
0answers
17 views

Customised Page from archive-product.php

How can I show on a template customised that uses the archive-product.php code only products from a category? I am using the same code because I need display on some pages some products with the sort ...
0
votes
1answer
26 views

How to customize <head></head>

I want to customize <head> tags, add my own structured data snippet, instead of generated by Yoast. And how to gain overall control of <head> tags contents over pages. How this will be ...
2
votes
1answer
83 views

How to add rewrite rules and pagination to retrieve attachments files?

I'm trying to list attachments based on different taxonomies. Right now it only work for the basic url (no pagination added). For example ...
0
votes
1answer
28 views

customize_register with Multiple controls/settings - how to get values?

PHP newbie here, and I have this on my functions.php function mcs_social($wp_customize){ $wp_customize->add_section('mcs_social_handle', array( 'title' => __('Social Network ...
0
votes
0answers
31 views

How to add attributes to taxonomies that may be different from post to post?

I would like to know how I can add attributes to taxonomies and allow those attributes to have different values in different posts. For example, let's say I have a recipe custom post type and I have ...
0
votes
0answers
19 views

Help with a function that will place a map pin for all posts

I have a custom post type called "properties". When I add a property on the admin side, I input an address and then click a button that says "Place Pin At Address". I have uploaded thousands of ...
0
votes
1answer
40 views

Help customising admin bar, removing buddypress links from dropdown

I am trying to customise my admin bar. I have achieved most of what I need to do but am stuck on a couple of things. I want to remove most of the links from the dropdown menu that appears when ...
0
votes
0answers
8 views

Alter plugin without losing changes after update [duplicate]

I have got a photo gallery plugin that is displaying different albums. It is displayed by album thumbnail and title, however only the thumbnail is clickable so I have changed a view php file to get an ...
0
votes
2answers
51 views

Show post content in two different places without redirect

How to get the same post content for in (the default) domain.com/year/month/post-slug and domain.com/custom/post-slug (without redirect). Can I do this with some kind of rewrite or do I need a custom ...
0
votes
1answer
105 views

Custom entity search and display

I am developing a custom plugin that adds a new product entity with its own tables to the database. I would like to perform custom queries on those products through a custom search form -the classic ...
0
votes
0answers
17 views

Adding GUI and functionality to a custom post type enabling working with non wordpress table

I've created a custom table in the Wordpress DB with all the needed functions for working with the table (insert,delete,update etc...) I also created a custom post type, on which I wish to add a GUI ...
0
votes
0answers
17 views

Disable iframe in wordpress catch_that_image

I want to ask how to fix catch_that_image in wordpress ? I'm using code in wp-content/themes/name/functions.php function catch_that_image() { global $post, $posts; $first_img = ''; ob_start(); ...
0
votes
0answers
19 views

Twenty Fourteen modify left sidebar on home page only

I'm using a twenty fourteen child theme and want the left sidebar to be different on the home page. I'm trying to modify it without changing any files so I made a new sidebar called sidebar-front and ...
0
votes
1answer
20 views

Custom Behavior when Adding New Custom Post Type in Dashboard

I have a Custom Post Type that I'm doing some custom work for. I want to attach some custom functionality to the post type once it's created but an admin can only trigger the custom action from the ...
0
votes
1answer
17 views

Where do I store custom functions that call custom page template files?

I've created a Wordpress Page template called head.php I then went into /wp-includes/general-template.php and by replicating the default get_header() function that is already there I added this new ...
0
votes
1answer
22 views

Renaming Custom Taxonomy Values

I'm new to Wordpress and have been tasked to migrate an existing non-Wordpress site to Wordpress. Our original site has each page associated to a country. I've been reading a lot and I believe I need ...
0
votes
1answer
20 views

How to get name and email value from a custom form and add it to campaign monitor subscriber list?

I have a custom form in my site that has name and email address field. How can I get the value of this 2 fields to be added on campaign monitor subscriber list when the user successfully submits the ...
0
votes
0answers
24 views

Control When a Script Is Loaded

My plugin usually appends my widget to the end of each post as intended, but not consistently, sometimes needing a page refresh. There are two main parts to the plugin: a div, which gets appended to ...