Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (10)

0
votes
1answer
21 views

Replace code in plugin template

In plugin, I have following code in function: $return_string .= '<li class="wpc-category ' . $class . '"><a href="'. get_option('catalogue_page_url') .'">All ...
-1
votes
0answers
9 views

custom categories

I am working on a site that will show only event and I am using the all in one event calendar by time.ly My problems is that from the theme options>categories when I try to assign an event category to ...
1
vote
0answers
15 views

Add a custom meta box in the post options that loads some html code in the header

I run a blog that is built in the format - Logo - Nav Large Image + Email Optin Form Content / Sidebar Footer Now I want the large image and email opt in form to be optional. Right now, what I ...
-1
votes
0answers
11 views

How customizable is your wordpress.com blog if you do not want to pay for “custom design?” [on hold]

I am new to wordpress.com (and new to web development in general) and most of the "how to" information that I am seeing out there is for wordpress.ORG or for people who have purchased the "custom ...
0
votes
1answer
17 views

Creating a search with tag variable also added for more detailed results

Wordpress search results is definately not the best indexing and search function we have seen.. If adding multiple tag variables in the search in order to get a more precise result work? For example: ...
0
votes
0answers
6 views

I'd like to move the Widgets Panel to the bottom of the list in Customizer

I'd prefer to have the 'new' Widgets Section/Panel (that extends to the widget areas) drop down to the bottom of list in Customizer. I've tried: $wp_customize->get_panel('widgets')->priority = ...
0
votes
0answers
26 views

Add Product Attribute to Woocommerce Admin Email

I'm trying to add a product attribute Date to the woocommerce admin email template admin-new-orders.php i'm using the code php echo $_product->get_attribute( 'date' );?> When I do this the ...
0
votes
1answer
26 views

Custom post types related to same custom post type?

I have custom post types product. I want to create related products from same custom post type (product). The user should be able to select posts (products) just as a user selects a category(or more) ...
-1
votes
0answers
16 views

modify woocommerce “top rated products” to show random products in list [on hold]

I am very new to wordpress and not well skilled with php programming but I am learning slowly , I want to display a few products in the form of a list , similar to "Top rated products" widget. I would ...
0
votes
0answers
13 views

How to display a custom built field on wordpress default gallery

I created a custom field for the media I can upload on my wordpress website, by adding this code to functions.php: /** * Adding a "Copyright" field to the media uploader $form_fields array */ ...
0
votes
2answers
28 views

Wordpress native “playlist” shortcode. Next and Prev there are but with no icons. How to fix?

If I use on my Wordpress 4.0 the beautiful playlist shortcode I don't see the famous "Next" and "Prev" icons, but only this code in my Html code: <div class="wp-playlist-next"></div> and ...
0
votes
1answer
23 views

Allow users to only CREATE one single (custom) post

At first, sorry for my bad english.. :-) I created a custom post type with taxonomy and now want to allow users (of a specific user group) to post only one single post in a specific category. If the ...
-1
votes
1answer
27 views

Wordpress running on rasppi not displaying themes correctly

