Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
0answers
12 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 ...
0
votes
0answers
24 views

Different post types on same page in 2 separate columns using 2 different loops [on hold]

I'm pretty new to WordPress and am working on creating a child theme (parent theme is Avenue). I've created 2 different custom post types and now would like to display them on the same page in 2 ...
0
votes
0answers
11 views

Custom Post Status to “Disapprove”

I'm working with the "events manager" plugin and I need help to implement the following: Admin can select custom post status of "Disapprove" which will automatically send an e-mail to the author of ...
1
vote
2answers
32 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
11 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
22 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
37 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
25 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 ...
-2
votes
0answers
13 views

Show Content in front pafe [closed]

how to added a smart blockas short code in front page in twentyfourtee theme?? the content is show before the footer content.this content will be show through Smartblocks Shortcodes
0
votes
0answers
21 views

How to show a custom meta box in quick edit section

I want to add extra field in Quick Edit section .. Field already available in edit post section..
0
votes
2answers
56 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
22 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
28 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
31 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
18 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 ...
-1
votes
0answers
19 views

Change “MailTo” Address in Template/Shortcode with Contact Form 7 [closed]

I've searched quite a lot on this. If it's already been asked and answered, just let me know. I'd like to change the "mailto" address for a contact form using Contact Form 7 in the template for a ...
0
votes
1answer
29 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
24 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 ...
0
votes
0answers
34 views

Custom post types display [closed]

I have two custom post types created using CPT UI plugin, products and review. I want to show reviews on product page submitted by users. I'm able to submit review using a frontend form how do i show ...
-1
votes
0answers
30 views

custom woocommerce shipping method [closed]

I've installed this plugin for an extra woocommerce shipping option which is fine. https://wordpress.org/plugins/oik-weightcountry-shipping/ Here is the problem, in case, I have two shipping methods ...
0
votes
1answer
14 views

Dynamic Control in customiser

