Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
1answer
143 views

Using Custom Fields in post, need to put into the_content

I have some custom fields that I need to get inserted into the_content, specifically after a gallery, that's posted in the wordpress backend. Here's my current code for pulling the data out. I can ...
0
votes
1answer
75 views

Change loop order via form or link (jquery, not URL)

I would like to change the loop order via a link or form input, but it can`t load via URL, because i need to orderby=meta-value and this cannot be done via url args (acording the codex) , only like ...
0
votes
1answer
100 views

Custom Wordpress SQL Query 4 posts per custom taxonomy

I'm currently developing a Wordpress website that has a large navigation that lists the 4 most recent posts within a hierarchical taxonomy. I dont have any experience with $wpdb, but it seems like ...
0
votes
2answers
696 views

List Categories (wp_terms) and count posts

I have a problem (of course) and I'll go straight to the point: I need to list all the custom categories and count the posts for each category eg. Category 1 (xx posts) Category 2 (yy posts) etc.. ...
0
votes
1answer
35 views

Permalink structure as code in back-end?

I have this permalink structure: /%year%/%monthnum%/%postname%/ What I want to is, output the link of a post in the back-end and let users input a postname, that will automatically lead to that post ...
0
votes
1answer
151 views

Get a different size of Image thumbnail While working with custom metabox

I am using custom metabox for a page in my new project, I am using it for uploading image, and attaching it to the page. It's working fine, I can select image or upload the image using WordPress' ...
0
votes
2answers
64 views

Custom search by several options send on form not works

I am using the Advanced Custom Field Plugin to add custom fields for the users profiles and display a list of users in the frontend of site with Simple User Listing Plugin. I need to filter a list of ...
0
votes
0answers
86 views

Add a header above blog posts but below page header

How do I add an image to my blog page. I want it to appear under the page header but before the blog posts. It will be a static image (masthead for the blog). This is the address for the page: ...
0
votes
0answers
52 views

Show list of posts only on category site

I used the following code to create a list of my custom categories and custom post types: <ul> <?php $custom_terms = get_terms('project_category', ...
0
votes
0answers
102 views

Order custom fields by string length

I am trying to reorder a custom field from one of my Custom Post Types. I'd like to get the custom field string which is called 'first name' and order all of the first names by their string length. ...
0
votes
1answer
244 views

Client Profiles

Looking to find the best approach to creating a client database. Would a plugin be best to achieve the following? My Client Database plugin Store personal information and statistics about the ...
0
votes
1answer
163 views

Multiple Block Quotes without using HTML

First of all, I have a client that has no HTML knowledge. He wants his all his posts to have a certain format where within the post body, he can add multiple pull quotes with different styles. Note ...
0
votes
1answer
29 views

How to make my wordpress site responds for 2 domains

I have a Wordpress Woocommerce site running on www.mydomain.com.br and I'd like it to also respond for the domain srougi.biz/mydomain because my return page (page that users go after payment) must ...
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 ...
0
votes
1answer
37 views

Page template with custom html fields inside a content

I'm writing a custom page template and I want to do something like this: after typing tag inside page content, for example [custom-email-form] I want to place inside the content some html5 email form. ...
0
votes
1answer
440 views

How to add a prefix to existing custom fields over MYSQL query?

I've got the problem that after a plugin update I can make the custom fields on our directory site searchable, but only custom fields which get the prefix booking_ to them. Now there are some pages ...
0
votes
1answer
71 views

Upload files in wordpress

What is the best way to upload files in wordpress? How can I upload multiple files at a time like media uploads in wordpress?
0
votes
0answers
85 views

Pagination is not working on custom query

I have custom query with different conditions so that's why my pagination is not working with it. When i click on next button it show me the same posts. The query i am using are <?php $paged = ...
0
votes
1answer
90 views

User registration add user ID?

I have created a custom user registration template for my WP website, based on this code: http://www.tutorialstag.com/create-custom-wordpress-registration-page.html. Now I was wondering if it is ...
0
votes
2answers
150 views

Permalinks problem with custom theme

I am pretty much learning by doing a custom theme from scratch (not a child theme), and have had much trouble with permalinks. In the permalinks settings page on the wp-admin, if I put any option ...
0
votes
0answers
52 views

Get page type to display content

I have some checkboxes to select where can I display my plugin and I save in db in this format: Show popup in this pages: x Article (Public) x Pages (Public) x File (Public) x Revisions (Not ...
0
votes
0answers
61 views

error with WP custom form

I have set up a custom form in my locally hosted WP and I made a page where user goes after successfully done with the form but I got two issues : 1- the form validation code appears on the ...
0
votes
0answers
74 views

Add Custom Post Type Categories to General Categories

I've created three custom post types. I want them seen as general categories. I could not find a solution, can anybody help me? Thank you.
0
votes
0answers
68 views

Custom WP plugin installation permission problem

I've developed a custom plugin for WP. When I install it manually on my server, using FTP transfer, all is perfectly working. I tried to make a zip file and uploading it through WP admin panel. All ...
0
votes
1answer
119 views

How to create a custom template to admin dashboard

I was trying to create a template to customize my WP admin dashboard, not only a css mod but a entirely renew to my customers. I've successfully created a page template for a custom login page, and ...
0
votes
1answer
54 views

Where can I find the code for the menu page meta boxes?

I want to add a meta box to the menu page. More specifically I want to basically clone the pages or category meta box and have it load the items into the list from a meta key, instead of pages or ...
0
votes
1answer
320 views

How to extend customize control types to list pages

I have: I'm currently using $wp_customize to add options to the customize theme area. My Goal: My goal is to extend $wp_customize so that I can display a list of available pages as checkboxes. I've ...
0
votes
0answers
52 views

Wordpress causing all code to be displayed on line 1. Receiving multiple errors after cleaning cookies and cache

I have been working on a theme for a few days and when I realized my JS file for my theme customizer wasn't updating I decided to clear the cookies and cache, and wow that was problematic. As soon as ...
0
votes
1answer
69 views

Can't Auto-Update, but permissions are good?

Normally wordpress will auto-update fine without a fuss, but now throws the old ftp credentials form up in my grill. I haven't changed any permissions in between updates, even running chmod and chown ...
0
votes
1answer
226 views

How to add button to top of theme customizer?

I am trying to figure out how exactly I can add a button to the top of the theme customizer. The spot I am talking about is where the "close" and "save" buttons are. The ones that are above everything ...
0
votes
0answers
153 views

Custom query on Wordpress custom table

I am working with a custom table where some values will be inserted or updated if they already exists, I have checked and rechecked the syntax and it seems to be working fine, if I run the same query ...
0
votes
0answers
645 views

How can I clear the theme mod settings?

Ideally I am looking to add a button to the theme customizer that allows the theme to reset to default settings, although that may be asking for too much in one question so I am wonder if anyone knows ...
0
votes
1answer
65 views

Using common slider in all sites

I have created one main site and 100 multi-sites. But, I am facing one issue. I want to use a common slider for all sites, meaning that I can control and edit from main site. How to update something ...
0
votes
0answers
148 views

Special Query: Title, Terms, Content - %LIKE%

I'm working on a them theme that is search-heavy, and my users are putting huge priority on an improved search function. I think I will have to use a special direct query to search these things: ...
0
votes
1answer
64 views

Create Table Failed Column Date DateType

I have a plugin that creates tables and one of them is failing and I feel like it's due to either my syntax or the fact that I'm trying to create a column with datatype DATE and not TIMESTAMP (only ...
0
votes
0answers
56 views

MySQL Engine vs. Charset

I am attempting to have my plugin create a new table. I am fairly new to SQL. I have found two different method for creating tables: Method I $table_name = $wpdb->prefix . 'cool_table'; $sql = ...
0
votes
2answers
94 views

Why does modifying my functions.php file always result in a server error

Basically, every time I modify my functions.php file and reload it to the server my site "breaks" and nothing loads. As soon as I delete it, it starts working again. Now before anyone freaks out, I ...
0
votes
0answers
31 views

Outputting Page Content in Two Places

I am working on a site for a client that is going to be structured very similarly to a store (though without the e-commerce capabilities). I am getting a bit hung up on how to output page content in ...
0
votes
1answer
160 views

How to check if a custom user profile field is empty

i have this code to limit the comments per user. <!-- #only one comment --> <?php global $current_user,$post; $usercomment = get_comments(array('author_email' => ...
0
votes
1answer
84 views

Custom Style per Post, How to Display Custom-Styled Single post on Homepage?

This question probably has simple answer, but I'm not an expert programmer so lemme explain my question chronologically. I apply custom style for every single post, and it works using the following ...
0
votes
1answer
216 views

display only parent replies count in index.php

Currently my posts display the total count of comments (i.e both replies and sub-comments). I want to display only the number of reply count in my index.php (and not comments for a reply) for each ...
0
votes
1answer
169 views

Issue with WordPress native theme customizer function and jquery ui tabs

So I am using the customizer in my theme which have tabs in the page utilizing jQuery UI Tabs. When I load up the customizer, it would the sidebar accordion would be sluggish and the preview page ...
0
votes
1answer
66 views

Post interior margin in twenty eleven theme

I'm trying to customize the aspect of a single format post, in my case is "Link". I've added a different color background so they look different, editing the CSS as this: .format-link .entry-content ...
0
votes
1answer
50 views

Changes in comments.php in the child theme does not show up on the site

I am trying to customize the comments template in the comments.php and so have made some changes to the code, including a call back function in wp_list_comments() (which I have defined in ...
0
votes
1answer
93 views

2 language CPT content

I'm working on a CPT Portfolio to present my job I wish to be able to have it in 2 languages but I would prefer not to use an additional plugin since that is only 2 fields that would be in 2 language ...
0
votes
2answers
244 views

Twenty Eleven theme, how to change style to a specific “format”

My question is: it is possible to change the background color (for exemple) to an article who is categorized under "quote" format. (or whatever format like Aside or Link)? I want that an article in ...
0
votes
1answer
268 views

Display a list of users with avatar filterable with alphabets

I'm trying to create a page which should display a list of users with the role "Author" only and exclude all other default and custom roles. I also want them to be filterable by alphabets, so if I ...
0
votes
1answer
323 views

Widget where it can make changes to the container

Is it possible to create a widget where it can make changes to the container? An example is like this: <!--- widget-container ---> <div class="wdget"> <div ...
0
votes
1answer
41 views

How to know if a tag has been added within a taxonomy?

I have a custom form field within a taxonomy. However when a new term/tag has been added I need to clear some values through javascript. How can I do this? I found the following code snippet in ...
0
votes
1answer
85 views

WordPress Multisite platform for different city for single db

I have One WordPress Multisite installation. myplatform.com (Main platform) have custom post list for different city say city1, city2 & city3. Now What I want is on city1.myplatform.com (city1 ...