0
votes
0answers
2 views

Woocommerce Category Ordering on Shop Page

I'm using WooCommerce and I've customised my category ordering. It works fine on certain pages, but in the main shop page, the categories in the sidebar are ordered alphabetically. How can I make them ...
0
votes
1answer
3 views

How to show a widget for logged-in users only?

I have a widget that I want to hide from visitors to the site. I know I need to use this code; if ( is_user_logged_in() ) { echo ''; } else { echo ''; } How do I use this in a widget? What ...
0
votes
0answers
4 views

What's the impact on WordPress' performance regarding the amount of classes/files in a plugin?

I'm refactoring a WordPress plugin and I have two main classes with an average of 500 lines between the two. There are other files in the plugin, but these are the ones where I keep most of the ...
0
votes
0answers
4 views

Showing anchor links in sidebar for headings only on a certain page

I want to be able to add anchor links to header ids in one of my WordPress pages, and then show links to those ids in the sidebar. The sidebar is built like this in content-page.php: <?php ...
0
votes
1answer
9 views

How to add metabox for post of specific category

I want to add Metabox for the posts of category=18 and i am using the following code but unable to do so . So please help me out-> add_action('admin_init','my_meta_init'); function my_meta_init() { ...
-1
votes
0answers
7 views

How To Display Jetpack Overall Stats [on hold]

I want to show jetpack overall stats for the day. I dont want to do it for each page or nothing like that i literally want it to show the overall pageviews of the site. When you go into the dashboard ...
0
votes
1answer
15 views

How do you manage large menu hierarchies in WP?

Has anyone worked on sites where the menu hierarchies is fairly large? Not more than 3 levels deep, but more than 40+ menu items? If you only list first level items in the top menu without dropdowns ...
-1
votes
0answers
14 views

need a plugin that can do it all [on hold]

I want a map plug-in for WordPress, that will allow me to upload multiple locations from a file. And the most important thing is I want users that are logged in to be able to add locations to the map ...
0
votes
1answer
8 views

Saving a post ID to use in a form elsewhere on website

I am trying to save a certain queried post's ID to pass on in a form outside of my loop. To be more specific. I have one file named review.php, this file contains a Wordpress Loop which queries one ...
-1
votes
0answers
6 views

Black avatars integrating Disqus SSO [on hold]

I'm havint a problem integrating Disqus SSO in my Wordpress site. The integration is complete, users can be loged as Wordpress users, name is set, and mail. But the avatars are shown in black... like ...
0
votes
0answers
4 views

Native WordPress Media Uploader on WordPress Frontend

I am using a custom template on my site to enable frontend posting. I wanted to add an option to upload media(such as pictures) on this form exactly the way native WordPress backend has. In short I ...
1
vote
0answers
8 views

Can I use two different domain names with wordpress multsite network

I am currently running a DV server with MediaTemple and would like to have my domains: abc.com and cba.com mapped to the subdomains I set up with the WP network one.mydomain.com and two.mydomain.com. ...
1
vote
0answers
12 views

Divide Loop Into Days & Categories

If you could help, I'd greatly appreciate it, because I'm halfway there, but I'm currently stuck! The site I'm working on needs to have it's posts, within the loop, divided up by days, and then under ...
-1
votes
0answers
4 views

Plugin for inserting a CC licensed flickr photo [on hold]

I often use a CC licensed flickr photo in my blog post. Firstly I look for a picture and download it. And I upload the picture and add author's copyright. Is there a plugin that makes easier this ...
0
votes
0answers
7 views

Problem with correctly registering query variable

I have an admin page for my plugin, which lists records from database. I want to sort them under some conditions. To call different sorting options, I've decided to use query string. Step 1: At ...
0
votes
1answer
11 views

get parents category name and content

how can i get my parent category info in my category page. let me explain details. say like i have category like Photos Gallery one Gallery Two Gallery Three i used feature category image ...
0
votes
0answers
10 views

What is the best way to store HTML fragment in WordPress?

Let say I want to store an HTML fragment in WordPress and allow user to update/modify, e.g. site wise notice, what is the best way to store it and present them in a theme? e.g. write a plugin to ...
0
votes
1answer
13 views

Subpages List Appearing on Every Page

This code displays the parent page and a list of its subpages, but not the grandparent page. (It is the second red menu in the left sidebar here). There is one problem with this. This code outputs a ...
-3
votes
0answers
9 views

show “ Facebook like” messages for some seconds [on hold]

In some wordpress websites I see sometime a floating message who ask me to like the website in facebook and it disappear in few seconds. Is that a plugin ? I search it but I can't find anything
0
votes
0answers
13 views

wordpress - ajax communication

This is the first time I do the ajax and I must confess that I am confused. What I want to do is to take the value of 3 Select html to make a request to my database that'll get me a score according to ...
0
votes
1answer
11 views

Unable to Call More than One Meta Box Output

I have a custom meta box with multiple text fields. I use this to call the information in the first box: <?php the_post(); echo get_post_meta( get_the_ID(), 'dbt_text', true ); ?> And this to ...
0
votes
1answer
18 views

404 when using pagination in a category

I always struggle with pagination in wordpress. I really wish that was a definitive guide to wordpress rewrite rules. I have a site setup this way: permalink custom structure: ...
-1
votes
0answers
7 views

wordpress filter function to change a string

I want to change word "one" to always be output as word "two", I want it to change on just the admin level AKA:theme options. I'm currently looking at a str_replace() function to replace the string ...
0
votes
1answer
12 views

Wordpress edit.php category filter to show only posts from direct category and not posts from it child category

On the admin edit.php page, when i filter the posts by a particular category (using the built in dropdown) it shows all the posts related to that category, and all the posts that are 'under' its child ...
0
votes
0answers
11 views

How to save posts position on homepage after random function?

I use the following code to display a random post on a homepage: <?php global $query_string; query_posts($query_string . "&orderby=rand"); ?> When the page is refresh posts positions are ...
0
votes
1answer
11 views

Tags outside the loop

I want to display the tags of the posts in my main page. I used: global $post; the_tags(); But it's only showing up for my FIRST page.
0
votes
0answers
14 views

how to echo/display the custom field value in specific custom field name?

I have tried this code: <?php query_posts(array( 'meta_key' => 'custom_cat', 'meta_value' => 'creative', 'post_type' => 'page' )); ...
0
votes
0answers
4 views

SEO for pages that use a page template containing wp_query

How do you do the SEO part for a page that uses a custom page template containing one or more wp_queries? What I mean is: most of the times you do this, you don't have any content you would see in ...
0
votes
0answers
6 views

Change HTML Output of Wordpress RTE

after I selected some text and clicked the "list"-Button in the RTE, wordpress wraps it with <ul></ul> and <li>'s of course. Now I need to add a class to the UL. How to do that? ...
-1
votes
0answers
11 views

jquery functions are not working properly in multiple pages form [on hold]

In my wordpress website, i am using a gravity form to complete one online application process with about 10 to 12 pages of form filling. Once a user fills out all the process and make it to payment ...
0
votes
0answers
6 views

missing NextGEN 2.0.66 spinner [on hold]

I'm working on a client site that has a NextGEN pro horizontal filmstrip slider on the homepage. The slider has around 60 images. The first time the images load, there's a long delay until the first ...
0
votes
1answer
16 views

Hook before & after plugin / core update

I'm working on a maintenance plugin for my website and I want to enable it before plugin/core upgrade starts and disable it after plugin/upgrade ends. Any ideas ? Thanks! :) PS: all I know is I can ...
-2
votes
0answers
12 views

Woocommerce no longer displays content [on hold]

I activated the plugin woocommerce me on page no longer displays "Content" plugin I tried to disable and remove it there is nothing better. <div class="grid-container section-content" ...
0
votes
1answer
17 views

WP_Delete_user link creation

I am trying to create a user management via front end but i am not sure how to implement wp_delete_user Delete link add_action( 'wp_head', 'my_action_javascript' ); function my_action_javascript() { ...
-1
votes
0answers
8 views

Setting a “Posts Page” while keeping built-in functionality in commercial theme for home page [on hold]

With the commercial theme I'm using (sahifa) I can choose all kinds of options for the home page from built-in theme configuration interface called Tie Panel. This works fine when Settings > ...
0
votes
0answers
10 views

Included posts on a page searchable

With Advanced Custom Fields (ACF) I added a 'relationship field' to the pages that can select posts from a custom post type. The chosen posts will be come part of the page. Searching with wordpress ...
-1
votes
0answers
9 views

page not found or 500 server error while posting

I'm getting Page Not Found or 500 Server not found errors when I publish my content or when i'm trying to add new post or gallery. But, if I refresh the page again it is working perfectly. please help ...
0
votes
0answers
19 views

WordPress Column Shortcode issue

i have a column shortcode. when i applied it, automatically adding br tag and removing p tag from the first para. I attached the print screen. please look at it. Shortcode reference url Thanks
0
votes
1answer
14 views

WordPress in subdirectory, Multisite using subdomains Nginx

I'm usually running WP on Nginx + PHP-FPM in a sub-directory (similar to Mark Jaquith's Skeleton) without any issues, all permalinks are working just fine. Now I tried to do this with WordPress ...
0
votes
0answers
4 views

Edit Post Gallery, without adding it in content

I'd like to be able to create a gallery in each post, and then displaying it on website using get_post_gallery() function. At the moment that's possible only by adding the gallery shortcode in ...
0
votes
0answers
10 views

How to slidedown and slideup child pages clicking on parent pages in jquery or javascript?

I have created a sidebar in wordpress in which all parent pages with subpages are listed. I have used following code in sidebar-left.php file and call this in template file. <div id="primary" ...
0
votes
0answers
9 views

profile.php sometime returns webpage not available for subscriber. Why?

I have a problem with my WordPress site when I log in into site being a subscriber and want edit my profile sometimes it retuens Webpage not available, or sometime it works fine. I don't know why. ...
0
votes
2answers
22 views

Retrieve options set through a plugin

I am creating a simple "global settings" plugin, which simply saves a few text fields. Saving works as intended, and I can retrieve my data in frontend as follows: <?php $options = ...
0
votes
1answer
18 views

Add sidebar in inner pages

I am new to wordpress coding. I want to add a sidebar to pages other than the home page, both pages are my custom templates. I want to list in admin so that admin can edit the content of sidebar. ...
2
votes
1answer
25 views

javascript onload calling a function of a plugin

A friend created a plugin for me which allows the users to mark posts as read or unread. The code of this plugin is the following : edit of the code ! <?php /** * @package Read-Unread * ...
0
votes
0answers
4 views

User Registration Gravity form- validating username [on hold]

I am new to wordpress development and have just started learning it, I want to allow a user to only have alphanumeric characters in the username field during registration. I am using Gravity Form's ...
0
votes
1answer
14 views

TinyMCE Anchor Button not showing

I'm using this filter and function to display a custom, stripped-down version of the TinyMCE editor. Everything works as it should...except the 'Anchor' button will not show ('anchor')? According to ...
-1
votes
0answers
12 views

how can I call specific function on some event like menu item click or button click? [on hold]

I want to call my class function based on specific menu item clicked. How can I do it?
-1
votes
1answer
21 views

Remove on behalf of in wordpress emails?

//email to members $Memberdata_all ="select * from lwy_users where ID = $GuestID[$h]"; $Memberdata_array = $wpdb->get_results($Memberdata_all, OBJECT); $to = ...
0
votes
1answer
19 views

How to set “with_front'=>false” to a plugin-generated cpt?

I am using an external plugin (not my own CPT) to manage events on a site where the blog permalinks structure is /news/%category%/%postname%/ Normally for CPTs I could set the prepend with front to ...

15 30 50 per page