0
votes
1answer
11 views

Stop the execution of foreach loop which extract data from array?

In detail the condition is There are multiple new users to whom admin want to send welcome message but only once for each member. I have done sending message but if the member refresh his email page ...
0
votes
0answers
7 views

How to run onclick in text editor? (Follow-up question)

This is a follow up question from How to wp_enqueue_script with html? I have html tags with onclick. I place it on a page, but the divs with onlick are not properly working. How to fix this? Here's ...
0
votes
0answers
12 views

Sort custom post type by multiple custom fields

I have 4 text fields in a custom post type. How can I sort the posts by this order of text fields: brand_fbn - model_fbn - year_fbn - plate_number? This is my code, which isn't working: $ins = new ...
0
votes
0answers
7 views

WooCommerce product option without tax

I have got a new request from client. Basically he wants to add an additional charge to his products. This charge is tax exempt, but the product itself has a tax class. The charge should be shown as a ...
0
votes
0answers
4 views

Not getting confirmation link with email change

I'm requesting a change for my email address. I get an email at the old address saying a change has been requested & to delete the message if I made the request. But when I log back in, even days ...
-1
votes
0answers
14 views

What is wrong with my logos on my Sponsors Page [on hold]

http://www.caldwellnightrodeo.com/sponsors/ - this is my website and my logos are looking all scrambled. The last ones look to be even in another row. Any idea on what might be happening ? Thank ...
1
vote
0answers
21 views

How to restrict access to specific pages on the back-end?

Before anything... I understand how roles and capabilities work. And there are tons of plugins that help you manage those. Roles and capabilities can only be so specific though. Is there "wordpress ...
0
votes
0answers
6 views

WooCommerce: Cross-sell show un catalogued products

I want to show a product as a cross-sell product, but not in my catalog. It seems there is a filter that removes un catalogued product from the cross-sell list. Can anyone help me remove it?
0
votes
0answers
14 views

Show product category in order email

requesting help with woocommerce... when customer orders something he receives an e-mail and owner of the shop receives an email too. There is the name of a product customer has bought. I want to add ...
0
votes
0answers
16 views

PHP > Scheduled Tasks > Sending daily email with dynamic API variables

I'm trying to write a PHP cron job that would call an API, return a set of numerical variables, calculate a second set of variables, and send an email to selected recipients with those variables ...
0
votes
0answers
5 views

buddypress-activity-stream-hashtags in comments

My question is regarding the github.com/hwdsbcommons/buddypress-activity-stream-hashtags plugin, specifically hashtags in a comment. The comment hashtag link is going to the comment hashtag page fine. ...
0
votes
0answers
40 views

How to retrieve sticky post with Visual Composer's loop builder?

