Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (10)

0
votes
1answer
100 views

How to show only Standard Format post in my custom taxonomy page -wordpress 3.8.1

I want to exclude photo and video categories (ID's 1 and 2 respectively) from my custom taxonomy page. Any suggestions on how can I exclude these two categories from the loop? <?php /** * ...
0
votes
2answers
109 views

how to display a page before the home page

I want to build a wordpress theme in which there is a landing page made by an image and a logo; when the logo is clicked the theme have to go to another page in which there is the navigation bar and ...
0
votes
0answers
59 views

Own Custom Tags/Category page ( posts)

I want to make a page where on each tags : My page should look alike : http://www.missmalini.com/aamir-khan-2/ Above page is coming from http://www.missmalini.com/celebrity-fan-pages/ this are ...
0
votes
0answers
70 views

ACF Plugin Conditional Logic add 'published' option

Is there a way to use the conditional logic of the ACF plugin to test whether the post has been published natively? I think I might be able to do this manually, but later updates would break the ...
-1
votes
2answers
250 views

How to add product images using script?

I have few hundred products on woocommerce without images. I am planning to upload images in future. Images have same name as the SKU of product (+.jpg). Is there a way I could write a script that ...
0
votes
1answer
34 views

Is there a way to hide a user's posts from their Activity feed?

I'm helping out a friend who runs a paid membership site, and he recently discovered that any public user can access some of the pay content by going to a particular user's Activity feed. He's asked ...
0
votes
0answers
125 views

WP_Customize_Image_Control is not doing very much

I am trying to add a logo option. The section and the option shows up under Appearance - Customize as expected. It offers me to upload an image. I do that. The image gets uploaded, but the option ...
0
votes
0answers
10 views

Adding help for user when using $wp_customize->add_control() [duplicate]

Is there any way to add help for users when adding a control to Customize with $wp_customize->add_control(...);
0
votes
0answers
40 views

JQuery problem display

Hy i have a small problem with NivonoSlider. This is my site - http://bit.ly/1iRSwcf When i check on a checkbox it display the archive base a custom field, in my example by color. The problem is: ...
0
votes
2answers
616 views

Custom CSS at Appearance > Edit CSS is missing after update [closed]

A WordPress site that I have written a few CSS custom styles for has lost its custom styles. I previously wrote the custom CSS in the Appearance > Edit CSS section of the admin dashboard. But now that ...
0
votes
0answers
35 views

WP_Customize->add_control Navbar Background Image

I'm having trouble figuring out how to properly add a setting under Navigation in the Theme Customization page in order to customize and specify a background-image to use in the navbar.. similar to ...
0
votes
0answers
51 views

Multiple Taxonomies Using Custom SQL Query

I am running a custom SQL query, and I am trying to pull posts with two taxonomies assigned to it. Here is my query which works: $querystr3 = "SELECT *, events_startdate.meta_value AS ...
0
votes
1answer
66 views

shortcodes - style them or change/remove the square brackets?

I sometimes use for the clients, plugins that are based on wordpress shortcodes,they do offer a lot of options for the clients to play with like adding tabs galleries and so on. But I see that the ...
0
votes
0answers
36 views

Pass the post ID

Okay what I am trying to do is run JavaScript of the user is not logged in! I have been given the following script by the maker of "Restrict Content Pro" (The plugin I am using) function ...
0
votes
0answers
33 views

Wordpress Custom Post Type Filter not Working

I am pretty new to Wordpress and I have a problem with a filter in custom Post types.. See screenshot here of what I mean: Here is the code I am using for the filter public function ...
0
votes
0answers
9 views

Custom class file

I have created a class for custom post-type, taxonomy and meta boxes. I made a method called form-elements and within that I have included HTML form elements. I need to share this method with other ...
0
votes
1answer
31 views

I need to display post related info

WordPress CPT URLs are displayed at this format: www.example.com/cpt/post-slug. I need to have URL like this www.example.com/cpt/post-slug/rating that will include rating details for corresponding ...
2
votes
1answer
58 views

How do I deque the default stylesheet?

In order to create a static page template that does not use the site's default stylesheet, I created: page-custom.php header-custom.php footer-custom.php static.css For the most part the page is ...
0
votes
1answer
132 views

Wordpress 3.5 + Foundation 5 not working on IE9

I'm using Wordpress with Foundation 5 to make a custom template. It works perfect on Chrome and Firefox, but grid attributes looks all broken on IE9 (styles and typography are working). Is there any ...
0
votes
1answer
77 views

page_template toggle between 2 templates + 2 permalinks for same post

I'm trying to use this page_template template from the WP forums, with the same aim as the original author: I am trying to use two separate permalinks/templates for a single post - each ...
0
votes
0answers
17 views

Widget malfunction in Reponsive theme

Hi – I would like to put an existing RV Flagpicker (displays international flags with links) Widget into the TOP widget on our Responsive site. Just changed to this theme yesterday. When I drag the ...
0
votes
0answers
13 views

Uploading external web pages with limited rights

Context: We have a Wordpress website for our software. This software is not available to everyone. Moreover its users, according to their rights have access to different parts of the source code. In ...
0
votes
0answers
44 views

Customize Dashboard Widgets Area for the Client?

To avoid the client messing up the website I have already customized other parts of the admin backend, now for the dashboard widgets area. I don’t want to block access but rather I want to give the ...
0
votes
0answers
24 views

Separation of view and logic

I find that very easily my views become cluttered with logic, e.g. null checks, email validation, and retrieving values from the post object. How would you separate this out in Wordpress? Is there any ...
-2
votes
1answer
81 views

Wordpress: code structure

EDIT: I've posted them separately here wordpress.stackexchange.com/questions/137672/… and here wordpress.stackexchange.com/questions/137673/…. I'll vote to delete this one. I'm working on a Wordpress ...
0
votes
0answers
12 views

Custom data retrieval through simple search

Ok, here is what I would like to do. I have three fields First name, Last name and date of birth I already created a table in wordpress db called nameSearch with those 3 fields I also imported all ...
0
votes
0answers
111 views

Customize Breadcrumbs - home -> page -> childpage -> post

I use this snippet for breadcrumbs, and it works well, but not as i need it. function test_breadcrumbs() { if(!is_front_page()) { echo '<nav class="breadcrumb">'; echo '<a ...
0
votes
0answers
91 views

Add A Print Post Button Within The Admin

I am looking to create a button within the post or a custom post type admin portion of my WordPress site, that would act similar to a "View Post" button, except it would take the admin user to a ...
0
votes
0answers
104 views

Creating button next to “add media” that allows you to choose a single post

I'm looking to create a button next to "add media" ( much like gravity forms "add form) that allows you to choose a custom post and then inserts that post id into a shortcode. I've bene looking at ...
1
vote
0answers
24 views

Order posts with a custom field but also without

I am querying and ordering posts with this code but my theme adds the custom field (cb_vote_nb_vote) only if someone clicks the "vote" button, since I am doing a listing, posts created without that ...
0
votes
1answer
424 views

How to override wp-login.php

I would like to override the default Wordpress Login page (wp-login.php). The reason is that, i want to write some custom code at the top of the file, that checks some conditions in the backend, and ...
0
votes
1answer
28 views

What's the right way to share data between widgets?

I've got a few custom widgets in my site, which I'm targeting to specific tags. There may be a case where there may be an overlap in widget targeting, and the desirable behaviour may be to only show ...
0
votes
1answer
19 views

Is there os native application for wordpress?

Is there os native application that makes possible to write and edit wordpress on a server? I'm thinking about something like a Evernote.
0
votes
3answers
212 views

Add category selection to custom post type (plugin)

I picked up someone's old project at the company I work at. They created a plugin to add courses to the website (including dates, location etc), but they didn't add the possibility to select a ...
0
votes
3answers
37 views

Create Custom Admin Fields

I'm looking to create custom admin options/menu/fields (I'm not positive on the correct terminology) and would like some guidance. I found a post here which does speak about it in the answer: Tips for ...
0
votes
1answer
70 views

Custom Taxonomy with Custom Post Type Finds No Posts

I've created a custom post type named mfg_ppn and a custom taxonomy called mfg_pp, and they are referenced as $this->cpt_promotion_newsand $this->cpt_promotionin case you were wondering about ...
0
votes
1answer
48 views

Gettind 404 not found wen click the view button for a given category custom post type portfolio

I have created a custom post type portfolio and custom categories. Everything is working fine as expected however when I click into the custom post types categories and click the view button for a ...
0
votes
1answer
189 views

Rearrange elements outputted by comment_form()

I'm currently developing a custom theme from scratch. In the past week, I've been trying to change the order of the HTML elements output by the comment_form(). I basically don't know any PHP, and I ...
1
vote
1answer
43 views

Theme licensing and permission on changing content [closed]

When using themes on a WordPress site, can I customize (I mean modify/change files) that makeup the theme? So as to remove a particular section on stock photo provided in the pages? I like certain ...
0
votes
1answer
17 views

custom field functionality

I have to build a custom functionality based on custom fields. I have a sidebar that displays a blockquote testimonial. At the moment this is achieved by giving a post a category of block quote. But ...
2
votes
4answers
2k 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
1answer
29 views

Changing starting number of User ID

I've got a client who would like their online user registration to match their current database. Thus they'd like their wordpress sign ups to start with 00100, I can't seem to find a plugin that ...
0
votes
3answers
259 views

How to list the Hooks and order of execution in current loading page?

I need to know the list of hooks that are called in the current page . How to identify the priority assigned to the action and filters in the action . If i want to remove the default action on ...
0
votes
0answers
19 views

Wordpress subadmin can create N user

Is there a way to create a subadmin that has a capability to create a number (N) another users. So that, if the subadmin has reached N value, he can't add another user anymore.
0
votes
1answer
82 views

How to hide something from custom home page with php code?

I need help to get the issue resolved. I have a wordpress custom-made site and it is with a custom home page. The index page of the wordpress site is used for updates purpose(blog). I want to hide ...
0
votes
2answers
754 views

NextGEN Gallery - open all images on page in fancybox [closed]

For now, I am not using NextGen Gallery. For now I am adding class="fancybox" and rel="gallery" to each image and it opens all images within a page in fancybox. However, client wants to start using ...
0
votes
1answer
432 views

How to show featured image in custom post type dashboard post page

I have added this code to my theme to add a new colmum for showing the featured image in the dashboard post page colmum. It's working in wordpress default post page, but not in custom post type (my ...
0
votes
0answers
19 views

meta_query works with single query but not multiple queries

This is very strange and I'm not sure why it is happening but this piece of code... $args = array( 'post_type' => 'property', 'sentance' => true, 'meta_query' => ...
0
votes
0answers
53 views

Attachment Display settings for Audio files

I'm using WordPress 3.8.1 and would like to stick with the plugin I have for embedding audio - The problem - When Uploading Audio you have a choice "ATTACHMENT DISPLAY SETTINGS" to Embed Media Player, ...
1
vote
1answer
41 views

How to prevent first post and first comment on WP MU?

When a user creates a new blog a new post and a new comment is created at the same time. Is there a way to disable this?