Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (9)

2
votes
2answers
156 views

Is it a good idea to edit an already existing plugin to add more functionality?

I need to add a relatively small bit of functionality to a Wordpress plugin and I have the option to either edit the plugin directly, or scrap the plugin completely and repurpose PHP code from another ...
-2
votes
1answer
18 views

Create a page in a plugin , like woocommerce

I want create a plugin with custom posts. Which post will be shown in the single page from the plugin, just like woocommerce single products are shown. How can I do it. I saw it in many plugins as ...
1
vote
1answer
23 views

Add Div to Comment Form

I have some code that displays my comment form and my custom validation, what I'd like to do is add a div right underneath the title, but I'm not sure how to do that because that code is generated... ...
0
votes
1answer
11 views

Adding comments section to website integrated WordPress instance

We've integrated a WP instance into our website, and I was wondering how to render the comments template into the page. I've tried simply adding: comments_template( '', true ); But it doesn't ...
0
votes
0answers
14 views

Twenty Eleven child theme anchor top menu not clickable

I am working on child twentyeleven theme. I have to do three things to my child theme. 1-Using page.php coping in my child theme.I added the code in page.php at top of the code <?php if ...
0
votes
1answer
22 views

Style Wordpress Custom Post Type Single Page

I'm registering a custom post type 'events'. The events can be listed using a shortcode, and when you click on an event you go to the single view of that event. Now, I want this single view page to be ...
-2
votes
1answer
15 views

use another theme for just one page

I am a wordpress newbie. Been looking the whole day for a solution. http://codex.wordpress.org/Theme_Development and http://codex.wordpress.org/Template_Hierarchy#Visual_Overview did not give me what ...
-2
votes
0answers
22 views

Front End editing of entire site

I am looking for some help to create custom plugin that will enable admin user to manage CMS part from front end. Actually I want to restrict admin user to go in backend. So CMS portion like ...
-1
votes
0answers
15 views

if this kind of project possible in wordpress? [on hold]

i have some questions. i am planning to create my own “management crm”. so i looking for plugin that can give me the next options to build it in the way i want and need to my business. this project ...
0
votes
2answers
33 views

How to make a template for a specific post of a custom post type?

For the Page post type: I can create a logout page in the CMS and create a page-logout.php for its template. I created an Account post type but I can't use account-user-registration.php for a User ...
0
votes
0answers
14 views

How to add Publicize support for portfolio type of Virtue theme [closed]

I am trying to add support for Publicize - a feature of Jetpack - in the theme I am using - a modified version of the Virtue theme. There is a file lib/init.php in the theme's root directory that ...
0
votes
1answer
28 views

Sort posts by multiple meta key values

I'm not new to wordpress, but I'm not very good at PHP. I hope someone can help me, since I already tried to search for a solution for over 5 hours with no luck. So I have an archive.php page where I ...
0
votes
0answers
13 views

Move Custom Fields on General Settings Page to New Location

I've created some custom fields on the General Settings page after studying up on this post: Add multiple custom fields to the general settings page. I'd really like to move them to their own ...
-1
votes
0answers
6 views

Update timezone in post [closed]

Use case: I used to post Timezone in my blog July 23, 9:30 PM IST. Is there any way to convert this timezone (inside post) according to user location. Like if a user is visiting my site from US the ...
0
votes
0answers
10 views

all in one event calendar recurring event display event start time and duration [closed]

I have been stuck on this for a while, I have written a custom query for using this example All-in-One Event Calendar: Custom Query - Getting each event Instance I am however having a problem with ...
-1
votes
0answers
14 views

Youtube video embed in custom player [closed]

How I can embed youtube video in custom player ? I see this plugin: https://wordpress.org/plugins/zd-youtube-flv-player/ I try but not work anymore, anyone know how I can embed any youtube video to ...
0
votes
0answers
27 views

Show Custom Post id in shortcode button on tinymice editor