So I have a simple custom shortcode function build under Visual Composer with vc_map. <?php /** * Blog Posts * */ if( function_exists( 'vc_map_get_attributes' ) ) { $atts = ...
0
votes
1answer
19 views

What is comment_karma?

doing a var_dump on $comment object, I mentioned there is a comment_karma property. What is that?
0
votes
0answers
9 views

Sell Digital Files as Service [on hold]

My customer has a mobile app that sells keys, keys are file based ".dat" or any extension no problem. Each key is unqiue and can be used once per user and per mobile based on his IMEI. I'm trying to ...
0
votes
0answers
9 views

Pages Column Sorting Wordpress Version 3.0.3

I am working on a wordpress site that is stuck on version 3.0.3 - Desperately trying to make the Title / Author / Category / Etc columns sortable. At present all pages are listed in order of last ...
0
votes
0answers
16 views

Page template without header & footer

I have created a page that doesn't use the header and footer. I have closed all the tags, but the page is breaking, nothing appears. My code is like this, <?php /* Template Name: [Blank] /* ...
-1
votes
0answers
13 views

Application Manager [on hold]

I'm trying to find a plugin that allows me to manage applications. Basically students need to submit and essay and some personal info and the applications are sorted and managed in the backend. I ...
0
votes
0answers
28 views

Safari only bug: script enqueuing blocks other scripts

Looking for some advice. One page of my blog is an angular app that is loaded via systemjs. It loads fine in Chrome (and firefox) on my computers and Android phone. But Safari is very erratic and ...
0
votes
0answers
4 views

Parent menu not active anymore after page url rename

I updated some of my page urls and now the parent menu item is not active any more when I'm on a child page. Why's that? Do I need to refresh something?
0
votes
0answers
16 views

Reload or Refresh Wordpress 3.5 Media Manager

I was wondering if it is possible just to reload or refresh the new 3.5 Media Manager. I am currently running into a problem where I want to add new tabs dynamically but they are only added once I ...
0
votes
0answers
19 views

Can I use a second taxonomy when creating a post?

I have created second taxonomy, and can use it when creating a new post. However, on the front-end of my theme, using the wp_terms_checklist function, how do I create a post using 2 taxonomies? My ...
0
votes
1answer
16 views

My wp-admin stops working suddenly

wp-admin stopped working suddenly. I have checked the .htaccess file as well as wp config. However still it's not working. Site is working correctly but wp-admin page re-directs to to auth=1. Don't ...
0
votes
1answer
14 views

Loading post template that contains a nested loop with ajax

I'm currently working on a project where I'm loading a post with ajax. I'm using get_post() to get the post, setup_postdata() to setup the post data, and get_template_part() to load the template ...
0
votes
1answer
21 views

Check if a user is connected and get is ID without fully loading wordpress

I'm writing an advanced cache for WP. I try to make it works with connected users. I want to calculate a user context hash. To build my hash I need a way to quickly know if the user is logged and get ...
0
votes
0answers
9 views

Qtranslatex redirect error

I m using qtranslatex for woocommerce. On load im trying to redirect the user to the shop page , instead of the home page, but it shows an error , the page says, too many redirects and the link has a ...
0
votes
1answer
12 views

Get array of current post term ID's

I'm creating a little "Related posts" section on a site and I'm doing it based on terms in a custom taxonomy called "director". How can I get an array of term ID's for the current post so that I can ...
0
votes
0answers
22 views

Making hamburger clickable to open a menu

How can i make my menu like a hamburger menu,(i think that is what they call it). I have a menu, but there is no option to trigger it to dropdown? <nav class="navbar navbar-default ...
0
votes
1answer
8 views

Cusotm MetaBox content not getting saved

I have added the custom meta box to my custom post types, but it is not saving content on publish or update button click. /* * Custom book metabox */ // Add metabox function ...
0
votes
0answers
12 views

How to add text next to the title in the admin area

is it possible to add text at the places the arrows are pointing? I also want the text to appear only on one particular page. I would think there must an action out there that lets me do that, right? ...
1
vote
1answer
22 views

Getting “too many redirects” when using wp_redirect for attachment page

Code comes from the codex: <?php wp_redirect( get_permalink( $post->post_parent )); exit; ?> I added the above, in an empty attachment.php page. When I visit an attachment page (eg. ...
0
votes
1answer
33 views

Custom post type AND custom taxonomy are not connected

I have CPT and Taxonomy (code below). When viewing taxonomy term archive page, it's empty. WordPress doesn't know it has include my custom post type to WP_Query. Am I doing something wrong? function ...
0
votes
0answers
14 views

Trying to modify a plugin jQuery event

I'm using a plugin called "Out of the Box" to show dropbox contents. The search is designed so that it... only searches the folder and child folder you start from begins searching on a "keyup" event ...
0
votes
1answer
18 views

Remove tinyMCE from admin and replace with textarea

I have created a plugin wherein I have a custom post type. I am using post_content for some simple text. I do not need to offer any fancy editing or insertion of data for this field, so I looked for a ...
0
votes
0answers
9 views

Why is bbpress down for most users but not me?

Last night, my bbpress forum stopped working for most users - they just get a 404. Down or Just Me? also says it's down. Yet I'm able to access it whether I'm logged in or not on two different ...
1
vote
2answers
37 views

Making plugin unique to not conflict with plugins with the same name

I have plugin that has the same name as other plugin uploaded to wordpress.org How can i make it unique so it doesn't share "View Detais" link and auto-update with other plugin uploaded to ...
0
votes
1answer
10 views

New User ID not working in custom function with user_register hook

I'm adding data to a table whenever a new user registers on the site. add_action( 'user_register', 'auto_follow_admin', 10, 1 ); function auto_follow_admin() { global $wpdb; ...
0
votes
0answers
12 views

Add an 'edit profile' page with Genesis

Following this post, I tried to add the code in the template of a genesis child theme to edit user's profile (change the password), using genesis actions (genesis_entry_content, genesis_loop,...), ...
0
votes
0answers
10 views

remove current page from url in main menu

I am trying to develop a theme for my company. The website is a one-page-website although it has 3 seperate pages for disclaimer etc. The problem I'm facing is as follows. The main menu has url's ...
0
votes
0answers
19 views

How do I change the button “comments”?

How do I change the button "comments" in theme twentyfifteen to "..."? I'm assuming it's in the comments.php file? I could be wrong. I'm referring to this area. prntscr.com/89nr1q <?php /** * The ...
4
votes
1answer
54 views

can require “themefolder/includes/widgets.php” in “themefolder/functions.php” yet widgets.php doesn't run

In order to keep things clean I use functions.php almost solely to require other files. As such part of functions.php looks like this: #include types require("includes/types.php"); #include ...
0
votes
2answers
12 views

insert_with_markers() WordPress & htaccess help

I'm trying to develop a plugin which adds a single line to the .htaccess file generated by WordPress. The problem is that one of the WP generated lines override my rule, and via the ...
0
votes
1answer
26 views

How can I display and excerpt of all pages with a meta_key and meta_value on index.php?

I need to create some pages with a custom field called categoria-pagina so I can display a list of these pages and their excerpt on my theme's index.php. I have already tried the code bellow, but if I ...
-1
votes
0answers
5 views

How to add Multile Documents,Multiple Authors in wordpress for Library admin Form? [on hold]

I ahve below requirement . Is there any plugin available in wordpress to achive this ? Multiple documents should be addable Add more authors Event (Optional)(dropdown populated with event names from ...
-5
votes
0answers
27 views

How to solve “Notice: register_sidebar was called incorrectly”?

I have the following PHP Notices when adding define('WP_DEBUG', true) in wp-config.php. How can I solve? Notice: register_sidebar was called incorrectly. No id was set in the arguments array for ...
0
votes
1answer
7 views

reply to comment excerpt instead of author in comment title

One can reply to a comment using Reply link, below each comment item in comments list. According to codex, by clicking that link and using comment_form_title function like this: $replytext = 'Leave ...
0
votes
0answers
17 views

How to execute a SQL-query which contains multiple queries using $wpdb->query?

I want to execute the following Query-String, which contains 2 separate queries using $wpdb->query: CREATE TABLE `foobar` ( `id` int(2) NOT NULL AUTO_INCREMENT, `foo` varchar(22) COLLATE ...
0
votes
0answers
17 views

Migrating to local server

I have my wordpress site on my local server at the following path : wordpress-4.2.3\wordpress\wp-content\themes\mytheme and the url to access my local site is: ...
0
votes
1answer
23 views

Wordpress ACF delete image from media library

I'm trying to use update_value filter hook of Advanced Custom Fields to write a function that when a user deletes an image from the field it will be deleted from the media library of WP as well. So ...
-1
votes
0answers
26 views

How to add repeater field to option page?

I've created an options page for blog. In this options page, I can save some details about the website. using this code: add_action( 'admin_menu', 'site_add_admin_menu' ); function ...
0
votes
0answers
4 views

Unable to add custom field in woocommerce in email

I have created two custom fields in woocommerce as follow : add_filter( 'woocommerce_billing_fields', 'custom_woocommerce_billing_fields' ); function custom_woocommerce_billing_fields( $fields ) { ...

15 30 50 per page