Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
1answer
22 views

Change “empty trash” button text?

I was able to find information on how to change the edit views text but so far I've come up empty with changing the text of the "empty trash" button. I'd like to change it for my task management CPT ...
0
votes
2answers
86 views

Customizing the Widget content markup

I am using bootstrap to create panels for the sidebar widgets, and I can set the container markup for the widget, as well as the markup for the panel header, but I cannot provide the markup for the ...
0
votes
1answer
30 views

Add custom items in Breadcrumb NavXT

On my blog, I'm using Breadcrumb NavXT plugin. It works great. On a specific portion of my site, I'd like to replace the normal breadcrumbs by custom ones. I have an array with the "parent" URLs, ...
0
votes
1answer
454 views

How to include plugin function in theme's functions.php file

Good day, I'm trying to reduce the jquery dom manipulations by including the right plugin functions in my theme's functions.php file. For example, I have a link which triggers a jquery dialog, which ...
-2
votes
0answers
17 views

How to display the 'key' as well as 'value' in custom fields

I'm using the following to display custom fields on the front end however, it only shows the 'value' How can I get it to also show the text contained in the 'key'? <?php // Display Custom Field ...
0
votes
1answer
11 views

Add several fields from different tables to post, fields per post are in same row of table

I like to add 4 or 5 extra fillout boxes to the adminpage of my post... For example, under the actual page box, I would like to add the following fields: Name position publications freetext Here ...
0
votes
1answer
21 views

Deep customization of wp-login.php

I'm developing an intranet platform (so no external web access) and using the Password only login plugin. I need to make a deep customization to the wp-login.php page: the plugin i linked allows ...
0
votes
1answer
11 views

Allow arbitrary text after page URL

I'm trying to add a page that is able to display different information from a database based on the URL. http://example.com/page/ retrieves the page. I want ...
-1
votes
0answers
10 views

Editing the Post meta

I am trying to add some content to the post-meta. I have added two link to the loop and it's been showing in the post as the single page is calling it. However I can't seem to find where to add the ...
0
votes
1answer
35 views

Unable to display custom fields on WooCommerce product pages

I've set up some custom fields using the existing 'custom fields' panel on a WooCommerce product page. I'm unable to display these on the front end. My technical knowledge is limited but I've tried ...
0
votes
1answer
47 views

Changing a setting in the wp-admin/customize.php reverts CSS styles to parent theme [on hold]

I have a child theme built ontop of the Cherry Framework theme. Whenever an admin user goes to wp-admin/customize.php and changes the slider, the CSS gets completely destroyed and needs to be backed ...
0
votes
0answers
19 views

Custom function to add a secondary logo

I'm looking to create a custom function in order to be able to change/load a new image from the "customize" panel (this because I won't be the one who manage the website, so I'm trying to made things ...
0
votes
0answers
16 views

Customizer API way function is_customize_preview() works only in main page?

Dear wordpress developer, Thanks for create incredible API like Customizer :) but I have little problem. In customizer preview view function: is_customize_preview() when I'm in home page return true ...
0
votes
0answers
19 views

page.php is not called when I load a Page

page.php is not called when I load a Page from my theme. However if I switch to the default wp theme and reload the page (not post), then only my header and footer are displayed. I added some text ...
1
vote
1answer
28 views

How could I change my Permalink from blog to custom structure?

When I install multi wordpress site I have a problem that my default site permalink goes to http://site.myurl.com/blog/post-name/ I want to change it so that it goes to a custom link like this: ...
0
votes
1answer
40 views

