Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

1
vote
2answers
5k views

How to import my YouTube channel into WordPress?

I want to know how to import my YouTube channel into my WordPress website? Example: I have a YouTube channel with 7 videos. I want to bring all the videos into my WordPress website's sidebar. If ...
0
votes
0answers
10 views

Gravity forms plugins image upload code [on hold]

I want to change dpi of an uploaded image before uploading that image and before saving into database.
2
votes
1answer
393 views

Programmatically adding posts

I'm about to create parser which would be inserting new custom posts. So, it's pretty simple global $user_ID; $new_post = array( 'post_title' => 'My New Post', 'post_content' => 'Lorem ...
0
votes
0answers
3 views

Display custom text in Product page depending on Product Category (WooCommerce) [on hold]

I need to display a custom notice (in text format) in my Product Page for a number of products depending on the first-level Product Category they belong to. Categories depth may vary but the custom ...
1
vote
1answer
596 views

Multiple keyword search

I have a custom search where I want to enter a keyword or phrase into the search box, and then by pressing enter it adds it to a 'search storage' (already coded, see below). Asume I have 3 posts, one ...
0
votes
0answers
15 views

How to Structure a Wordpress Installation for a Theme Developer Site?

I want to start developing premium themes for Wordpress. I have seen just about every theme developer site allow you to view demos of their themes. So my question is... What is the best way to set ...
0
votes
1answer
671 views

Is it possible to have hierarchical taxonomy and hierarchical custom post types in one permalink?

Is wordpress capable of having hierarchical taxonomy and hierarchical custom post types in one permalink ? I would like to do the following: tax-1/tax-2/cpt-1/cpt-1-post/cpt-2/cpt-2-post/ in other ...
-2
votes
1answer
17 views

Add form to woocomerce checkout [on hold]

I want to add custom country city drop down in woocommerce checkout field which filter city with respect to country. like billing and shipping form
42
votes
7answers
21k views

Organizing Code in your WordPress Theme's functions.php File?

The more customization I make to WordPress the more I start thinking about if I should be organizing this file or splitting it up. More specifically, if I have a bunch of custom functions which only ...
0
votes
0answers
7 views

How to work around the bug which prevents custom menus from being deleted?

A bug makes it impossible to delete a custom menu in the expected way: select menu, click Delete Menu. This has never worked for me on any WP site in any version of WP; it produces an Error 403 and ...
0
votes
1answer
23 views

Redirect Every Instance of The Author Template Pages to Custom Author Pages

What I'm looking to do is actually a simple redirect, but for the EVERY page contained in the /author/ slug. The working slug I want to redirect to is /team/. For example, if someone were to type ...
0
votes
2answers
661 views

Archive Page for Custom Post Type is not Working

I have registered a custom post type "tutorials" with the following snippet. <?php /* Template Name: Tutorial Archive */ get_header(); ?> <div id="content"> <div ...
0
votes
1answer
52 views

Let author add field to metabox by pressing a button

I have added a custom metabox for authors where they can fill in a url to a source, which I can then use in my template. In my functions.php <?php /* Add metaboxes (see below) */ function ...
0
votes
0answers
9 views

How to get all the markers on the single map for every post for advance custom field [on hold]

I have multiple posts, every post have individual address and it is shown in the MAP. now i want to show each address on one MAP at My home page. So with in the one MAP all the markers will be ...
0
votes
0answers
25 views

Gravity Forms and Custom Post Type Pandamonium [on hold]

Here's the deal: please don't delete this post for anything until I get an answer because I have been everywhere online, and I mean everywhere, with no luck in attaining an answer to this seemingly ...
0
votes
1answer
436 views

How can I output the custom fields wrapping with HTML

I am trying to publish custom fields created using the plugin "Advanced Custom fields". I am able to display them on posts and custom post types as raw output. But I want to wrap html around the ...
0
votes
0answers
47 views

How To Achieve This URL Structure? [duplicate]

I have a custom post type of Dining, with a slug of "dining". That is the only thing that must stay the way it is. My desired URL structure is like so: site.com/dining site.com/dining/dining-post OR ...
0
votes
1answer
17 views

How to format text of site subtitle

How do I italicise a word in the subtitle of a wordpress blog? Markdown isn't supported in the tagline field in dashboard's general settings.
0
votes
0answers
12 views

Create custom field & behavior for custom post type

I want a custom field that stores a file. There is also a "generate" button next to the field that generates the file which then stays with the post. Is something like this possible?
-2
votes
0answers
16 views

Facebook style J-K keyboard key scrolling within post headings in WordPress? [closed]

How can I make make WordPress scrolling that does the similar scrolling function like scrolling through posts on Facebook by pressing 'J' for next and 'K' for previous? I want to let my visitors use ...
0
votes
0answers
10 views

Relationships are coming back with post IDs and not post Objects [closed]

I've tried pods bidirectional relationship and posts 2 posts now I'm using ACF 2 way relationship Anyway, I have the relationship setup and am linking the items and I am see the relationship as ...
0
votes
0answers
16 views

Change Website Contact Address depending on user location [migrated]

I have a company that is catering to 3 different markets: The US, Bermuda, and the UK. Is it possible to update the business address to reflect the location the user is from? For instance if they are ...
3
votes
2answers
2k views

Customizing gallery shortcode in 3.5

I'm trying to customize the gallery shortcode using the new gallery system in 3.5 and I'm having a bit of trouble and can't figure out where I'm going wrong. This is what I've got at the moment (in ...
-1
votes
0answers
16 views

Change my code to solve my portfolio problem

In my wordpress theme currently portfolio block looks like single block like in theme http://verindus.different-themes.com/#., but i want to repeat that block for each category , remove the filters ...
0
votes
1answer
325 views

How to echo Widget Title in Custom Frontend-Template Box

I've created a custom Widget with the help of following code: // Creating the widget class wpb_widget extends WP_Widget { function __construct() { parent::__construct( // Base ID of ...
0
votes
0answers
18 views

Add custom field to group field ACF - Wordpress [closed]

i am using wordpress 4.1 with ACF v4. I have a custom post type with custom fields added and need add a new custom field each time a new category is added. If i add the category "Sedan" automaticly i ...
0
votes
1answer
33 views

Duplicate Custom Post Type and Taxonomy Slug

I've seen a few questions that are very similar, but I haven't been able to get an exact answer, so I'm going to explain my situation here. Quite simply, I need the following url structure: ...
0
votes
0answers
13 views

looping thru custom table, and sorting by usr_id and date

so for the last months i've been learning my self basic php, and javascript. and as so many before me i've hit a brick wall at foreach so i hope there is a nice guy in here who willing to set a ...
0
votes
0answers
23 views

Search multiple keywords in separate fields?

Rather than writing all terms into 1 field and separating with a comma, is there a way to search multiple keywords all entered into their own separate fields? I have created the visual effect here: ...
1
vote
3answers
1k views

WP Super Cache separate cache for mobile

I'm using the WP Super Cache plugin and inside my theme I have code that executes differently if the site is viewed on a mobile device (iOS, Android) than a desktop browser. How do make WP Super ...
0
votes
0answers
17 views

Sidebars for custom post type

I have created a sidebar and named it as ‘Clients Sidebar’, i also have custom post type ‘Clients’, now i want to assign ‘Clients Sidebar’ to all Clients without using any plugin,my theme has an ...
0
votes
1answer
13 views

Show custom field value as a link

I’m trying to show one of my custom fields as a link that downloads a photo. I’ve entered the URL in the field value but struggling to come up with the correct html to get it to display as a ...
6
votes
1answer
3k views

Linking Two Post Types

and thanks in advance for your help. I've done some searching, and this question has been answered a couple of times with reference to the "posts 2 posts" plugin, but the documentation on that is ...
0
votes
1answer
29 views

Display only one post each WEEK

I have custom post type named 'NEWS' where i already published 52 posts at a time. Now, in front i would like to display them ONE NEWS for ONE WEEK. So 52 NEWS will cover one year for me. My ...
0
votes
1answer
431 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
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
355 views

Widget Option is Missing

My Widget Option is missing in the Dashboard area. How can i make that appear? I have downloaded this Blank Theme from Chris Coyiers site. sidebar.php <?php /** * @package WordPress * ...
0
votes
2answers
25 views

Display popular posts by how many hits it got within 30 days of publishing

I am an editor of a blog with nearly 200 published articles that have been published within the last two years. All the popular posts plugins I've found show the most popular posts of all time. ...
3
votes
2answers
688 views

Menu Link Redirect Based on Username or User ID

I am building a client portal where my clients can log in and see all their pending projects, completed projects and create new projects. Though I'm stuck at the start. The dropdown menu is called ...
0
votes
0answers
27 views

Dynamically changing menu item link

Hoping someone can help me out - this has been driving me nuts for the past two hours. I'm trying to create a menu item - the menu URL should basically be: http://thesite.com/author/%username% ...
0
votes
0answers
13 views

Can't login to adminpage on iphone 6.1.6

I have created a WordPress website with a custom theme. All works well untill I want to login to the website from a iPhone 3 with ios 6.1.6 If I go to www.website.com/wp-login.php the page goes to ...
2
votes
2answers
147 views

Redirect members to custom page upon logging in through WP admin

When a members logs in through WP admin, I would like to redirect them instantly to a custom URL. What will I need to change to make this possible? Respond with step-by-step details would be ideal.
3
votes
4answers
20k views

Custom Post Types on Category Pages

I'm working with a custom post type that uses the normal WordPress categories. I am able to modify my category template to display my custom post types exactly how I want them. The problem is, once ...
0
votes
1answer
485 views

How to include plugin function in theme's functions.php file

Good day, I'm trying to reduce the jquery dom manipulations by including the right plugin functions in my theme's functions.php file. For example, I have a link which triggers a jquery dialog, which ...
0
votes
1answer
21 views

How to make the Pages in WordPress Customized?

I have a Theme I like. The front page is terrific. However, the pages have horrible formatting. How do I bypass this & get my own page formatting? (I know I have done this before...) If possible, ...
0
votes
1answer
23 views

Custom display for homepage, tag and author pages

I need to have pages where the first post on the page has a special format. I've figured out how to modify loop-home.php to get the result I want outputted on the homepage. I want to have the same ...
0
votes
2answers
1k views

add_rewrite_rule and template redirect not working

I have the following pairs: add_rewrite_rule('^questions/ask/?','index.php?pagename=ask','top'); if(is_page('ask')){ $tname = 'add-question.php'; ...
0
votes
0answers
37 views

Custom “wp_login.php?action=lostpassword” and reset password

I've got a custom registration form which works. Then, on this form, I have the "forget password" link. This one is not working very well. The "forget password" form is OK with its design; enter a ...
4
votes
3answers
6k views
0
votes
1answer
367 views

Custom Post Type Rewrite To Include Parent Page(s)

I have a page title "more" with subpage "cities-guide". Said "cities guide" page has a loop that pulls in posts from custom post type "thailife_city_guide". My permalink structure is ...