0
votes
0answers
3 views

Multisite new users get activation and credential email at the same time

I've been working on adding an extra field to the registration process in multisite, and it's working for the most part, but I've noticed that users are being activated automatically, before them ...
0
votes
1answer
9 views

Child theme style.css isn't overwriting parent style.css

I am using the Optimizer theme and created a child theme to make 2 changes in the style.css. The .single_wrap adjustment works fine, but the page_head is being ignored. When I use Inspect Element on ...
0
votes
1answer
5 views

Get posts associated with custom taxonomy alternate way

I have a custom post type named artwork and I'm trying to get all of the artwork that is associated to the custom taxonomy of artists on the taxonomy-artists.php page. I found an example here which ...
0
votes
1answer
6 views

Why when accessing some wordpress pages on my localhost setup do i get the localhost default page?

why is that when accessing some pages(like [wp_login_form]) i get the default page for my localhost setup? im running latest wordpress(default, no plugins mods etc) on latest xampp setup.
0
votes
0answers
3 views

How To Remove a Slider from Responsive Design

I'm a small business owner that has (up until now) managed a successful website. However, with the pending Google Mobilegeddon, my website for some reason does not pass the Google Mobile Friendly ...
0
votes
0answers
6 views

Searching by custom taxonomy and adding “selected” class

I found the following function to add a custom taxonomy dropdown to a search form. It works fine for searching, but it does not add the "selected" class to the searched-for term. Here is my code for ...
0
votes
1answer
4 views

How to allow editing of text in sidebar?

I am developing a theme which has an area of the sidebar which displays the blog owner's bio and photo as a background image. I could hard-code this information, however, I'd like to learn how to make ...
0
votes
0answers
5 views

call_user_func_array error only when another plugin is active

