Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
2answers
108 views

WP Customizer - what types of fields is it capable of supporting?

I just found this reference of WP Customizer types of data input: https://gist.github.com/Abban/2968549 But I wonder if there's an option to have for instance a range slider? Something that would ...
0
votes
1answer
63 views

Grouped custom taxonomy query

I have created 1 custom post types: image-gallery 1 custom taxonomy: media-category 2 categories (under Media Categories): categoria-uno and categoria-due I need to print the records grouped by ...
0
votes
1answer
47 views

trying to write a variable into a wp_query, need help!

I am not a php coder, I am a designer and html and css guy. However, I am stuck at the moment trying to write a piece of code that will find the name of a post, then get and display all of the posts ...
0
votes
0answers
23 views

list posts of a person by a variable?

Basically I have some portfolio code that runs user bio pages in my site. here is the link Entechpc.com Meet Our Agents . When you click on an agents image, it takes you to his bio which is really ...
0
votes
1answer
218 views

add_action does not work when instance multiple tab-containers via template-file

I wrote my first class in functions.php which I want to use to create multiple tabs with a simple call all over my template files. When I create a new instance directly in functions.php everything is ...
-1
votes
1answer
627 views

Admin new order email customization

I'm using Woocommerce with Gravity forms and the Woocommerce gravity forms plug-in. I want to change the new order email (admin-new-order.php) so that instead of getting an email that lumps all ...
0
votes
1answer
78 views

Custom Post Type, post-formats associated to custom post type > 404 archives

I'm finishing a custom layout. Here's the code of my Custom Post Type <?php /* ------------------ [ CUSTOM POST TYPE ] ------------------------- */ add_action( 'init', 'create_post_type' ); ...
0
votes
1answer
112 views

Clickable image link sends people to wrong URL

On my website www.wilsonstransportation.com, on the header of our custome theme page, we have a "Get a Quote" image on the right hand side. When you click it, it is taking people to ...
3
votes
1answer
124 views

Can WP Customizer work with single pages or posts?

Theme Customization API has been added in WP 3.4 and is described here: https://codex.wordpress.org/Theme_Customization_API It makes it easy to add options such as "change background color" for ...
0
votes
2answers
45 views

Custom field in a shortcode?

