0
votes
0answers
11 views

WordPress Custom Links and category is not working

I am new to wordpress and using wordpress(4.1.1) and theme "Hueman". I wanted to add custom Link and Categogy Link in Menu Structure, but i can't able to do that. When click ...
0
votes
0answers
2 views

Randomize Color Scheme Selection in Theme

on my site I'm using cenetric, a child theme of genesis and this theme comes with some predefined color schemes. //* Add support for additional color style options add_theme_support( ...
0
votes
0answers
3 views

carousel in wordpress not work in theme (problem with 2 jquery js)

i use owl crasoul in wp theme but not load in home page and i use layer slider jquery layer slider: 1.8.3 jquery carousel: 1.9.1 when delete jquery of every not load other ! why? owl code: ...
1
vote
1answer
117 views

Enable Full SSL for Wordpress

I've enabled SSL for my main domain but i want to enable it fully for my wordpress website which is located in a subfolder. when i say fully i mean in admin area and the website itself and without any ...
0
votes
1answer
18 views

Insert function insde body tag

How to insert this function inside <body> <?php function Ciusan_NBar(){ global $options; $options = get_option('Ciusan_NBar'); if($options['CNB_Showing']=='yes'){ ?> <div ...
0
votes
1answer
2k views

Using AJAX to run SQL statement and populate dropdown

I am trying to create a search where the user selects two different bits of data from the database and it then prints some results that meet requirements. I know I need to use AJAX, or something ...
3
votes
1answer
57 views

HTTP digest authentication using wp_remote_get

I am able to implement http basic auth in wp_remote_get using the following code $args = array( 'headers' => array( 'Authorization' => 'Basic ' . base64_encode( $username . ':' . ...
0
votes
1answer
10 views

how to create text box in WP

How do I create a text box next to a picture in a blog? I am having problems lining up text and pictures in my blog the way I want it to look.
0
votes
1answer
7 views

Wordpress 4.1 support Markdown syntax or I've to install a Plugin?

I read at: https://en.support.wordpress.com/markdown/ Wordpress supports Markdown. But i not find at wy wordpress 4.1 the option to active Wordpress. Maybe the docs are obsolete? Moreover I find a ...
2
votes
2answers
1k views

How to create additional thumbnails of custom size in nextgen gallery while uploading images?

Is there any way out to create additional thumbnails of custom size in nextgen gallery while uploading images? For example I would like to create 3 thumbnails of size 25*30, 100*50, and 400*350 to ...
0
votes
2answers
20 views

How can I force a specific password?

How can I force a specific password for a specific user & not let that user change their password? I have a client that thinks that even if I force strong passwords via this plugin: ...
0
votes
1answer
8 views

Changing Woocommerce Sort by dropdown menu to text link

Is it possible to change the dropdown menu (sort by popularity, newness etc etc) to radio button or text link? Something like Popularity | Newness| Price
1
vote
2answers
799 views

Jquery integration with my theme

I want to add a slide side ways jquery to my website, I tried the following code, but seems not to be working Jquery code:- <script ...
0
votes
1answer
293 views

save_post not working with attachments

I've made a Meta Box for Posts and Pages, and while testing added Attachments too. But, curiously, the hook save_post does not fire. $cpts = apply_filters( 'my_filter', array( 'post', 'page' ) ); // ...
0
votes
2answers
24 views

Avoid user registrations with specific email provider

I have been under a spam attack, someone is creating a lot of users daily, it could be a bot, all those users have the same email provider, is there any way in which I can avoid that anyone creates a ...
0
votes
1answer
2k views

Sort WP_User_Query by meta_key value with pre_user_query

I'm trying to order my users by their Member Number - which is a custom meta value. It seems I can't easily orderby a meta_value. I've read a few workarounds but I can't get my head around it. This is ...
0
votes
1answer
13 views

Cannot reset a loop in a plugin template

I am trying to override a query in a loop which exists in other plugin. I created an extension to override that loop using a hook that exists in the plugin. The plugin query: query_posts ($args); /* ...
0
votes
1answer
25 views

Recent post in the middle of the content

My site has a static front page and a blog. I'm using the Foundation5 grid and I've split the content of the homepage onto three rows, like this, and I'm updating both the content and the html in the ...
0
votes
2answers
546 views

Storing textbox values in Database

I am new to WordPress but I am good with PHP programmings, if I wanted to get value from the textbox and store it in the database in WordPress can I do? for ex form1.html <form name="form" ...
0
votes
0answers
5 views

Locating and accessing the main js file

I'm hoping to find out exactly where this main.js file is located in wordpress and how to access it? "jQuery( document ).ready( function()"
1
vote
1answer
46 views

Switch to the library tab in the media uploader

I'm developing a plugin that adds a tab to the media uploader to add external videos to the media library via oembed. Everything works as expected but I need to switch to the library tab after adding ...
0
votes
1answer
9 views

Garbled Code added to Email Field at 'Quick Edit' comment screen

when I edit a comment normally the email just contains the email like it should, but when I use 'quick edit comment' then there's code added in the email field after the email. This code to be ...
1
vote
3answers
232 views

Creating a function that receives the taxonomy terms that have been changed in a custom post type

Ive been looking into actions and hooks etc... from wordpress, but cant seem to do a very simple thing. I just want to execute a function whenever a post is updated, and within the function I want the ...
2
votes
2answers
804 views

Placing Ads after every 10th Post with Infinite Scroll

I have to load a couple of ads, some normal html and two are java script. I've tried the PHP method of this: <?php $postnum++; if($postnum%10 == 0) { ?> <div id="topset"> <ul ...
1
vote
1answer
338 views

Implement Hooks Using Array

I'm trying to implement some hooks into a theme, but rather than write out every hook with repetitive code I was wondering if I could use and array to declare the hooks instead. E.g. ordinarily i'd ...
0
votes
2answers
340 views

WP_Error with get_category_parents

I get this error in my theme: Catchable fatal error: Object of class WP_Error could not be converted to string in ...
0
votes
0answers
12 views

Theme customizer: filter a child <select> based on a parent <select>? [on hold]

if it posable to create some function that will allow us to filter a child based on a parent ? somthing like this: <select id="parent"> <option value="1">Group 1</option> ...
0
votes
1answer
13 views

How to give all CPT a folder automatically based on their slug

This is what I have now and working: function get_custom_post_type_template($single_template) { global $post; if ($post->post_type == 'amazon') { $single_template = TEMPLATEPATH . ...
0
votes
1answer
5 views

Transfer Part of Multisite to new Domain

I have a multisite on my domain, and I only want to transfer the /support/ install of WordPress to a new domain. Since both installs of WP are combined in the database, how do I separate them so I can ...
0
votes
1answer
25 views

Is there any wordpress function to update a random post every 10 minutes?

I' m looking for a function which can be inserted in wordpress theme function.php , when inserted , i want it to update a random post (which is already posted ) every 10 minutes . can this be done ...
0
votes
1answer
26 views

esc_attr on get_post_meta

Simple question, I see that some themes are using esc_attr or esc_html and url after they define varible with get_post_meta, while others are using it during variable definition. What would be best ...
0
votes
2answers
461 views

Wordpress Page Protect forwards to Admin Login

Once I upgraded to WP 3.4.1, the password protect feature stopped working correctly. The password submit form leads to /wp-login.php?action=postpass and displays the admin login screen. I've sought ...
2
votes
2answers
1k views

How to set limit only on top levels of wp_nav_menu?

How can I set a limit to the top level menu items in wp_nav_menu? Example: I have this menu in my admin dashboard: I would like to count ONLY the top level items and display a limited number of ...
0
votes
1answer
26 views

How to make this clean?

I test on localhost $MySITE = 'http://www.ciusan.com'; wp_editor($MySITE, 'CNB_Content', $settings = array('media_buttons' => false,) ); but on output always: ...
1
vote
1answer
457 views

Move jQuery to the bottom of the page whilst keeping the WordPress jQuery

I wish to move jQuery to the bottom of the page on my theme, to speed up loading times. Previously I was doing this by replacing it with Google's CDN version but I have been told that is a bad thing ...
1
vote
1answer
15 views

local folder permissions vs chown — security considerations

I was trying to install a plugin, and I kept getting the following error: Unpacking the package… Could not create directory. I'm on Localhost on a XAMPP stack on Mac OS X Yosemite. The way I ...
0
votes
1answer
13 views

How to create a CSV on the fly and send as an attachment using wp_mail?

I'm trying to create a CSV file from a form submission and send that file automatically by email to a specific user. The email itself is sending fine, but I can't get the attachment to go through. Is ...
-1
votes
0answers
19 views

Hide a div to Fade_in another one ( the_content) for custom post type

I'm having few problem with my jquery . .. Here is my situation: i've create a custom post type, which wokrs perfectly. Outside my ul li, I have an image on the side. on click of the title of the ...
1
vote
2answers
371 views

Exclude Posts From Specific Category from Next and Previous post links

I've been searching for this a lot...but all I get is not what I need. I simply want to show next and previous links on single.php (from all the categories, based on publish date, not just in the ...
0
votes
1answer
458 views

Site not getting correct featured image from my query

On the home page of my site I have a series of tiles that link to various parts of the site. One tile links to the blog and I have written some code to pull the latest post with an image attached to ...
0
votes
1answer
17 views

Relative or dynamic site url possible?

I have a local Xampp wordpress installation that I am using as sort of an intranet with some people I work with. I require them to be able to access it on our LAN router -- I found that I needed to ...
0
votes
1answer
471 views

Login to wp-admin “redirect_to” points to wrong URL after migration

I have a WordPress site hosted on GoDaddy, it's a Windows server, (i have the web.config set up). and .htaccess correctly configured. The site was working on example.com/wordpress , as it was a ...
1
vote
1answer
646 views

mod_rewrite loop, redirecting http to https on certain section of wordpress blog

I'm trying to rewrite 3 sections of a wordpress site to https if they are accessed over http: /cart/ /my-account/ /checkout/ As well as these rewrite's worpress has added a rewrite to remove ...
5
votes
5answers
3k views

Select subscriber as author of post in admin panel?

I want to be able to select a subscriber an author of a post in the admin so it displays their name as having written the post, but I do not want to give them any additional privileges (if they login ...
0
votes
1answer
11 views

How to enable reply button on mostly deeply-nested comments?

I have a blog on wordpress.com, using the Twenty Twelve theme. Background In my experience, on wordpress blogs with nested comments, the reply buttons only show on individual comments when their ...
1
vote
2answers
436 views

How to disable plupload completely from latest wordpress 3.6 and make browser upload default

How can I disable plupload completely from latest wordpress 3.6 and make browser upload default? Thanks in advance.
0
votes
1answer
21 views

get_avatar from user id

1 - I have two members witch settings are set to subscribers. 2 - I have made a page in wordpress with the code: <img src="get_avatar" alt="Logano" ...
-1
votes
0answers
14 views

How set for each user owner images folder

I have 200 user in my site. and i need to hide all picture upload from user1 for all ether user when upload it from wp-admin-> media upload. And if user50 upload new picture. So he only see it in ...
1
vote
1answer
296 views

Some recent plugin updates have failed “Could not create directory”

I have been developing my WordPress site on a WAMPServer on my laptop for a few months, with few problems. In the last few days several (but not all) plugin updates have failed - Specifically IThemes ...
0
votes
1answer
19 views

erase post excerpt limitation [×]

i have a custom site in homepage have problem of post excerpt with max 35 word, now i want eliminate this limitation, after search in varius file the limitation and after individuate i have changed ...

15 30 50 per page