I need to build a select on my theme customise screen from this foreach: foreach($wp_registered_sidebars as $sidebar_id => $sidebar) { if($sidebar_id == $val) $sidebar_id.$sidebar['name'] ...
-3
votes
0answers
11 views

changed the permalinks plugin anspress [closed]

hello everyone I'm new here I need your help how to get shorter link plugins anspress example: mysite com question question and-etc... changed to : mysite com question and-etc... I hope you ...
0
votes
0answers
28 views

Custom post type relation

I have created two custom post types using a plugin and using a form i'm able to submit posts using a frontend form creator. It's like one post type is for movies and another is reviews. So how do i ...
0
votes
0answers
17 views

Custom post type - cannot link custom template to it in my plugin

I have created a custom post type called "syndication" in my plug-in and that all works as it should. However, I want to provide a custom template for the "add" option so I created a file in my plugin ...
0
votes
0answers
14 views

Creating a text file in plugin directory not working

I am creating a plugin that in admin end will create a text.file but when I tried it, no text file were created. this is my code.. if($_POST['pluginvalue_hidden'] == 'Y') { ...
0
votes
1answer
16 views

Remove Duplicator plugin from admin menu if not an administrator

I'm having a bit of trouble removing the menu item added by the Duplicator plugin (https://wordpress.org/plugins/duplicator/) from the admin menu if the user is not an administrator. I am able to ...
0
votes
0answers
9 views

WodPress parent menu item not displaying

<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> My menu is Contact About [ parent item] - What we do [child item] - Who we are But About doesn't show. How do I get ...
0
votes
0answers
23 views

Show author box of custom post type

I have installed a plugin to create ads listing but in the single ads page there is not the metabox author. What I want is to show below any single ad listing a box with listing's author info. I ...
0
votes
0answers
48 views

Alert : A script on this page may be busy, or it may have stopped responding. [closed]

I have a multilingual site in which i have installed WPML plugin.It was working,but from yesterday onwards i am getting the following alert and the site is taking too much time for loading. A script ...
1
vote
1answer
37 views

Create default_content layout template based on post id

Background What I am attempting to do is create a custom post layout template for a specific post (or even page) that the WordPress user can simply insert content using the WYSIWYG editor without ...
0
votes
0answers
14 views

$wpdb->insert running multiple times?

Im trying to run a $wpdb->insert ONCE on every page load (for testing purposes). The insert will insert a meta field for a post type. I have tried hooking the insert function into "init", add it to ...
0
votes
0answers
9 views

Custom background not saved

I have an issue with WordPress "Add theme support" function, in relation to a custom background function. I correctly added in functions.php: add_theme_support('custom-background'); The custom ...
0
votes
1answer
27 views

How should I structure complex content hierarchies?

I am pretty new to WP and I have not had to deal with any overly complex content structures as of yet. Until now. I'm trying to figure out the right mix of Custom Post Types, Taxonomies, Pages, etc. ...
0
votes
1answer
27 views

Inserting an example of the last 3 post on to the homepage

Hi everyone I am new of here, and I was looking for this answer for a while, but I guess that I am not finding the right way to google the question. I do not know PHP, but I know quite well html and ...
0
votes
0answers
10 views

Limit Upload File Types in WP Editor but not affect Admin Dashboard

I'm using the WP Editor on a page outside of the admin section when allowing my users to create a post. I'm enabling it like this: $editor_id = 'post_information'; wp_editor( $content, $editor_id ); ...
0
votes
1answer
12 views

Wordpress shortcode Issue!

Hi I have developed a shortcode that lists posts from a custom post type depending upon taxonomy terms. But I am having an issue. It's displaying all posts from all terms instead of the terms being ...
-1
votes
0answers
20 views

Twenty Eleven How to Change h1 and h2 For Unique SEO TItles for each page

I'm using wordpress twenty eleven v 4.1.1 as a site so using pages rather than posts. Noticed that the h1 and h2 headings for each page defaults to the site name and strap line, not good for SEO. I ...
0
votes
0answers
34 views

Redirect/Route every broken link to 404 page

I have a wordpress site. It was transferred from another CMS now. And WP doesn't want to route non existent links to 404 page. For example, http://betall.ru/aisi-316-analog/234524/ routing to ...
-1
votes
1answer
38 views

Only show posts belonging to multiple cateogries at same time

For blog post page, I have about 100 posts-categories. If I select 2 or 3 or more categories out of them randomly, for example category A and category B, I hope the blog page can only show posts ...
0
votes
0answers
11 views

dbDelta not creating tables with composite keys

I've been trying to figure this one out for 3 days now, reading every reference on dbDelta I can find. My ultimate goal is to create a table of unique ad_id, ad_trigger pairs. This does not create a ...
0
votes
1answer
26 views

How to display data in archive page?

I have a custom post type 'job'. I created a archive-job.php . How can I display 'post date', 'city', 'state' in my archive-job.php page? Currently, my archive-job.php page displays a list of jobs ...
0
votes
0answers
15 views

Why, when it comes to custom background and image, does 'The first value registered' win?

I'm messing about with overriding parent themes by child themes. The parent theme registers custom backgrounds by hooking add_theme_support('custom-background',$args) to after_setup_theme. Now, if I ...
0
votes
2answers
36 views

How to auto add nofollow to links in custom field?

I have a custom field that contains links in them and I want to auto add nofollow to those links in that custom field only. How can I do this? Example custom field value: <a ...
0
votes
0answers
26 views

How to broadcast a post into different websites at a time from a single website

I have 3 wordpress websites that are large and complex that advertise puppies for sale. I want to post a litter of puppies on 1 site and have it automatically post to my other wordpress site As long ...
0
votes
1answer
49 views

generate unique number when registering a user

I know there are userID, username in the database, but I want a formatted and unique number for physical world use. For example: "2014xxxx" 201414:year,xxxx:generate randomly when registering a user. ...
0
votes
0answers
27 views

Class .current-menu-item in custom menu Walker

I'm building a blog using a custom walker for my submenu which looks like this: class Submenu_Walker extends Walker_Nav_Menu { function start_el ( &$output, $item, $depth = 0, $args = ...
0
votes
1answer
24 views

Renaming wp_content problem

I am setting wordpress in a custom way and having issues with renaming wp-content. Here are the details: I am using Amazon AWS as my environment. The default web root is /var/www/html/. Within that ...
0
votes
1answer
17 views

Create a google friendly header with text and logo

I want to customize my current header in wordpress and include a logo in it. The following solution works: <header class="site-header"> <div class="wrap"> <a ...
0
votes
1answer
36 views

Create theme for mobile phones and tablets only?

I've been checking the docs but I only found a way to use different style sheet for phones and tablets. Is there a way to create another different theme only for mobile phones and tablets? And I'm ...
0
votes
1answer
9 views

Disallow “contributors” to edit their own posts once they've been set to “Pending Review”

My question is exactly what is in the title: how can I disallow "contributors" to edit their own posts once they've been set to "Pending Review"? I can't seem to find any documentation on how to do ...