0
votes
0answers
5 views

Grouping parent categories into sections

I have the following post categories: Personal Care Jewelry Health & Fitness Automotive Gadgets Health & Fitness and have two sections: Men and Women, what I'm trying to do is to group the ...
0
votes
0answers
5 views

Configure the post/page text editor?

When I am writing in the text editor, I have no problem ofcourse to divide the text in the text editor itself into divs and give classes and separate between pharagraphs and so on. The problem is, ...
0
votes
0answers
7 views

Using wp_enqueue_script in a wordpress plugin

This is my current code: <script src="http://unibet-affiliate.enetscores.com/xjs/hour/theme/affiliate/361/client"></script> <script> ...
0
votes
0answers
3 views

Retrieve a link from a text and use that link in a page?

The subject describes the matter, I think. Using an API, I'm provided a link that changes often, that I need to serve in my WordPress blog. I can easily cron a wget to get me the file. The question ...
-1
votes
1answer
18 views

Google Drive as CDN for Wordpress

I'm new to the CDN function and i was trying to use Google Drive as a CDN for a localhost wordpress installation when i've noticed some problems. The files (media) upload correctly on Google Drive ...
-1
votes
0answers
6 views

Custom Featured Image / Thumbnails

my Problem is i create two custom Featured Image. it shows in the page i cant add it to an anchor tag. the_post_thumbnail code is for the original Featured image only right ? how can i get the custom ...
0
votes
0answers
5 views

How can I turn of WP_DEBUG_LOG messages coming from a specific plugin or theme?

This is a seemingly simple question... I was wondering if anyone knows how to turn of WP_DEBUG_LOG messages coming from a specific plugin or theme? This assumes define('WP_DEBUG_LOG', true); in ...
0
votes
0answers
5 views

Integrating jQuery Datatables with Editor into wordpress admin

I am trying to integrate jQuery Datables into my Wordpress plugin http://editor.datatables.net/ I have Created a database table CREATE TABLE `id` ( `id` int(10) NOT NULL auto_increment, `first` ...
-1
votes
0answers
6 views

Respnsive Story Theme (paid) - mobile resizing incorrectly

Question in regards to the premium Story Theme - how can I get the mobile (iphone) format to hold steady within the content slider? At present the font sizes change ratios, and the navigation buttons ...
0
votes
0answers
9 views

Best practice for using classes in wp plugin

I've seen plugins using classes in two ways: if ( ! defined( 'ABSPATH' ) ) exit; class firstType{ function __construct() { // Usual actions here } // Usual functions here } new ...
0
votes
0answers
6 views

No Database Backup

I'm looking for a way to recover as much as I can from a poorly backed up Wordpress website. The website owner didn't renew their hosting and lost the site. This was the first and last Wordpress ...
1
vote
0answers
7 views

Can I use hooks for un/redo admin actions?

might it be possible to implement a un/redo by tracing admin actions? I know its gonna be a heavy task, but is it possible at all? Plugins aside of course, core is enough, tough. g
0
votes
0answers
8 views

JSON API - custom field as an image

