Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
1answer
78 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
30 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
11 views

Plugin to allow registered users to customize their layout [closed]

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
41 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
26 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' ...
-4
votes
1answer
28 views

Wordpress Home page modification [closed]

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 ...
0
votes
1answer
38 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
34 views

How to customize a site hosted on wordpress.com locally [closed]

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
22 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
1answer
48 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
45 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 ...
0
votes
0answers
56 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 ...
1
vote
1answer
16 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
45 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
189 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
32 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
31 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
46 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
34 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
36 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
138 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
79 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
67 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
131 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
68 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
118 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
31 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
53 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
40 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
30 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
70 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
31 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
31 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
35 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 ...
0
votes
1answer
19 views

How to list all names and descriptions of a custom taxonomy

I have a custom taxonomy (toolkit-sections) inside a custom post type (toolkit-tools) and I'm looking to just list the taxonomy names and descriptions from toolkit-sections on a homepage. I don't ...
0
votes
1answer
52 views

how to add wp-user fields to front-end form

I've found all kinds of information on how to add user-meta fields to a front-end form. However, I can't find how to add email and the change password. I found the form fields in user-edit.php, but ...
0
votes
0answers
24 views

How to Structure a Wordpress Installation for a Theme Developer Site?

I want to start developing premium themes for Wordpress. I have seen just about every theme developer site allow you to view demos of their themes. So my question is... What is the best way to set ...
0
votes
0answers
18 views

How to work around the bug which prevents custom menus from being deleted?

A bug makes it impossible to delete a custom menu in the expected way: select menu, click Delete Menu. This has never worked for me on any WP site in any version of WP; it produces an Error 403 and ...
0
votes
1answer
64 views

Redirect Every Instance of The Author Template Pages to Custom Author Pages

What I'm looking to do is actually a simple redirect, but for the EVERY page contained in the /author/ slug. The working slug I want to redirect to is /team/. For example, if someone were to type ...
0
votes
1answer
23 views

How to format text of site subtitle

How do I italicise a word in the subtitle of a wordpress blog? Markdown isn't supported in the tagline field in dashboard's general settings.
0
votes
0answers
51 views

How To Achieve This URL Structure? [duplicate]

I have a custom post type of Dining, with a slug of "dining". That is the only thing that must stay the way it is. My desired URL structure is like so: site.com/dining site.com/dining/dining-post OR ...
0
votes
1answer
132 views

Let author add field to metabox by pressing a button

I have added a custom metabox for authors where they can fill in a url to a source, which I can then use in my template. In my functions.php <?php /* Add metaboxes (see below) */ function ...
0
votes
0answers
16 views

looping thru custom table, and sorting by usr_id and date

so for the last months i've been learning my self basic php, and javascript. and as so many before me i've hit a brick wall at foreach so i hope there is a nice guy in here who willing to set a ...
0
votes
1answer
209 views

Duplicate Custom Post Type and Taxonomy Slug

I've seen a few questions that are very similar, but I haven't been able to get an exact answer, so I'm going to explain my situation here. Quite simply, I need the following url structure: ...
0
votes
0answers
98 views

Search multiple keywords in separate fields?

Rather than writing all terms into 1 field and separating with a comma, is there a way to search multiple keywords all entered into their own separate fields? I have created the visual effect here: ...
0
votes
1answer
30 views

Show custom field value as a link

I’m trying to show one of my custom fields as a link that downloads a photo. I’ve entered the URL in the field value but struggling to come up with the correct html to get it to display as a ...
0
votes
0answers
33 views

Sidebars for custom post type

I have created a sidebar and named it as ‘Clients Sidebar’. I also have a custom post type ‘Clients’. Now I want to assign ‘Clients Sidebar’ to all Clients without using any plugin. My theme has an ...
0
votes
1answer
79 views

Display only one post each WEEK

I have custom post type named 'NEWS' where i already published 52 posts at a time. Now, in front i would like to display them ONE NEWS for ONE WEEK. So 52 NEWS will cover one year for me. My ...