0
votes
0answers
12 views

Plugin/Theme template to make developing easier [on hold]

I think everyone use skeleton to start developing a plugin/theme. It reduces the development time drastically. I will love to see some skeleton from experienced wordpress theme/plugin developer. I ...
0
votes
0answers
13 views

Moving Plugin Code into a Theme - Class Declaration - what hook should I use to create new instance?

I'm planning on moving a Plugin Inside a Theme I'm creating. The Plugin currently utilizes a Class to declare and set up the Custom Post Type and all of the other functionality of the plugin itself. ...
0
votes
0answers
7 views

Where is stored the Publish date value for a post?

I have to do a massive change in the database and I need to know in what field of what table is stored the publish date value of a post. Using phpMyAdmin I see that each record into the wp_posts ...
0
votes
2answers
24 views

Why in this archive page that call query_posts() function show only the last 10 posts?

I am pretty new in WordPress theme development and I am finding 2 problem with this posts archive page: http://lnx.asper-eritrea.com/archivio/ The previous page have to show ALL the blog posts into ...
0
votes
1answer
36 views

Why WordPress architecture is not pure object oriented and it don't use MVC pattern? [closed]

I am pretty new in WordPress and PHP development (I came from Java and C#) and I am a bit astonished about how WP is structured. Coming from Java and C# I'm used to work on totally object oriented ...
0
votes
4answers
26 views

How to obtain the current website URL in my theme?

I am working on a custom theme and I have the following doubt about how to correctly insert the link to some section of my website into the theme. If you open this link you can understand what I need ...
0
votes
0answers
11 views

Adding Page/Post Attachment Capability to the Media Edit Screen

Is there a way to add the page attachment capability to the edit media screen? So if I add/edit a media item, I can also attach/re-attach it to a page.
0
votes
1answer
11 views

Can I show also the post date using the wp_get_archives() function?

I am pretty new in WordPress theme development and I have some doubt about the wp_get_archives() function: http://codex.wordpress.org/Function_Reference/wp_get_archives In my website I have create ...
0
votes
0answers
18 views

Show sidebar from custom meta value

I want to show sidebar from meta value.Basically I am using wp-page-widget.Now I want to show the active widget.Since I am working on one page template so general procedure will not work. Upon ...
0
votes
0answers
12 views

How to obtain WordPress code hint using Aptana 3 with WP Bundle?

I am very new in PHP and WordPress development (I came from Java and C#) and I have the following doubt about how correctly optain code hint in Aptana. I have installed Aptana 3 and the WordPress ...
0
votes
0answers
18 views

Combining the Edit Media Screen with the Links Manager?

Is there a way to somehow integrate the link manager into the media edit screen? So if a user uploads or replaces a media item, they can also add the media's attachment link to a link category from ...
0
votes
0answers
8 views

How to use the Aptana WordPress bundle to navigate into my code when I develop?

I am very new in WordPress development and I have the following problem using Aptana 3. I have installed the WordPress bundle on Aptana 3 and I have imported an entire WP website as a project into my ...
0
votes
0answers
28 views

wp_footer hook only working on homepage not in other pages

I try to output a javascript code in wp_footer hook but it is not printed in all pages it is working in home page only. I have checked for the presence of wp_footer(); function in footer.php it is ...
0
votes
1answer
29 views

Generate activation url

For my registration I am using custom registration form.It works fine.It sends email with username and password. What I am looking I want to generate url so that when user click it automatically ...
0
votes
1answer
38 views

What exactly do this function declared into functions.php file of a WP theme?

someone can help me to understand what exactly do this function declared into the functions.php file of a theme? function exclude_featured_tag( $query ) { if ( $query->is_home() && ...
0
votes
0answers
14 views

Some doubts about the WP development IDE, how to obtain the IDE code assistance? [duplicate]

I am pretty new in WordPress theme\plugin development (I came from Java and C#) and I have the following doubt about the IDE and how to correctly handle the WordPress development process. My main ...
0
votes
1answer
21 views

Don't load the theme for a page FROM a plugin EDITED

I'm developing a pseudo admin area for my client and they don't want the theme overlaid on it, rather have their admin area take up 100% of the page. Normally I would add if (!is_page($id)) and be ...
0
votes
1answer
35 views

Removed jQuery script from header.php , any problems?

To avoid multiple jQuery calling from my theme and plugins, I removed <script language="javascript" type="text/javascript" src="<?php bloginfo('template_url'); ...
0
votes
1answer
32 views

Extending a theme: build new features as plugin or core modules?

I have developed my own WordPress theme based on the Roots starter theme. Because of my clients needs, I'm often required to develop custom features (what I refer to as "modules") that are added to ...
0
votes
0answers
34 views

WP_Query to get all posts with specified category in priority

Now I have a query to get all posts in the specific category featured. $today = date('Y-m-d'); $args = array( 'post_type' => 'event', 'event-categories' => 'featured', ...
-1
votes
1answer
50 views

Loading jQuery library from WordPress admin

When we are developing Themes, we are taught to enqueue the jQuery library if necessary, because no jQuery library is available on the front-end of WordPress (if I'm not wrong). But when we are into ...
0
votes
0answers
20 views

How to set separate “lang” attribute for post or page titles

I am creating a multilingual website in English and Hindi on WordPress. Half of the site is in English and rest is Hindi. In a previous question asked by John Doe here at stackexchange s_ha_dum ...
0
votes
1answer
129 views

Why is contact form not working?

I am using a custom contact form plugin from code.tutsplus but it is not working. It looks as if the form is sent because I get the confirmation badge, although I receive no email (I have tried ...
0
votes
1answer
61 views

Adding class to the parent of current-post-ancestor / current-menu-parent / current-post-parent

Following situation: I have a drop down menu. At the moment we are located on a single post of the category "Produkt Design" Its class in the menu is menu-item menu-item-type-taxonomy ...
0
votes
1answer
28 views

How to replace settings in WordPress plugin from a theme

I created an array with some default settings in a plugin, and want to allow it to be replaced from functions.php in a theme without using stored data (eg. add_option). I want this to be just a hook ...
0
votes
1answer
58 views

Remember the meta value with radio buttons

I've created a simple meta box consisting of two radio buttons: yes or no. When they click on the appropriate box, it saves the meta value to the database. However, the post page does not remember it ...
0
votes
2answers
63 views

WP Plugin Running before jQuery

I'm having problems with jQuery and a plugin, the console error says jQuery is not defined. What I don't understand is it only fails when I load it to the production server, on my local dev ...
0
votes
0answers
67 views

How to show post attachment image

i am going to create a slidershow by post attachment in single.php. i use this code but the result is null. <?php if ( have_posts() ) while ( have_posts() ): the_post(); ...
0
votes
0answers
27 views

problem with blank page

i have a real big problem with my wordpress website functions.php when i put the following code to achive post view and thumbnail. i'm getting the blank page error which when i publish or update a ...
0
votes
1answer
47 views

Add new user and add meta at once

I am working on a custom sign up proces where a user first fills in his name and email, then receives an activation e-mail and then the sign up proces continues. The e-mail contains an activation ...
0
votes
1answer
43 views

Save temporary registration data

I am working on a custom signup proces, where user first sign up with their name and email and after that they gonna add their company (a post in post type 'companies'). After they have signed up ...
1
vote
0answers
42 views

Plugin templates vs Parent Theme

I've been building a plugin using a WooCommerce like template system, where the plugin houses the default templates, but allows for overriding via a template folder in your active theme. It just ...
0
votes
2answers
25 views

Template directory in plugin

I have a custom dashboard plugin with one of the sections containing useful links. One of them should directly point to the documentation that comes with a template. This documentation is in the ...
1
vote
0answers
42 views

Selectively update themes in WordPress multisite

I have been running a WordPress multisite installation for a few years, and every time WordPress releases an update (from x.y.z to x.y or x.y.z to x.y.z) there is always a chance that one of the ...
0
votes
0answers
58 views

Customized Upload File Control not saving the files URL as value

I have modified a customized version of the Upload File control so that I could upload mp4 videos and use the media library. The control seems to be saving the videos as 'Array'. After uploading a ...
0
votes
2answers
161 views

WP_LOCALIZE_SCRIPT doesn't work

I am creating AJAX loading and need to use WP_LOCALIZE_SCRIPT but cannot make it work. Here is my code. I place it in functions.php wp_enqueue_script( 'page_data'); $gallery_js_data_array = array( ...
-1
votes
2answers
1k views

How to Add Font Awesome Icons to WordPress Menus?

How to Add Font Awesome Icons to WordPress Menus
0
votes
0answers
28 views

Can anyone tell me why I can't edit a plugin when it is installed without having to re-install?

I am using a shortcode plugin as a framework for the short codes I want to add that go with my theme. I decided to just include the plugin in a repo for the user to dl so I am not building theme right ...
-3
votes
1answer
51 views

Need some hints for my own WP theme development

After taking some online tutorials I am willing to create my own custom theme for my myself. This is going to be an online Contact Lense store! So far I have learned how to generate and use Custom ...
0
votes
2answers
718 views

How to Add a .js file Only in one specific Page Dynamically to Head

I need to add some scrips for Google Maps only in my contact page and I do not want to populate it on all pages. I am not willing to create a custom header as well so I was thinking is there any way ...
0
votes
0answers
99 views

Meta Box Not Showing up in The Admin Page

Using WordPress 3.7.1 and PHP 5.4.12 I am trying to add a Meta box - text field to my Custom Post Type. My custom Post Type name is "news" and this is my code: <?php /* Custom Meta Boxex */ ...
0
votes
2answers
358 views

How to check if a stylesheet is already loaded?

I was wondering how to check if a css file is already loaded. For example, I have in my theme Font Awesome font-awesome.min.css and I have a plugin that make use of Font Awesome too. So, I ended up ...
0
votes
1answer
28 views

Cant' Grab WordPress Built-in Posts Through Loop

Using WordPress 3.7.1 I am trying to display all Regular Post on my created page lest say TestPage. Here are the steps I took to do this: 1- Generate a Custom Page Template called:Test Page and ...
0
votes
0answers
114 views

How to Display Custom Post Type's Gallery (images ) in Through WP_Query

I am trying to load an Image Slider images from a Custom Post Type image Gallery Feature. For example let say I have an Custom Post Type called banner which I can load images to it's Gallery and I ...
0
votes
3answers
85 views

How to Register/Link to .js Files in WordPress Dynamicaly in Header.php

Can you please let me know how I can dynamically register/link to my js files in wordpress? I have two js files as below code but I do not know how to map to them uring the bloginfo() as it is taking ...
1
vote
0answers
138 views

WordPress deployment strategy: Dealing with dependencies [closed]

The main question is: How do you deploy your WordPress sites, taking into account dependency management and database migrations? Details I've been reading around this issue both on Stack Exchange ...
0
votes
0answers
19 views

grouping my widgets wordpress

In the widgets page, there are two boxes "Available Widgets" and "Inactive Widgets". How can I add a new boxe with my custom name where I can group all my widgets.
0
votes
1answer
52 views

Toolbar Hidden in a Virtual Page

I am trying to create a virtual page, but my admin toolbar is not showing up. This is how I am creating the virtual page: functions.php add_action('init', function() { ...
0
votes
2answers
91 views

Display Data's metabox in page

I created a metabox has a textarea in page admin, So after validating the data is saved, but it's not displayed in the page (theme) I hope I explain well my problem. here is my code : <?php ...
0
votes
1answer
31 views

my own SVN for a plugin/theme

If I develop a theme or plugin and don't submit it to the wordpress plugin repository is it possible to have my own SVN to roll out updates? How is this done?