I am returning all my recent posts of a custom content type 'myfriends' in WP with $.getJSON("http://localhost.com/?json=get_posts&post_type=myfriends", function(data) { problem is rather than ...
0
votes
0answers
2 views

Sanitize and send checkbox results using WP Page Template

I have a WordPress website that includes a booking form on a page template. As I am unfamiliar with PHP, I'm not too sure exactly which lines of code are needed in order to come up with a solution, ...
0
votes
0answers
6 views

Get posts by current taxonomy term child term

I am trying to create two different wordpress loops, each one will be using a custom taxonomy called 'walls'. Loop one: get posts by child term of the current pages term. Loop two: get posts by all ...
0
votes
0answers
6 views

Invalid Argument supplied foreach() being displayed but foreach still works anyway?

while ($query->have_posts()) { $query->the_post(); $posttags = get_the_tags(); foreach ($posttags as $tag) { $output .= $tag->slug.' '; } ...
0
votes
0answers
4 views

WooCommerce - Remove Cart Item via Ajax

I have looked for any information regarding removing the WooCommerce cart items via ajax and there seems to be not much information on how to do it. This article mentions a method but I wasn't sure ...
-1
votes
0answers
8 views

Change Content if is a past date / ACF

I have a field, a date picker. I need to create a special function where the post change the background color if is a past date taking the date from the date picker field in ACF. Any ideas where to ...
0
votes
0answers
6 views

How to use WooCommerce Duplicate Product Class in functions.php [on hold]

I am trying to use http://docs.woothemes.com/wc-apidocs/source-class-WC_Admin_Duplicate_Product.html#15-235 in functions.php but it does not work. $wcx = new WC_Admin_Duplicate_Product; $product = ...
0
votes
0answers
22 views

What would be the use of an visual programming language for Wordpress?

please, ignore possible opinions but also the tremendous technical problems when looking at this question. A short background, I am developing web-based authoring software, from interface builders ...
0
votes
0answers
5 views

Wordpress SEO by Yoast Meta Keywords [on hold]

First of all i want to say that i am unable to title my question My problem is that I am using Wordpress SEO by Yoast 1.7.1 (free) and it is showing strange language in robots.txt (checked from ...
0
votes
1answer
12 views

Shortcode not passing variable to included file

I set up a shortcode which includes a standard php/html form file. In the form I have a hidden field where the value is a variable which is meant to be available in the form via the shortcode ...
0
votes
2answers
16 views

Register Script in Plugin Widget

I need to load a separate js file into a widget and just can't get it to work. So far I have if ( is_active_widget( false, false, $this->id_base, true ) ) { function tab_widget_scripts() { ...
0
votes
0answers
5 views

Ouput rel attribute on links in Gallery Shortcode within template file

I've added a gallery into a template file using echo do_shortcode('[gallery link="file" ids="1,2,3,4,5"]' ); When I use just the shortcode within a post I get a rel attribute on the links to the ...
0
votes
0answers
17 views

Add classes to individual sidebars

This is my first time posting on here so let me know if I don't follow any rules or best practices. I'm creating several sidebars through our WordPress site and not all of them will be styled the ...
0
votes
1answer
33 views

The excerpt doesn't add Read more

I am confused about the behaviour of the_excerpt() and get_the_excerpt(). My objective is to have a manual excerpt and display a continue reading. I went through this article, and apparently ...
0
votes
2answers
20 views

Custom Wordpress Table wpdb

running into issues querying a custom table and getting results. As of Wordpress 3.9, I can no longer run mysql_query(), and have to use $wpdb->query(); So keeping that in mind: Old Code: <?php ...
-1
votes
1answer
10 views

Strict Standards: Non-static method in sidebar generator

I used this sidebar generator in my theme functions.php and this plugin work perfectly! No errors. But when I open define('WP_DEBUG', true) I got some error. I know that I have to set wp_debug to ...
-1
votes
0answers
9 views

s2Member [s2IF shortcode]

Am asking kindly can one of you profession correct the following shortcode I placed in a page... as it does not work at all. All other variation I tried didn;t work either. [s2If ...
1
vote
0answers
26 views

Custom Post Type by Taxonomy

I have two custom post types - office and professional. Each professional needs to be tied to an office. I've created a custom taxonomy, 'tax-location', applied it to both post types to tie them ...
0
votes
0answers
18 views

calling a function from a class in your template

ok, so I have created a plugin in Wordpress. I want to be able to use some values I have created in a function within my template but I just don't seem to be able to get it to work. I have created my ...
-3
votes
0answers
12 views

Is there a plugin that allows me to replicate events on a weekly, bi-weekly basis? [on hold]

I'm currently able to create events on specific dates, although rather doing it multiple times has anyone come across a plugin or a solution that can replicate the event using another date? Thank You ...
0
votes
0answers
11 views

Include new meta_data in WP_User_Query

I'm trying to add a new meta field to the results that come from Wp_User_Query. Not keen to use get_user_meta() in a loop for each user returned as I believe that it'll make hundreds of database ...
-2
votes
0answers
10 views

How can I find WordPress plugin or opensource project for implementing points based badges system for students? [on hold]

How can I find WordPress plugin or opensource project for implementing points based badges system for students? Hello Techno buddies I need your help. I would like to implement earn badges based on ...
0
votes
1answer
26 views

What is the most efficient way of implementing a notification system?

I am about to start implementing a notification system for my site and would like to know what performance measures I need to take into account before developing it. I need to make this for a large ...
-4
votes
0answers
10 views

WooCommerce purchase buttons disappear on the Mobile Version of the site [on hold]

I have a WooCommerce cart on a site and recently added the WPMobile plugin. In the mobile version, the product pages allow you to choose an option, but no purchase button appears once you do. If I ...
0
votes
1answer
18 views

remove_action: Initial attempt failed while a later attempt worked

I hope this is the right place to post this - if not, please just simply direct me to the right place! I recently came across a plugin that, among other things, added a meta entry to the header. I ...
-1
votes
0answers
11 views

WordPress: qTranslate plugin: how to define multilingual page components [on hold]

I've had a look at the WordPress qTranslate plugin. This plugin allows you to place a language switcher widget on each one of the site's pages. On the dashboard the list of supported languages for the ...
-1
votes
0answers
31 views

wordpress function and condition if

I have the following function that I want to execute with under a certain condition, for whatever reason the function does not work and I'm not sure why... add_action( 'save_post', ...
0
votes
0answers
5 views

get_terms(); show private posts when logged in

Hi have a custom post type "FAQ". I got some "FAQ's" that are private, also only visible for logged in users. I used "get_terms()" funktion for a widget that is listing links to the categories of ...
0
votes
0answers
9 views

Postname permalink page not found error

Page not found error when using permalink ‘postname’setting.Some pages are working for example http://example.com/questions is working but pages like http://example.com/questions/something. This is ...
0
votes
0answers
8 views

Configuring Multisite with subdomains

I'm currently trying to configure multisite for my blog. I want to use it for multilingual content. My installation of wordpress is located in a subfolder: mydomain.de/content everything worked ...
0
votes
1answer
19 views

Conditionally display different images before the content in a page template

A few pages share a common template. Each of these pages need different images placed above the main content area. How do I do this? The images need to appear above the editable region (ie WYSIWYG ...
0
votes
0answers
12 views

Delete entry from DB

i created plugin and now i want to add delete button, that user can delete one entry from DB table.. Here is my code i form.. function showresult(){ ?> <form method="post" ...
1
vote
1answer
90 views

Redirect Visitors to a Temporary Maintenance Page without Plugin

To prevent my visitors from seeing a broken version of my syite during a big maintenance and giving them a heads up on the updates, i will redirect them automatically to a temporary Maintenance Page ...
0
votes
0answers
16 views

Best way to redirect a few URLs to new ones

What is the best way to do a 301 for a few URLs in the same domain? At the top of my .htaccess file I put like this for 4 four of my deleted URLs. Redirect 301 /services/old-page-one/ ...
2
votes
0answers
12 views

Server side validation

I'm trying to do some server side validation of post fields (custom and/ or non-custom fields). Validation works just fine. But I can't seems to stop the post from saving if a validation fails. Why ...
0
votes
0answers
15 views

Posts permalink

I have created a post called post123. This post has the url: http://www.test.dev/news/post123 Now If I go into my browser and type http://www.test.dev/testingurls/post123 it would ...
0
votes
1answer
14 views

Using categories with pages

I am attempting to use categories for pages (not posts) as a way of filtering child pages. I am working towards having a 'Work' page that lists all its children, and each of these children will also ...
0
votes
1answer
7 views

crontab centos wordpress wp-load problem

I am using on centos server crontab * * * * * php -q /var/www/domain.com/public_html/script.php script.php contents: <?php require_once( '/var/www/domain.com/public_html/wp-load.php' ); global ...

15 30 50 per page