Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
0answers
5 views

Oneall's Social Login plugin: can't get custom CSS working

According to the official documentation here, we can use a custom CSS theme for our Social Login plugin by adding the following in functions.php: //Use a custom CSS file with Social Login function ...
0
votes
0answers
15 views

Custom entity search and display

I am developing a custom plugin that adds a new product entity with its own table to the database. I would like to perform custom queries on those products through a custom search form -the classic ...
-1
votes
0answers
15 views

How do I show/hide a post description or any other field on the front end

how can I control an in individual post field to appear or not to appear on the front/end with a checkbox - hide from front end. E.g. like in this mockup - http://screencast.com/t/Q71rxUcxOrx Is ...
0
votes
0answers
9 views

Adding GUI and functionality to a custom post type enabling working with non wordpress table

I've created a custom table in the Wordpress DB with all the needed functions for working with the table (insert,delete,update etc...) I also created a custom post type, on which I wish to add a GUI ...
0
votes
0answers
7 views

Disable iframe in wordpress catch_that_image

I want to ask how to fix catch_that_image in wordpress ? I'm using code in wp-content/themes/name/functions.php function catch_that_image() { global $post, $posts; $first_img = ''; ob_start(); ...
0
votes
0answers
9 views

Twenty Fourteen modify left sidebar on home page only

I'm using a twenty fourteen child theme and want the left sidebar to be different on the home page. I'm trying to modify it without changing any files so I made a new sidebar called sidebar-front and ...
0
votes
1answer
18 views

Custom Behavior when Adding New Custom Post Type in Dashboard

I have a Custom Post Type that I'm doing some custom work for. I want to attach some custom functionality to the post type once it's created but an admin can only trigger the custom action from the ...
0
votes
1answer
12 views

Where do I store custom functions that call custom page template files?

I've created a Wordpress Page template called head.php I then went into /wp-includes/general-template.php and by replicating the default get_header() function that is already there I added this new ...
0
votes
1answer
16 views

Renaming Custom Taxonomy Values

I'm new to Wordpress and have been tasked to migrate an existing non-Wordpress site to Wordpress. Our original site has each page associated to a country. I've been reading a lot and I believe I need ...
0
votes
1answer
18 views

How to get name and email value from a custom form and add it to campaign monitor subscriber list?

I have a custom form in my site that has name and email address field. How can I get the value of this 2 fields to be added on campaign monitor subscriber list when the user successfully submits the ...
0
votes
1answer
17 views

WPB Woo Product Slider cuts image border [on hold]

I have a product slider which doesn't seem to show the right side of the border, everywhere else there are full borders. The woocommerce way of doing the featured images works fine. I've tried ...
0
votes
0answers
23 views

Control When a Script Is Loaded

My plugin usually appends my widget to the end of each post as intended, but not consistently, sometimes needing a page refresh. There are two main parts to the plugin: a div, which gets appended to ...
0
votes
0answers
4 views

Visual Composer Front end editing - How do i redirect to a thank you page upon post save/publish? [on hold]

I'm using visual composer as a front-end submission editor. How do i redirect my users to a custom thank you page when they submit/save their entry?
0
votes
1answer
12 views

How to list all names and descriptions of a custom taxonomy

I have a custom taxonomy (toolkit-sections) inside a custom post type (toolkit-tools) and I'm looking to just list the taxonomy names and descriptions from toolkit-sections on a homepage. I don't ...
0
votes
1answer
16 views

how to add wp-user fields to front-end form

I've found all kinds of information on how to add user-meta fields to a front-end form. However, I can't find how to add email and the change password. I found the form fields in user-edit.php, but ...
0
votes
0answers
12 views

When I try to change the category of the post that should loop it doesn't happen wp_customize [closed]

I hava a proble with wp_customize. When I try to change the category of the post that should loop it doesn't happen. <?php // posts loops begins here $post_id1 = ...
0
votes
0answers
10 views

“Request a Sample” Button - WooCommerce [closed]

I'm trying to make a button on each of my products that will allow users to order samples of products. The first 2 are free, then each subsequent sample after that will cost 75p each. I tried this ...
-1
votes
0answers
18 views

WC_product class in custom plugin not found [closed]

I am trying to make use of the WC_porduct class in my custom plugin but it throws the error; 'Fatal error: Class 'WC_Product' not found in:' I've added global $woocommerce, $wordpress; to the top of ...
0
votes
0answers
18 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
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
25 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
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
48 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
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 ...
-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
56 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
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
1answer
36 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
27 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: ...
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 ...
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
32 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
0answers
32 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
14 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 ...
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. ...
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
24 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
0answers
41 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 ...
1
vote
2answers
41 views

Best practice for adding posts in bulk

I have a set of custom post types and taxonomies I've added using the Custom Post Type UI plugin, and need to enter several hundred entries ( >500 ) How can I import this data in bulk? E.g. as a csv? ...
0
votes
0answers
15 views

Override “Automatically close comments on articles older than” per post?

I need to set a custom closing date for the comment field, per post. I havent started researching on how I should do this, so a indication on how to do this would be just as good as a plugin that do ...
1
vote
1answer
33 views

Pages are not saving due to custom post type

I have a custom post type "soto_user". In which I have custom meta field named "Publish" from which user can select 'YES' or 'No'. If user selects "Yes" and click Publish button then post should be ...
0
votes
0answers
55 views

Include data from custom table in WP_Query

I'm building an Estate Agent website. They have a system where they add their available properties and sends them all to the main property portals. As part of this, the system also sends all the ...
-2
votes
1answer
26 views

Changing displayed photo when shared via facebook

I hope you can help. When I am sharing our site www.rotaract.hu in facebook for example in a message, it is always showing the grey photo. Is there any possibility to change it the way it shows the ...
0
votes
2answers
78 views

Inserting custom PHP script on homepage

I have a simple PHP script that I want to load whenever someone lands on a homepage. It is fetching data from another service and then I have to display it in a container on the homepage. I was ...
0
votes
1answer
30 views

Hide text if not homepage

I want to add text but only appear on the homepage only. I have used this if script: <?php if( is_home() ) : ?> <p>Some text</p> <?php endif;?> but the problem with this is ...
0
votes
0answers
33 views

Use This Code in Frontend

I am using this code, adapted to my needs: <?php /** * Plugin Name: YLDist Profile Checkboxes * Plugin URI: * Description: Profiles * Author: JPowersFreelancing * Author URI: * Version: 1.0 ...
0
votes
1answer
40 views

Toggle custom fields?

I got a custom field and I want to toggle a specific custom field. So for example I have 2 custom fields named: Subject and Score. When viewing a single post the custom field 'Score' data is hidden ...
1
vote
0answers
23 views

Diffrent User registration form for doctor and patient

I am building a health care website. where both patient and doctors are allowed to register. Here I want to register doctors by different registration form and should be available with different ...
0
votes
1answer
37 views

Getting page/category content to show up in my custom page template

I am trying to get my category page content to show up in my custom page template, it returns everything I call, except for the actual page content when I am testing it. Hope this is somewhat clear :\ ...
0
votes
1answer
37 views

Advanced Custom Fields - Add Field to Specific Page [closed]

I have created a custom post type for testimonials. I have each testimonial as a text field titled 'testimonial' using the Advanced Custom Fields. I have a list of pages for services and want to pull ...