I have created a custom post Testimonial for my custom theme and i have to display posts using shortcode , i want a shortcode button on tinymice editor so i create a js file for shortcode button Here ...
0
votes
0answers
8 views

Wordpress metabox can't be shown in the index.php

I got a problem, I have already made the custom post type and i assigned a metabox for it but i can't use it in the index.php. Here is my code: This is for the Custom post type & meta box in ...
0
votes
0answers
26 views

Post Categories Meta Box: Customize Most Used Tab

On the Edit Post page, within the Categories meta box, I’m looking for a way to put custom categories into the Most Used tab for easy category selection. The issue: There are a large amount of ...
0
votes
1answer
13 views

Get new post meta data when (custom) post is saved

When I save my post (custom post type: project) I want to get the meta data for a specific key that I just inserted. Based on the value of that key I insert a product in WooCommerce. What happens is ...
0
votes
3answers
21 views

How to redirect the home page to a custom page?

I had a WordPress site which was moved to a directory called "test". Now, all the urls for the wordpress site is domain.com/test, /test/wp-admin. The main index page is a custom html page for ...
0
votes
0answers
18 views

add classes to wordpress menu links

As the title already says, I am trying to add classes on the WordPress menu item links (so not the li, but the a element). If it is possible to achieve something similar to WordPress its own function ...
0
votes
0answers
14 views

Custom the_content filter?

I have written a plugin which uses a WYSIWYG editor to output a custom success or error message that the user can specify. HTML is allowed within the WYSIWYG editor, and I have used the_content ...
0
votes
0answers
10 views

Nested Admin panel sub menus in single menus

i know how to add custom menu in the admin panel and how to add multiple sub menus in the custom menu. But i want to know can we add nested sub menus in the custom menu (WordPress admin panel)? Means ...
0
votes
1answer
28 views

Unable to retrieve data from multiple Wordpress websites on same server

I am trying to retrieve data from multiple client Wordpress websites on a single php page. So I can monitor all these websites without going through each one. I am able to display data from one ...
0
votes
1answer
42 views

How To Run Multiple Multi-Site Networks On Same Box [closed]

I'm building a multi-site project locally using the VVV Vagrant VM. I setup a sub-domain multisite install with domain mapping and two sub-sites. Everything works fine. This was my sandbox that I ...
0
votes
0answers
10 views

Linking wordpress plugin page with another in the same directory

I am making a plugin page on wordpress admin, that I have connected it using the add_menu_page() command. This page displays a list of custom post type using wp_query. I am trying to link each title ...
0
votes
1answer
21 views

How do I aproach this?(for sale, for lease, sold->move something from a category to another)

First of all, I really apologize for the title of this question. I'm currently working on a real estate wordpress theme for that will feature ads from the town that I live in. I basically want to ...
-1
votes
1answer
34 views

Custom Search only for my Custom Taxonomy Page - data

First of all, my post is related to : Link 1 and Link 2 I made my custom taxonomy page. My Custom Taxonomy Page link is //localhost/myproject/?motion=aamir-khan This page is custom taxonomy ...
0
votes
1answer
71 views

How to Fix an Archive.php That Displays All Posts?

I am currently working on developing my first large-scale WordPress powered site, and I have run into a major problem in my archive.php file. It loads all posts, rather than the categories/tags that I ...
0
votes
1answer
33 views

Tell WP to use a specific template file in posts

I've searched everywhere and tried a couple plugins with no success. I'm using WP 3.9.1. I have to create different ways to show my posts. If they are "standard" they use the single-post.php. That's ...
0
votes
0answers
28 views

Google font doesn't show in theme option

I have implemented the following tutorial in my theme's option panel. http://wptheming.com/2012/06/loading-google-fonts-from-theme-options/ Every thing is working fine. But in the themeoption panel ...
0
votes
1answer
22 views

Add Class according to the order of appearance