I cannot get the image from one of my fields into a shortcode. (it works with get_the_post_thumbnail($post->ID, 'thumbnail') but I need the value from the field udstiller logo. function ...
0
votes
2answers
151 views

$wpdb is queried but results don't show

I am trying to show a list of custom post types on a page template. When I view the page, instead of seeing the different posts, I see the actual page repeated. For example, If I have 5 posts, the ...
0
votes
1answer
34 views

Create a Network of Different websites with wordpress

I followed wordpress instructions of creating network of websites. I created two subdirectories; /site1 and /site2. Why doesn't WordPress create different folders for both the subdirectories in /theme ...
0
votes
1answer
154 views

How do I separate link levels in a custom menu walker?

I am trying to build a custom menu walker and I am unclear on how I would be able to build a UL for top level menu items and a separate UL for all menu items of lower levels. Essentially I am trying ...
0
votes
3answers
257 views

custom user meta query

I've been trying to get this query to work but it keeps failing to return any rows SELECT a.ID FROM wp_users a, wp_usermeta b WHERE b.user_id=a.ID AND ( (b.meta_key='firstname-groom' AND ...
0
votes
1answer
58 views

How can I manage my multiple wordpress websites from main website?

Can this solution be used for multiple WP installations on the same site? For example, I have multiple blogs (multiple subdirectories), i.e. mysite.com/blog1, mysite.com/blog2, mysite.com/blog3, etc. ...
0
votes
0answers
66 views

Make a custom URL and link to custom Template

I have a set of categories in my WP site. I also have a "team" thing in my site. Now when a user makes a new post he selects a category and then chooses the team to which post belongs. I have added ...
2
votes
2answers
4k views

Attach pdf file to custom post type

I am trying to attach a pdf file to a custom post type. I have found this snippet at wpsnipp.com. The code does the trick, but only for posts. I have a custom post type named 'events' and I can't ...
0
votes
1answer
150 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
82 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
119 views

How to Render Post Types in RSS Feed?

I'm using a recent theme which uses custom post formats for video, gallery, audio and more. In my RSS feed, these do not render properly. I mean the content is there but the video, gallery or audio ...
-1
votes
1answer
37 views

Exposing custom fields to the user in custom type post

I have a custom post type - say Hotel Booking - all the data are filled in by the admin and users can browse through different Hotel Rooms. Now, I would like the user to be able to tick additional ...
0
votes
1answer
38 views

Combine two conditions in one statement syntax [closed]

I have two queries that I would like to combine because it becomes a lot of code and I think that's not necessary but I make a mistake with the syntax I want to combine } elseif (is_category( ...
1
vote
1answer
135 views

Limit multisite/network site names to a property of the user

We need to limit the blog names users may choose when they create their own blogs. We have a WordPress Network configured to have all blogs share a domain name. E.g., domain.name.com/x, ...
0
votes
1answer
109 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
787 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
36 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 ...
3
votes
2answers
374 views

How to build custom WP admin with custom URLs

I would like to create a custom WP admin area, that uses custom URLs to navigate thought it and have a custom generated HTML. A member will be able to login via a custom URL, for example: ...
1
vote
2answers
533 views

Post selector as Custom Field

I would like to add a custom field for user to select a existing post or page to a post. (eg as related post, or as similar post...) a way that the user can browse trough exisisting and published ...
0
votes
1answer
168 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
67 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
87 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
53 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
111 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. ...
1
vote
1answer
88 views

Custom attachments styling in post view

I am looking for easy styling list of .doc attachments in post. For example i want to put every in <li></li> tags and do some proper styling. So far I am get my post content this way: ...
0
votes
1answer
273 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
179 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
30 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
2answers
63 views

cannot achieve this structure (custom posts VS categories VS ??)

I'm a bit despaired because I cannot figure out how to do what I need (and I worked with WP since a lot of time ..) Basically, I need to show my artistic work. Each work is a post, or a page or a ...
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
38 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. ...
-2
votes
1answer
38 views

Create a plugin to create a new page in wordpress for each time a record is added into the database

I am new to wordpress and would like to get a way forward for a particular problem. I have a database table A with various columns. For each record in table A a wordpress page needs to be created in ...
1
vote
2answers
2k views

Qtranslate + Woocommerce (multiple tinymce) [closed]

I am using WooCommerce and qTranslate to develop an ecommerce website. I run into the following problems. I've googled it and days of trying to no avail. On the top of the product edit pages, the ...
0
votes
2answers
308 views

How do I automate multiple category loops?

I've asked this question already on the WordPress forum, but it sank like a stone, which isn't at all unusual. I've set up a general Articles page with multiple loops, in order to display the first ...
1
vote
2answers
242 views

CPT: if more than X images are in post, use pagination

On my website, I have a custom post type ("foto's"). It contains photo albums which are fetched from Facebook with Facebook Photo Fetcher (plugin). This works great. Unfortunately, this plugin does ...
0
votes
1answer
499 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 ...
1
vote
1answer
179 views

How to use default WP form elements to interact with custom DB table?

I know about the use of Custom Post Types, but in this case I do need to use a custom database table (FYI: it's a table that is IP-based shared with another non-WP website). In wp-admin, I'd like to ...
0
votes
1answer
75 views

How to customize my category pages

I'm an experienced php programmer, but a wordpress newbie. My site uses the theme twenty eleven. I have created some post categories, and some posts for each category. On my site, for each post ...
0
votes
1answer
115 views

Want to modify a Plugin - Tweetily - Can I make it tweet a Custom Field instead of Post Title?

http://wordpress.org/extend/plugins/tweetily-tweet-wordpress-posts-automatically/ I was wondering if somehow it's possible to make it tweet a Custom Field instead of Post Title? in top-core.php, at ...
0
votes
1answer
75 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
88 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 = ...