0
votes
0answers
5 views

Managing wordpress onepage menu

I am creating a onepage wordpress theme , and i have no idea about managing menus in one page themes (menu to jumping to sections with hachtag) . any idea ??
0
votes
1answer
4 views

Custom Shortcode

So I have the following code: <span class="delete"><a onclick="return confirm('Are you sure?');" href="<?php echo wp_nonce_url( add_query_arg( array( 'action' => 'my-delete-product', ...
0
votes
0answers
7 views

Video slider with downloader [on hold]

I spend a lot of time for search, but did not found anything similar. I need video slider with upload feature(all plugins, which I saw allow only embed videos from youtube, etc).
0
votes
3answers
11 views

wp-admin white screen

I know this is a very 'common' error but I have been scouring the web for a couple days and have not been able to find an answers, so I now - turn to the experts. My website is fully functional @ ...
0
votes
1answer
8 views

How to trigger WooCommerce order complete email?

I want to be able to trigger the WooCommerce order complete email at a different stage in the WooCommerce checkout process. So I've disabled WooCommerce order complete email from the backend and am ...
0
votes
1answer
5 views

How to noindex directories on site based on slug (Buddypress)?

Is there a way to noindex areas on my WordPress site based on slug/directory? For example with Buddypress I need to noindex everything after /activity (and all the child pages after it). Here is code ...
0
votes
0answers
14 views

Title is showing “>” at the end of its name

I am new to WordPress and my search after three hours has still not produced a solution. Any suggestions? <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> ...
0
votes
0answers
13 views

Use variable for different hooks

I am currently developing a OOP plugin where I have the problem that in a specific function, which gets fired by a specific, a variable $test gets filled. Now i have a another function ...
1
vote
0answers
10 views

Wrong output order when mixing WP_CLI::API and php-cli-tools

I have a couple of plugins that use various custom WP-CLI commands I've written. I've copied then from one WordPress project – where it's working correctly – to another on the same VM, where the ...
0
votes
1answer
8 views

How to request admin-ajax.php correctly when wordpress URL and site URL are different?

When site_url() and home_url() are different, how a request should be directed to admin-ajax.php (both in front-end and admin)? Using A. admin_url('wp-admin/admin-ajax.php') or B. ...
0
votes
1answer
12 views

wp_update_post on specific custom post type

first of all, im sorry for my poor english, when i upadte a post this code changes the post slug to a "profileid" costom field value.. add_action('save_post', 'my_custom_slug'); function ...
0
votes
0answers
8 views

How to order terms by parent term

I want to order the terms by parent. Parent term 1 -- Child term 2 -- Child term 3 -- Child term 4 Parent term 5 -- Child term 6 -- Child term 7 -- Child term 8 -- Child term 9 -- Child term ...
0
votes
0answers
8 views

Best way to assign role to user across entire multisite?

We have a content editor role that allows only editing pages/posts, but this user should be able to edit posts/pages on ANY site in the network. The problem is that these users don't have a role on ...
0
votes
0answers
16 views

pagination is not working

i know there are plenty of similar questions here ... but I couldn't find an answer. I have an overview page where I can't get the numbered pagination working: I would really appreciate any help. ...
-1
votes
0answers
8 views

How to select CSS from wordpress admin when i have multiple CSS

I have 4 bootstrap custom css and want to develop a feature in worpress to select which CSS to use from admin panel. Can anyone help me to achieve this ? Thanks Dinesh
0
votes
0answers
11 views

How to add custom redirect via parse request

I want to add custom redirect: Please tell one liner code to do : 301 redirect, 307 redirect, meta, javascript; add_action('parse_request', 'my_custom_url_handler'); function ...
0
votes
0answers
15 views

How to get all the predefined do_action() calls from an active theme

To hook my plugin content into anywhere, suppose I offered the theme developers to create their own hooks with a prefix (pre_) anywhere in their theme - the rest of the hook is unknown to me. So what ...
-1
votes
0answers
14 views