My loop returns five posts and the HTML should look like this.. <ul> <li class="topfive"> ... </li> <li class="topfive"> ... </li> <li class="topfive"> ...
0
votes
0answers
28 views

Change the functionality of wordpress users module in admin

I want to restrict wordpress admin to view all users in user list. For say, I have created custom roles (company users, employee). A company user type role can have multiple employees. I want ...
0
votes
0answers
14 views

How to Create clean URL in WordPress custom plugin

I am new to wordpress, On the Login page I have one button onclick of the button I am making a cURL request to the Server. The Server response has to come to the other page which is like ...
0
votes
1answer
26 views

Sort by Custom Post Type (Multiple Loop)

I have changed my set-up slightly to have 2 separate post types "Premium Listing" and "Free Listing" and a taxonomy for Listing_category. Here is an example of my Loop The idea is to display Premium ...
1
vote
1answer
54 views

How to Mass Delete Images from Media Library

I need your help. I am trying to mass delete attachments from a custom post type ('book') using a sql query. I found this snippet on the wordpress form: Wordpress.org I tested it on my local ...
0
votes
1answer
33 views

Is it possible to sync nav menus across multiple wordpress sites?

I was asked by a customer about the possibility to put a menu from a WP installation into another WP, whereas are independent installations, each one for its domain. The point is: I developed a ...
0
votes
2answers
37 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: ...
0
votes
1answer
25 views

Custom Widget Area outside theme's border

I'm having an issue i would like your help with. I am a beginner with wordpress and wordpress themes so your patience would be appreciated! I am running a website www.besmart.com.cy and i have used a ...
0
votes
1answer
19 views

Custom blog setting directs blog to index page

In WordPress, I've changed the general settings for my web site to use a static page, pointing the Front page to a custom page called 'Home' which inherits from a template page called tpl-home.php and ...
0
votes
0answers
15 views

How to hide terms if post is equivalent to draft?

The issue is if you are displaying a term list somewhere it will show the terms tied to draft posts as well. How can I make drafts not register to the taxonomy until published?
0
votes
0answers
15 views

Wordpress custom url menu items being overwritten

I am fairly new to Wordpress development. Using a site that runs 3.91 with a custom theme that I have inherited from someone else. My question is fairly simple: I want to add custom menu items that ...
0
votes
1answer
26 views

Adding custom fields to images

I want to show sources under my every images. So basicly I want to add a simple custom field. I added this code to my function.php add_filter('attachment_fields_to_edit', 'edit_media_custom_field', ...
0
votes
1answer
37 views

Can Username and Password be passed to WP Login page in an IFrame?

I am using a real estate commercial theme, that uses a custom login/registration from on the frontend. The admin panel and option pages are restricted to Administrators, but if the theme is ...
1
vote
0answers
37 views

Add success message to category add screen

I have custom taxonomy named "Products", When i add new Product using "edit-tags.php", It is added using ajax. I want to show message after it is added, like "Product added successfully"! When we ...
0
votes
0answers
22 views

Custom Search results page based on search

I am trying to find a way to create custom search results pages based on what the user searched for. I don't think it's possible with a global search since multiple posts may be pulled in but I wanted ...
0
votes
0answers
24 views

Checking if some condition is matched before inserting post into database

Is there a way to check if some requirements are matched before adding new instance of custom post type to database? Like custom policies for adding new posts etc? What I want to do is to build two ...
0
votes
1answer
18 views

Custom wp_query - I'm getting 'all' post, not the specific post in the query

Get all post from today, that are of post type 'product' and are in the taxonomy of 'productType' as 'Indica' and in the taxonomy of 'locationCity' as 'Los Angeles' -- However, I get 'all' the post ...
0
votes
0answers
15 views

Search working only on default permalink structure

my custom theme is using a search form which works fine with default permalink structuresite-url/?p=id. however after i changed my permalink structure to post name, the search returns NOTHING FOUND. ...