The tag has no wiki summary.

learn more… | top users | synonyms (7)

0
votes
1answer
37 views

how to add custom logo to my template

So now it should be somewhere here. I still have no idea how to do it :< <div id="logo-wrap"> <?php PC_Utility::pc_display_theme_logo($options); ...
0
votes
0answers
44 views

Prevent redirect wp-login when custom login fails

I made a custom login/register page wich seems to work fine.. This is the line that logs the user require_once(ABSPATH . WPINC . '/registration.php'); if($_POST['submitLogin']){ //We shall ...
2
votes
1answer
60 views

Upgrading a custom theme through the Dashboard

I can't seem to upgrade my custom theme. Whenever I try to uploaded a new package, all I get is: Unpacking the package… Installing the theme… Destination folder already exists. ...
1
vote
1answer
24 views

Display Custom comments field number

I have some custom comments fields, I need to display the number of times that a meta value is used Example : I have a custom comments field "Do you like this post" with multiple choice : Yes ...
1
vote
0answers
63 views

metabox / select custom post in custom post list to display metavalues only the selected cpt

So i have a "select post field" in a dropdown list to select "artist custom post" on a "gallery custom post" and i want to display the photos (from my gallery custom post) only on the selected ...
0
votes
0answers
36 views

Trying to have A - Z on top for custom posts

Im currently using this code below which shows a letter than companies under that letter.. Im trying to have letters go across the top A - Z and once clicked it will show companies.. im using a custom ...
2
votes
0answers
50 views

Hide upload image fields for the different media upload popups

I am trying to change a few of the options in the Set Featured Image popup in the Wordpress admin. I can't seem to find anything that determines if the popup window is a Featured Image or an Add Media ...
0
votes
1answer
59 views

Adding Multiple “Parents” in get_categories

I am using the below mentioned code to get top 5 child categories (by number of posts) from a Parent category. The code works fine, however I need to add more "Parent" categories so that I cant get ...
0
votes
2answers
105 views

Two columns in homepage each with one category

I modifying a wordpress template to be left with two columns on the main page with the following structure: The first 4 are of a category and the last 4 of another The index code is: ...
4
votes
1answer
111 views

How can I save an array from a random post sequence for later use?

I'm building a random workout generator on Wordpress to help with my fitness, and am stuck at saving random post arrays for later reference. I'll explain. The generator should work in two main ...
0
votes
2answers
44 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 ...
2
votes
2answers
158 views

How to make custom bulk actions work on the media/upload page?

I'm adapting a script I found online to add custom bulk actions to the screen with the list of posts. It has this line: add_action('load-edit.php', 'custom_bulk_action'); I'm trying to adapt it for ...
0
votes
1answer
49 views

Users with custom roles not showing in post author select box

I am using a function to create new user roles and delete some defaults. However, they are not showing up in the post author box! Only the admin shows up because they are selected as an admin. Any ...
0
votes
1answer
61 views

How to list posts by term (custom taxonomy)

I created a custom post type (portfolio), with custom taxonomy (portfolio-category). I created a template, this template lists all "portfolio" posts. <?php while ( have_posts() ) : ...
0
votes
1answer
60 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
0answers
11 views

Customizing existing translation

We'd like to customize some language strings for our Wordpress installation. The goal is not one of translation but of customization; we want to use vocabulary which is already in use within the ...
0
votes
0answers
28 views

Check Types custom checkbox and metadata when publish post

I´m using Types to create metaboxes with custom checkboxes to make some custom functions. The problem I have is with this function I created: function check_zone_tag(){ $postid = get_the_ID(); ...
0
votes
0answers
31 views

Two Sub-Directories, One Database

I have an existing site install at mysite.com/wordpress (but it is set to be accessible at simply mysite.com). I have also installed a separate WP installation on a sub-domain (publish.mysite.com). I ...
1
vote
1answer
93 views

Force pdf download not working when include blog-header.php

I have this code which works in a file called downloads/download.php: <?php header('Content-type: application/octet-stream'); header('Content-Disposition: attachment; filename="file.pdf"'); ...
0
votes
1answer
60 views

How to move meta information in TwentyTwelve's single post template?

How can I move a single post's meta data to it's headline? I tried single.php and content_page.php, but could not find it. I am using the recent Wordpress 3.5.1 with the standard theme TwentyTwelve. ...
0
votes
0answers
93 views

Wordpress custom file upload in page

I'm currently using this code for PHP file upload (found directly on the wordpress page): <form enctype="multipart/form-data" action="upload.php" method="POST"> Please choose a file: <input ...
2
votes
1answer
87 views

Issue with get_theme_mod returning a blank value instead of the saved value

I have what seems to be a rather troubling issue with the get_theme_mod function in the latest version of Wordpress. Only on particular servers (of which meet all Wordpress requirements) the function ...
0
votes
1answer
376 views

All-in-One Event Calendar: Custom Query - Getting each event Instance

I am using the All-in-One Event Calendar by Timely, and I would like to display upcoming events from the events calendar in a carousel on a separate page, and I need to get the event information. I ...
-1
votes
1answer
371 views

Woocommerce - Print Product's Custom Field In Email

In Woocommerce 2.0, I need to print a custom field on the New Order email. It is a meta/custom field each product has named "longsku" (which is normally hidden.) This needs to be included in the ...
0
votes
0answers
10 views

Remove feed added with add_feed

I'm working on a plugin for something I need on my blog. I have really no experience with wordpress development or php. I added a feed type by calling the add_feed($slug,$callback) function. Now the ...
0
votes
1answer
30 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
30 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 ...
1
vote
2answers
51 views

Remove template drop down for certain pages

I have a number of custom templates which are assigned to different pages in my admin. Is it possible to hide/lock the templates dropdown for certain pages? For instance, I have an Events Calendar ...
0
votes
0answers
135 views

How to change the permalink structure of the default post type

This Custom permalink structure only for default posts looked like the perfect answer: add_action( 'init', 'my_new_default_post_type', 1 ); function my_new_default_post_type() { ...
0
votes
1answer
75 views

Custom image sizes ignored in WP 3.5

Since migrating to WP 3.5 I discovered that my custom image sizes get ignored - whenever I try and output one of them WP just defaults to the original image instead. Kind of frustrating... Any idea ...
0
votes
2answers
141 views

How to create a custom search for custom post type?

I have a search field for the blog posts, but I need an other for a custom post type. How can I create this custom search form with a different search result layout?
0
votes
1answer
224 views

Gravity Forms - Repeatable “File Upload” field using “gform_column_input_content” filter

I am looking to use the gform_column_input_content filter to make a repeatable file upload element. The filter modifies the HTML content of the list field column input tag. The following code ...
0
votes
0answers
94 views

Wordpress e-commerce custom product category page

I am working on an e-commerce website and using wp e-commerce plugin. I am stuck at making a custom category page of a product. Here is what I am trying to achieve: I have a two main product ...
0
votes
1answer
68 views

Inline-Table under TwentyTwelve not working

I recently wanted to add a comfortable way to automatically add users to a page within small boxes including information an an image. So I followed this tutorial an customized the code: ...
3
votes
1answer
129 views

When to use esc_url, esc_html, esc_attr, and friends?

Discovered esc_url today while customizing an _s theme. I understand what the function does (sanitizes the URL inside), but what I'm unsure of is the scope of its use. It makes sense to me that if ...
0
votes
1answer
96 views

Custom Field as Custom Taxonomy?

I have a custom taxonomy, "Country". I am using WP User Frontend to let users post to the site. Most data is saved as custom fields, so I have a custom field "cf_country". I want to be able to set ...
0
votes
1answer
57 views

Wordpress as web application base

I am planning to use wordpress as the base for my next web application. Earlier I have used RoR, Laravel etc. for web application and wordpress mainly for blogging. The web application will define a ...
0
votes
2answers
21 views

Is There A Way To Add Another Field To Custom Post Type (Not Custom Field/Meta)?

Maybe I'm not getting the whole concept, but is there a way to modify a Custom Post Type so that it includes other 'fields' like a 'real' db table. I don't mean a Custom Field (get_meta)... I mean ...
0
votes
1answer
61 views

Display Youtube Time Automate from Key

Hy im building the Trailer section, i want to get the time automate from Youtube video's... Custom Fields $key="trailer"; - represents the key of the trailer Ex ...
-1
votes
1answer
70 views

How to use page template with custom query instead of archive-xxx.php?

I created a custom post type and I would like to list the posts. I choosed page template with custom query instead of the archive-xy.php to list the posts because the user would like to edit the ...
0
votes
2answers
53 views

Your thoughts on the interaction with one custom database table from WP?

Short version: Step 1/ i am using contact form 7 to collect some user data and i insert the data into a custom database table. Step 2/ only the custom table needs to be altered/updated. In fact at ...
1
vote
1answer
169 views

Edit Yoast SEO breadcrumbs output

I want to customise the output of Yoast SEO breadcrumbs, I have this so far which works great: add_filter( 'wpseo_breadcrumb_single_link', 'ss_breadcrumb_single_link', 10, 2 ); function ...
0
votes
1answer
109 views

Query Multiple Custom Post Types & Exclude a Taxonomy Term

I'm querying multiple custom posts types and I'd like to filter certain posts that are tagged with a specific taxonomy term. The taxonomy is "content" and the term is "indy" I'm using the the code ...
1
vote
1answer
87 views

Animated gif for a thumbs

I need to insert an animated gif for a feature image but I don't understand if is possible. Right now when I try to upload a gif, wordpress create automatically a gif single frame. Is it possible ...
0
votes
1answer
48 views

What's the best way to show custom post types? With page template it's not perfect!

I created a custom post type with name career. I would like to know what's the best way to list the posts. I created a page template with a query inside, but the pager is invisible. I don't know ...
-1
votes
1answer
47 views

Custom permalinks structure

I would like to have this structure: www.mysite.com/2013 (must show all posts of 2013) www.mysite.com/my-category/2013 (must show all posts of 2013 and of category "my-category") ...
0
votes
1answer
105 views

Wordpress live, custom text box validation, how to?

I am teaching British Sign Language on my website, on the alphabet section I have an image of 'signs' that spell out a word. Below I would like a text box that requires the user to input the correct ...
1
vote
1answer
44 views

Wordpress Custom post query sorting does not work

I created a custom WP query to collect products that have 3 different taxonomy values in them and sorted them by price using the following: $my_products = new WP_Query( array( ...
-2
votes
1answer
30 views

how to add a page

It's probably really simple, but i can't figured out, i have a php file and 3 folders css, js( with inside libs ), and image. so i put the php file and the css inside the theme root, the js in /js ...
0
votes
2answers
45 views

Where does Wordpress store the users customization in the theme

Good Day When you are inside the wordpress ctrl panel, and you edit/create posts, do theme changes etc, where does Wordpress store all that content? In which files? Thank you

1 2 3 4 5 19