Get value of one meta key from different meta key

I have post with two meta keys say meta key A with value meta A And meta B with value meta B now I want with value to meta A given I could know value of meta B which is one. Please guide how can I ...
0
votes
0answers
27 views

Where do I have to put my CSS Code?

I am trying to insert CSS code into my wordpress page. For some reason, it does not work appropriately. I am very new to this, so I might be inserting it at the wrong place. To see why it is not ...
2
votes
0answers
28 views

Is there a limit on making calls to WordPress.org API's?

I am writing a plugin which makes calls to https://api.wordpress.org/plugins/info/1.0/{slug}.json Is there a limit on making calls to WordPress.org API's? For example once per hour or every 10 ...
0
votes
1answer
17 views

Showing ads in the specific category and its sub-categories

I would like in each category and sub-category of its own ads to be displayed. I used the in_category function but not displayed Advertising in sub-categories. Please advice.
-1
votes
0answers
14 views

Enable gzip compression On Worpress Hosted on Godaddy

I have a site hosted on Godaddy, I need to enable gzip compression on my website as it recommended on speed test, and I have added below content to .htaccess # BEGIN GZIP <ifmodule ...
-1
votes
0answers
13 views

add to cart button on Pricing Table

I have been developing a site for a client. There are pricing tables in the site. I'm trying to create a button when a user clicks on buy now it would redirect to the cart page or to the checkout ...
0
votes
2answers
23 views

Inserting dynamic content into a page

I see this subject comes up regularly but have not seen an answer to my specific requirement yet. I'm trying to use a WordPress page as a template and insert database-sourced content (about 20 or so ...
-2
votes
0answers
10 views

Header Logo with Countdown Widget

I've trawled the internet in search of a solution to this, but can not find anything. I would like to replace the header image with a countdown timer from Uji Countdown. To give you a better idea of ...
-1
votes
0answers
9 views

Re-order Billing address fields in WooCommerce

I found this topic regarding re-oder fields of billing address: How to reorder billing fields in WooCommerce Checkout template? My requierment has a little different about re-order fields of billing ...
0
votes
0answers
11 views

Assign user to blog and role on signup (Multisite)

This is the code I have, but I think I may be using the wrong hook, or perhaps it has to do with the whole activation mechanism, but it's not actually doing it. The role picker does show up, but after ...
0
votes
4answers
41 views

get_terms custom order