I have a Raspberry pi that I set up to be a webserver, and it works great. As far as I can tell, my only issue is that the themes do not display right. (The text seems to be okay, but its like the ...
0
votes
0answers
11 views

Display the nav menu for a particular page id

Say that I have the id of a page that is in the wp_nav_menu() I would like to show the wp_nav_menu() for that particular page. Is that possible? I can use wp_get_nav_menu_items() to get all items for ...
0
votes
1answer
12 views

Warning: Creating default object… when altering Customize panels

I'm trying to move my theme's [only] widget area outside of WP 4.0's nested "Widgets" panel by doing the following: $footer_widgets_section = $wp_customize->get_section( ...
0
votes
0answers
15 views

Metaslider won't appear in front/homepage [closed]

Page set as static, [metaslider id=25] inputted. Can't find any help in documentation or on forums. Wordpress 4.0 but couldn't get it to appear before latest release either. Two sample pics inputted. ...
0
votes
0answers
18 views

Restrict my pages from public

In my site I want to restrict some pages from public. How can I do this? example : www.xyz.com/members This pages only access when the user is log in but now its access public also using coping ...
0
votes
1answer
25 views

Menu is not visible in appearance

I have added following code to my function.php function register_my_menu() { register_nav_menu('header-menu',__( 'Menu' )); } add_action( 'init', 'register_my_menu' ); And here is my code where ...
0
votes
0answers
31 views

Editor/TinyMCE - change double enter key to <br /> and single enter to nothing

I have learned over the last year on Stack Overflow that people here prefer I give all details in the beginning instead of answering 12 comments worth of this stuff later. EDIT: If you don't want to ...
0
votes
2answers
24 views

A truely custom login page?

I don't want to use a plugin for this one and i would like to know how i can use a custom form for WP login. I made a form with bootstrap and i added the form action and two hidden fields but it ...
0
votes
0answers
15 views

Have the plugin completely render a page

I'm working on a plugin that uses pretty links by using rewrite rules like so: add_rewrite_rule( $slug . '/email/([^/]*)/?', 'index.php?pagename=' . $slug . ...
0
votes
1answer
13 views

Insert a field with PREG_REPLACE – strange behaviour

I'm trying to insert a custom field (from the Advanced Custom Fields plugin), and I need to place it within a div which I'm wrapping around an img, right before the img-tag. So basically this is the ...
0
votes
0answers
15 views

Wordpress Create pages on theme activation - add child pages using this function

I am using this function to add new pages on theme activation: /************************************************* ** Add home page *************************************************/ if ...
1
vote
2answers
35 views

Make blog secret during design construction

I am a n00b at wordpress. I'd like my blog to be secret while I finish the design. How do I do this? Thank you!
0
votes
0answers
13 views

wpdb custom tables without plugin

I am using custom tables, with $wpdb, trying to perform basic queries at the moment. I can't find anything on manually creating tables then using them with $wpdb, everything is plugin related. I ...
0
votes
1answer
15 views

Edit specific text on a static page

I'm kinda stuck with my Wordpress development. I must say, I'm a noob at this right now but trying to get more knowledge of this. In Wordpress admin, there is this text editor for editing the content ...
0
votes
2answers
50 views

Displaying One Custom Post Type's Content On Single Post of Another Custom Post Type

I'm currently building a college football blog and I have 2 custom post types: conference and team. Each conference post type will be a horizontal list consisting of each teams' logo and will be ...
0
votes
1answer
35 views

How to use PHP code with wordpress page

new user to WP. I am dynamically creating HTML tables with SQL data in my PHP. WordPress pages do not allow PHP code, and I've been hounded by individuals not to use a PHP plugin due to security ...
1
vote
1answer
33 views

How do i add custom fields to my themes template file?

I am using 4 custom fields and display the custom fields in my theme page by $quote_text_1 = get_post_meta($post->ID, 'quote_text_1', true); $quote_text_1_author = get_post_meta($post->ID, ...
-1
votes
2answers
25 views

Is there a way to have information on one page automatically feed into another? [closed]

Specifically, I have a page that lists events that happen each week on Tuesdays and Saturdays. I want these events, posted to this page, to then go onto two separate pages - one just showing the ...
0
votes
0answers
42 views

How to echo Widget Title in Custom Frontend-Template Box

I've created a custom Widget with the help of following code: // Creating the widget class wpb_widget extends WP_Widget { function __construct() { parent::__construct( // Base ID of ...
0
votes
1answer
39 views

How to modify specific parts of a post content in WordPress

I'm trying to insert some custom code in each post in Wordpress, provided that it complies wit certain conditions. My problem is that the content needs to be added in an specific location that is not ...
0
votes
1answer
21 views

Add date under slider/grid featured content

I'd like to add post date under slider/grid text (which is category+Title) in my twenty fourteen wordpress child theme. Is it possible?
0
votes
0answers
11 views

WP_Customize_Image_Control and selecting from library?

I am adding some theme options, one of which is an image option. $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, ...
-1
votes
0answers
37 views

Categorize post by month with date picker [on hold]

I want categorize by month with date picker For example: -Months select- jan ===-click-====>(show All post of january, and hide the other post.) feb * mar * etc.. * ————— * * <post of january ...
0
votes
0answers
22 views

Show WP content on different PHP Sites

we are about to start developing a big dynamic web project (Probably on ZF2) which will have some modules&tabs to act as CMS module (displaying news, galleries, posts etc). Let's assume we have ...
0
votes
2answers
267 views

Custom Facebook share button with custom title,url,image in wordpress

I know there may be many such question in stackoverflow . but i am not getting solution what i want i am using wordpress. In my all post page there is share button ( via addthis plugin ) but what ...
0
votes
0answers
15 views

Custom register and login page for Wordpress [duplicate]

i have 2 custom page template name: custom-login-page.php and custom-register-page.php I creat 2 page in wordpress using these 2 page template and try to login and register it, it' work. Problem is i ...
0
votes
0answers
17 views

Get Tags get_terms() - by user->ID ?

Is it possible to get tags for a specific user ID, i mean i want to get the tags list on author page where i want list the tags the author used to make his/her posts only - not want to get the full ...
0
votes
0answers
25 views

Show Custom Field

i am using WCK - Custom Fields and Custom Post Types Creator. I am have code for show image. <?php $my_meta = get_post_meta( $post->ID, 'my_meta_name', true ); if( !empty( ...
0
votes
2answers
49 views

How to create a custom Wordpress front page

I want to create a custom front page for a Wordpress site, which will have an image, some text, an embedded login form, and a metaslider slider, and nothing else (no menu, no sidebar, no footer). ...
1
vote
1answer
64 views

Convert an theme options page to use in customize.php also?

I have developed a theme options page which is a submenu page of appearance. But now i like to know how what i need to do so the theme options are also editable in the theme->customize interface. ...
0
votes
1answer
25 views

Add custom objects/entities to Wordpress

(I have some experience creating Wordpress themes but no experience in extending Wordpress functionality. I'm sure this must be a very common question, but I don't know how to search for the answer. ...
1
vote
0answers
26 views

Lost password empty field error redirect to custom login

I'm having trouble with a custom login/lost password form on a site I'm building. The site is completely password protected. I have a custom login page and I'm using 'wp_login_failed' and ...
1
vote
1answer
31 views

How to add custom classes to more than one separate menu's a link in wordpress?

Here is a link to my website: website I have placed the following code to this document in /wp-includes/nav-menu-template.php Towards the end of the code are several lines that start with ...
1
vote
1answer
31 views

Adding an email column to a Custom Post Types Admin Screen?

I am trying to add a column to my Custom Post Type Admin Screen that will show the author's email address. Any advice for novice coders (such as myself) that describe how to accomplish this? I've come ...
0
votes
1answer
28 views

Add code to header based on category for specific posts?

Hello all! I'm trying to add as you'll see in the image attached a small huffington post icon and accompanying text to some posts on my blog. I'd like to set up a category "Huffington Post" and when ...
0
votes
0answers
16 views

Removing WP-Login inputs

I'm building a passive captcha system for my WP sites, and I'm attempting to remove the inputs (username, password, submit) from my standard WP-Login page via php hooks; they'll be replaced via jQuery ...
-1
votes
0answers
11 views

Menu Walker Help Me?

I'm struggling with the development of a menu Walker. I would ride as follows: When the user clicks on a page, to show only page father and daughters and hide the others, example: Sorry my english ...
0
votes
0answers
18 views

Best way to define a database with product codes and back-end support?

First let me explain what my wanted situation is: I have a WordPress site where I want the Admin to have access to about 10.000 "product keys". These codes will be inserted in a database of some sort ...