So I wrote a plugin that uses the following function to make the backend: add_action( 'admin_menu', 'create_backend_menu' ); if(!function_exists("create_backend_menu")) { function ...
0
votes
0answers
2 views

Main menu gets replaced when second menu is created

I have a menu (main menu) and i call it with <?php wp_nav_menu( $args ); ?>. It works normally, and is set to Primary Location. But when I create another menu, the new one replaces the main ...
0
votes
0answers
4 views

How to create collections that are edited in admin?

I'm not sure what this feature is called, but I've seen examples of this before. Lets say, on my site I want additional collections of things (besides blog posts) that have their own sections in the ...
0
votes
0answers
14 views

The right loop for featured posts?

Which is the right loop to customize articles in this way? the last article, featured, with it's style followed by: the second-last and third-last articles, in the same style followed by: ...
0
votes
0answers
7 views

Design: year of work creation: custom field, tax, something else?

Let's say I have to build a site for publishing old books and manuscripts or histories about those books and manuscripts. For many of them they knows a year of creation/publication, but for many ...
0
votes
1answer
8 views

javescript button to call custom fields data

I am trying to create this button for a custom field that I have o a website: http://www.w3schools.com/js/tryit.asp?filename=tryjs_myfirst <button type="button" ...
0
votes
0answers
3 views

Access Restricting Multi site while giving plugin and theme editing option

In a multisite environment, if site admins can add their own themes and plugins, they can also see other site files. Is it possible to restrict such access? I do not want one site admin to see options ...
-1
votes
0answers
7 views

WC_product class in custom plugin not found

I am trying to make use of the WC_porduct class in my custom plugin but it throws the error; 'Fatal error: Class 'WC_Product' not found in:' I've added global $woocommerce, $wordpress; to the top of ...
0
votes
0answers
7 views

plugin first menu name different from first submenu using register_post_type

i made plugin where i had used "register_post_type" to create custom post taxonomy. problem i that my first sub menu is also name of my plugin how can i fix it Below i code add_action( 'init', ...
0
votes
0answers
14 views

Using esc_attr function

I want to translate some website to Spanish, and the default translation in 'Settings' doesn't translate everything. I notice in the code, that where the translation doesn't work there are functions ...
3
votes
2answers
53 views

Using filters and actions for plugin API?

I want to integrate a public API to a plugin that I develop. The usual way other plugins integrate APIs is to define some functions that can be called by any theme or plugin. However, I think this ...
0
votes
1answer
9 views

Sticky post of current viewing author?

How to show sticky post of current browsing author on author.php template? $sticky = get_option( 'sticky_posts' ); rsort( $sticky ); $sticky = array_slice( $sticky, 0, 5000 ); query_posts( array( ...
0
votes
0answers
8 views

How to tell theme customizer to save setting in my option table?

Default customizer is saving the options inside theme_mods_themename but my I am using Unyson options framework and my options reside here fw_theme_settings_options:themename I am able to use ...
-1
votes
0answers
6 views

Newsletter plugin which allows usert to choose frequency, category and which has double opt in [on hold]

I'm looking for newsletter (notifier) plugin, which has options like this: double opt-in (email confirmation), sends automatic information about new posts allows user to choose, how often they will ...
-1
votes
0answers
10 views

WP + Boostrap - How to hide menu after clicking menu item?

I am working on website wpweby.cz/sbeauty and it is based on Brew (http://danvswild.com/brew/) which is base on Bootstrap. When you take a look at my website on mobile and you collapse menu and click ...
-2
votes
0answers
6 views

Unscrambling serialized ACF data? [on hold]

I'm attempting to import some serialized ACF field data into my Wordpress site. I'd been using the WP CSV plugin to export/import the data previously, but somewhere along the line my serialized fields ...
0
votes
1answer
16 views

Why would this IF statement not work?

I've placed the following conditional statement in my footer.php file but it isn't working. I want it to show the footer on every page except for single.php and the services.php template: <?php if ...
0
votes
0answers
6 views

Moving WordPress Featured Image Box Below Title [duplicate]

I would like to move the featured image box just below the title field in the New Post admin. I tried the following code, but that just places it below the text editor. function ...
-1
votes
0answers
18 views

Child Theme is available, but live preview only returns a blank screen

I can see the child theme in admin, but when I click Live Preview it tries to load but only displays a blank screen. The parent theme loads fine doing a Live Preview. I have to assume it is the ...
0
votes
0answers
6 views

Permalink Structure /post/post_id/anything-goes-here

I'm trying to setup a permalink structure like so example.com/post/post_id/any-text-here. Which is kinda similar to how StackOverflow's permalinks to questions work. If the last part is changed it ...
0
votes
0answers
4 views

copy clipboard and open i new tab now works when admin logged in :zeroclipboard

1 am using below plugin : https://github.com/zeroclipboard/zeroclipboard copy clipboard and open i new tab now works when wordpress admin logged in, please can u guide how to fix issue i think it may ...
0
votes
0answers
16 views

Using wp_localize_script on serialized array in get_options

I am trying to use wp_localize_script in a plugin on a serialized array from a stored get_options value function ng_slicknav_scripts_styles() { wp_register_script ( 'slickjs' , plugins_url( ...
0
votes
1answer
19 views

Get most recent post for every term in a given taxonomy type

I'm looking for an efficient way to retrieve the most recent post from every term for a given taxonomy type. I found this question, which provides the same solution I came to on my own: $terms = ...
0
votes
0answers
8 views

Can't add user to blog on registration (Multisite)

I'm trying to add a users to a specific blog with a role chosen by the user at registration. I'm able to add the desired role to meta with this: add_filter( 'add_signup_meta', 'add_register_meta' ...
0
votes
1answer
18 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
2answers
16 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', ...
-1
votes
0answers
9 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
20 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
10 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
8 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 ...
-1
votes
0answers
21 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> ...
-1
votes
0answers
17 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
13 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 server, where the ...
0
votes
1answer
9 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
10 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
16 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
31 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 ...

15 30 50 per page