I am using the get_terms function to order all the terms of a custom taxonomy alphabetically. My client however has now requested that one of the terms be put at the very end (therefore not in ...
0
votes
0answers
9 views

Multilingual multisite > customisable footer across different sites with widgets?

I'd like to keep the structure of the footer similar across all sites using the same Theme. However, each site would need different content in their footer. Here's a concrete example - for Site A: ...
0
votes
0answers
14 views

Avada Header customization of the header ?

Can any one tell me how to edit the header of the Avada theme and make it some what like this ? http://prntscr.com/6uzdaz Already explored the header section and the theme option of the theme. But ...
0
votes
0answers
23 views

Unique post-id for Wordpress Multisite Network

As the title says, is there any way to make sure that posts from subdomains, in a Multisite Network, can use different ids? The reason for this, is because I'm using WP Favorite Posts plugin, and ...
0
votes
0answers
23 views

How should I use a plugin function as a hook?

I'm using Expire Password plugin, an open source plugin to expire users. It actually lets you expire users from the Users admin page, individually. I need to create a new user from a front-end form, ...
0
votes
1answer
30 views

numberposts not working

I've got this following block of code and want to limit the number posts to 2, but it doesn't seem to work..?? I've also tried using posts_per_page, doesn't seem to work either. Can anyone help point ...
0
votes
1answer
13 views

Woocommerce Filter Main Loop by Tag

Two questions: How can I modify the query results of the archive and search pages exclude the product-tag "audio"? How can I make the Recent Products shortcode of Woocommerce exclude the product-tag ...
0
votes
1answer
11 views

Custom Post Type Title Using Advanced Custom Fields Repeater

I'm a bit new working with this plugin - and Wordpress in general, so forgive me if this question is properly documented somewhere - I just can quite figure out how to Google it. I have an Advanced ...
0
votes
1answer
17 views

Why did my manual upgrade fail?

I have an old intranet site running on 3.6.2 and tried to manually upgrade it to 4.1.1. After moving the files over the site just "spins". I have manually upgraded our sites literally 100 times ...
0
votes
1answer
11 views

Seems that admin_post_{action} does not executing

I'm trying to proccess different actions of my plugin with admin_post_{action} hook. But following code seems not working class TestPlugin { function test(){ die('working!'); } ...
0
votes
0answers
27 views

Showing a Thickbox (tb_show) does nothing

I'm trying to add a media uploader to a widget/plugin and I'm at the stage where I need to add a picture from the media library (or upload a new one). I added some javascript and added an event to a ...
-2
votes
0answers
12 views

Thumbnails produces gray lines in white background

I'm facing this issue. My featured image in category view and wirhin related products produces yellow lines on white backgrounds. I have 1000x1000px images, which are resized to 500x650(simple ...
0
votes
0answers
10 views

Extend, not replace, editor styles and formats [duplicate]

I want to achieve the following with the TinyMCE (Advanced) Editor Keep the Format button (added through functions.php), which enables me to choose headings and many more formats Extending with my ...
0
votes
0answers
15 views

Avoid changing menu query with suppress_filters => false

I recently had to change qTranslate for qTranslate X since the former is not being updated. This broke my menu and after searching I found it was because qTranslate X sets suppress_filters to false. ...
0
votes
1answer
17 views

Display a post via template

I want to display a single post in the sidebar-area (not the sidebar itself) and can't seem to get it working. I know the post_id (it's 1571 btw), so I looked around and only found this link from 7 ...
0
votes
1answer
5 views

Creating a unique, linked list of tags from a specific category?

I am hoping to make a custom tag widget which displays all tags from a specific category. The code I am currently using is working correctly, but it is displaying duplicate tags. I would like to ...
0
votes
0answers
12 views

How can I see whether a commenter has subscribed to be notified of replies / other comments to a post

When someone asks a question in the comments, I reply in the comments. Is there a way I can see whether the commenter checked the "Notify me of follow-up comments by email" checkbox? Can't seem to ...
1
vote
0answers
21 views

Do attachments added to custom post types have a post parent?

On attachment pages, I have a link back to the post/page where the file was uploaded. (This is not displayed for files that were directly added to the Media Library and that's fine.) For attachments ...
0
votes
0answers
14 views

Make related posts display first in search result

I'm looking for a solution that makes wordpress website's search result even better. Question: By default, the search result will return all the not really related posts at first, as long as the post ...
0
votes
1answer
16 views

Adding a page summary to a specific page

I know that a list of posts is generated automatically in WordPress, but what I have been looking for is to have a summary of pages, possibly in a hierarchic format, that resides at the side of a ...
0
votes
1answer
18 views

Server specification

I'd like to know server specifications for wordpress portal, knowing provided below data: For user with accounts Number of accounts 40k + 1000 per year Number of user in peek hour - 16000 ...
1
vote
1answer
20 views

How to get the post type from a category id?

I am trying to find out the post type from a category id. Suppose that, when i am opening a category page localhost/project/foobaar/category/pen I want to know the post type to which category - ...
0
votes
0answers
14 views

How to identify the current page in a custom wordpress navigation menu code

I am building a custom navigation menu in WordPress, where I have 2 level of depth; parent and direct child sub items. Some items are leaf though. I want all parent items to have no url so that I can ...

15 30 50 per page