Apply `the_content' filter to theme customisation live preview

I'm using 'transport' => 'postMessage' to update the text within the footer area during theme customisation live preview. My problem is that on my website, the corresponding theme setting ...
0
votes
0answers
5 views

Replacing Gallery Shortcode with Foundation's Clearing

Using wordpress 4.1 and Foundation 5, and attempting to replace the stock gallery shortcode with foundation's clearing. In debugging mode, I get a notice of: Strict Standards: ...
0
votes
0answers
8 views

update_user_meta not working

I'm trying to add additional profile pages and then allow users to submit custom profile data through the pages. I want this data to be unique to each user and only viewable by that user. The code is ...
0
votes
0answers
13 views

Removing the parent category from the breadcrumb nav [on hold]

Does anyone know of a way (plugin or filter) that I can use to remove a category from the WP breadcrumb trail? I have this appearance... Home > Manufacturer > MyStuffInc > Product_Title I want to ...
0
votes
2answers
1k views

add_rewrite_rule and template redirect not working

I have the following pairs: add_rewrite_rule('^questions/ask/?','index.php?pagename=ask','top'); if(is_page('ask')){ $tname = 'add-question.php'; ...
2
votes
1answer
502 views

Remote upload file to server B

I'm aware this might be some of the hardest coding to do ever, but thought of giving it a try. Im basically trying to detect all (mp3) filetypes uploaded through the Wordpress media upload and send ...
12
votes
4answers
9k views

what is the correct way to compare dates in a WP query_posts meta_query

I have a query_posts call in a WP template. Through the use of the More Fields Plugin I can give the site admin the ability to create an event (custom post type) and then enter a date which is ...
7
votes
6answers
6k views

How to remove admin menu pages inserted by plugins?

I've got the following code, which cleans up a lot of stuff that is not going to be used within the admin area: add_action( 'admin_menu', 'my_remove_menu_pages' ); function my_remove_menu_pages() { ...
0
votes
0answers
19 views

Override A Plugin Variable And Function Via Functions.php

Is it possible to override a variable in a plugin function without altering the plugin? The closest thread I found to answer this problem is this one : Pass A Value From Outside To A Plugin Variable ...
-3
votes
0answers
9 views

woocommerce myaccount new page [closed]

I am customizing laboutique wp theme with some added features: Customer's measurements for custom tailor jobs Customer's referrals i.e. sisters/mother/relatives (existing as well as potentials ...
0
votes
0answers
6 views

Customizer API and add_panel(). Panel doesn't show

I try to add panel to my customizer but code below doesn't work (panel don't show in customizer container). My code: add_action( 'customize_register', 'customizer_test' ); function ...
2
votes
1answer
48 views

Why won't my custom widget stay in the sidebar after a reload?

After I drag my custom widget into a widget area and reload the page it's gone. Any ideas? <?php add_action('widgets_init','register_postTypeWidget'); function register_postTypeWidget(){ ...
0
votes
3answers
340 views

Capability to edit own posts and not others

What is the capability that let users to edit their own posts and not others? I am trying to enable the post authors to avail a plugin function only on the posts they own. The permission to access ...
0
votes
1answer
2k views

Sticky menu for WP custom menubars

This seems simple, except that I am not able to figure it out. In a wordpress theme, how can I make a custom menubar below the header image stick at the top after scrolling down the page? Example ...
-1
votes
0answers
26 views

combining responsive slab text with animated headline

is there any possibility to combine these two shortcodes in order to obtain a responsive auto fit text with animated properties in the same time ? How about to define custom googlefonts (font family, ...
0
votes
1answer
26 views

Custom theme - how to link the image without posting it

im creating a custom theme for wordpress 4.1.1. i had encounter a problem with adding a media (an image) to a post. When I choose an image via the media library, i select it but i only have the ...
0
votes
2answers
411 views

Change HTML structure for custom menu in sidebar

I've been digging for documentation on how to change HTML output for the "Custom menu" which you place in optional widget. So its clear what I meen I have attached an image of the widget block here: ...
5
votes
2answers
374 views

Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?

Essentially I'm trying to add multiple sub nav menus and I'm pretty close but I just can't seem to find the right tack to solve my problem ... I'm using a variation of a Stu Nichols CSS Menu ... ...
-1
votes
0answers
13 views

Proper placement for Wordpress conditionals(they return false) [duplicate]

I use a headway template, and have tried to place conditional tags inside footer.php, in order to display a code only in home page, but the code is not working how I want. Normally, the code ...
0
votes
1answer
357 views

Custom Post Type Rewrite To Include Parent Page(s)

I have a page title "more" with subpage "cities-guide". Said "cities guide" page has a loop that pulls in posts from custom post type "thailife_city_guide". My permalink structure is ...
0
votes
0answers
14 views

I want to list my custom taxonomy with a custom post type in a plugin

I've created a simple plugin for a custom post type. What fully works with an arhive page and a single page. Now I'm trying to add ann taxonomy to the custom post type. // Register Custom Taxonomy ...
1
vote
1answer
28 views

User can not login

I successfully inserted a new user to WP database and I want this user to be logged in right after this. I do it like this User Login Form <?php function dlf_form() { ?> <form ...
3
votes
1answer
47 views

Virtual Pages plugins

I having hard time to make work the plugin Virtual Pages (WordPress plugin to ease the creation of virtual pages) I did have edit to create a loop based on a query. add_action( 'gm_virtual_pages', ...
3
votes
2answers
408 views

Custom pages with plugin

I'm developing some plugin where I would like to enable custom pages. In my case some custom page would contain a form like contact form (not literally). When user will fill out this form and send it, ...
0
votes
0answers
18 views

Theme for a specific subcategory inside multiple categories

In relation with this topic in which I wanted a different theme for categories than for subcategories, now one step further, I want a specific theme for a specific subcategory used in multiple ...
0
votes
2answers
14 views

Theme for subcategories

I am working with categories (cities) and subcategories with the same menu (for example: cars, animals, houses). Therefore right now my categories structure looks like this: - London -- cars -- ...
3
votes
1answer
517 views

Custom maintenance page

Is there a way to add a custom maintenance page from theme folder? I have the code for the activate maintenance mode but i can't get the styling.. function activate_maintenance_mode() { if ( ...
2
votes
1answer
50 views

Add field to posts (checkbox) that only one post can have

I am trying to add a field to Wordpress posts (not pages) which would simply include a label and a checkbox. Something like: Make this the sticky post? If check, the key should be set to TRUE or ...
0
votes
1answer
1k views

How Can I limit the visible part of the short-description on the Category page?

How Can I limit the visible part of the 'short description' in the Category Page? I found the code in theme/woocommerce/content-product.php, but whatever I try doesn't do a thing. <?php ...
2
votes
2answers
266 views

Change the link of 'Howdy' at the top right

I'd like to change where the 'Howdy' link gets you when you click on it. I have a website with buddypress and instead of getting users to their profile page I want to get them to their 'Activity' ...
0
votes
1answer
32 views

Disable default posts (Posts,Pages,Comments and Media) in wp-admin

I want to disable the default post types for user author in the wp-admin panel of the wordpress and display only custom post types. For that i had got the code given below. function remove_menus(){ ...
0
votes
1answer
139 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
548 views

Load more posts with multiple queries

I've been developing a theme which uses the load more ajax plugin, everything is setup and working great with the main query. But, once I setup a new query for popular posts, the load more posts ...
80
votes
9answers
27k views

Steps to Take to Hide the Fact a Site is Using WordPress?

I have a website for which we are trying to be discreet about the fact that we are using WordPress. What steps can we take to make it less obvious?
0
votes
0answers
13 views

Customizer API and pages

I try to develop customizer API in my Theme but I have a litle problem. When I'm in customizer in left side I have some section (My Section) and there is color picker to change background color. After ...