1
vote
2answers
22 views

Extra Alignment buttons on media uploader screen

I can not comment on an exciting question because my reputation is too low and when I reply inside that exciting topic it will get deleted because it's not a solution but another question so I start a ...
0
votes
0answers
8 views

Show current portfolio item in related posts

I have a portfolio with a single category > "Work" and in that category I have 3 portfolio items: Exhibition, Music, Posters. I am using the BeTheme template and I have the related post function ...
0
votes
1answer
15 views

Load php function with AJAX on modal window

On a movie information wordpress theme i am developing, i have an href with text "watch trailer" on each cover of all movies. This brings a modal window, and that is working already, but i want to ...
0
votes
1answer
23 views

Can't switch theme after activation

I'm creating a plugin (I'm very newbie in this) to load custom taxonomies, custom post types and an automatic activation of a theme, so I have this code: // Custom Post Types and Taxonomies ...
0
votes
1answer
20 views

Move an Admin menu link to another part of the admin menu

Does anyone know how to move an admin sub menu link under admin settings. I am using the Genesis framework and I am removing the whole genesis menu as all the stuff I need is in appearance > ...
0
votes
1answer
14 views

Meta box checkbox won't save

I have several fields mostly text inputs to save additional info to the posts, all the text boxes save but i cant't get the checkbox to save the value! Wondered whether any of you geniuses out there ...
0
votes
0answers
18 views

insert db problem [on hold]

I build a form and save it's data, in the DB when I click on "submit" it creates 6 rows (see picture). my table function: function create_table() { global $wpdb; $table_name = ...
-1
votes
0answers
12 views

Replace iframe with php for implementing common header/footer

I have a multisite WP and have utilized iframe for common headers and footers. But when pages load on other sites than main there is a delay in loading header and footer. Here is the code I have in ...
-1
votes
0answers
17 views

Make post appear on custom menu?

I have made my first post and it appears on the home page/menu, which is one success but I have different menu, like home,about, and reviews. When you scroll onto reviews, I want it to go down and ...
0
votes
1answer
23 views

How to create an array with category ids order by the one that has the most recent post

I can't find a proper solution to this. I have an array of categories for example: $slidercategories_array = array(3,5,6,9,10,11,12,23,24,27); I need to reorder the array like this first the ...
0
votes
1answer
25 views

wp-includes/comment-template.php:26 - Trying to get property of non-object

I get this notice when debugging my new site. Does anybody know what this means? It doesn't break the site but it's just a warning when I switch debug mode on and I would like to solve this issue. ...
2
votes
1answer
42 views

Related posts by author pagination not working on the production site

The code that I'm using has adapted from this example and successfully tested on my localhost but when I pass the site to a live server, the pagination crashes with wordpress permalinks set (/% ...
1
vote
1answer
20 views

wp_scheduled_event being removed mysteriously

I have a plugin that sets a scheduled event and runs fine for myself and all users except one. On his server the scheduled event is mysteriously removed somehow after working fine for hours/days. I ...
0
votes
0answers
8 views

approve need for contributor only not for subscrinbe

in my site i have one two type of user registration. one is subscribe (general user) and another one contributor. so when register it assign auto this two role. by default wordpress setting admin no ...
-1
votes
0answers
8 views

Does any of Wordpress plugin allows to automatically interlink my posts between each other? [on hold]

Let's say I've written big amount of posts and not spend any additional time to add keywords, links to related posts, tags or anything else helping users to hind the info he is looking for. Is there ...
0
votes
1answer
18 views

Constant for 'barebones' update of Wordpress

I feel slightly stupid asking this, but I could have sworn I stumbled across a constant that could be added to wp-config.php so that, when you update your Wordpress installation, it only updates ...
0
votes
1answer
23 views

Meta Query querrying several post types based on ACF fields is broken after update to WP 4.1

I was using the following arguments for a WP_Query for months: $args = array( 'post_type' => array( 'posttype1', 'posttype2', 'posttype3', 'posttype4' ), 'posts_per_page' => -1, ...
0
votes
2answers
22 views

Paginate links with “ugly” and “pretty” permalinks?

If I have "pretty" permalinks enabled my code will work for static pages (will work if page is set as "home page" or "normal page" ). But my code breaks if I use "default permalink" structure. I ...
0
votes
1answer
10 views

How to Sync Menu, Widgets and other masters from Main Website to its Sub Site

I am using Wordpress Multisite Network and i am having problems regarding masters to its subsite. I am not able to see the widgets or Menus which were created on Main website to its Sub-site. When i ...
3
votes
1answer
29 views

Walker class: Problems with understanding how walk() method can be called without error

I am struggling with understanding how WordPress uses the Walker class. In particular, I don't understand the walk() method (I think). First, let me explain what I understood: When calling ...
0
votes
0answers
10 views

Multiple compare issue using meta_query

I want search query where $_GET['time'] is equal and between happy_hour_start_time and happy_hour_end_time. Below mention query is not working properly. Please suggest me solution. $meta_query[] = ...
0
votes
0answers
7 views

How to enable XML RPC for WordPress Multisite

Im trying to activate the plugin Jetpack on my multisites. On the main domain (network admin), the plugin is able to activate and work. However, when I tried to active on the sub domain, it gives the ...
0
votes
0answers
20 views

WP_Query with UNIX timestamp in meta query

now idea why this isn't working, please point me in the right direction! Here's my main query; $events = new WP_Query( array( 'posts_per_page' => -1, 'meta_query' => array( ...
0
votes
0answers
23 views

Fully editable footer

I'm making a theme from scratch and I want to add a footer with editable stuff like copyright / social network / About author excerpt / some link. I looked around on google but I find answer who say ...
-3
votes
0answers
7 views

What's the nature of latest WooCommerce security issues? [on hold]

I've seen that WooCommerce 2.2.8 and 2.2.9 have been security releases. However, the changelog does not say anything about the nature of these security issues (nor do the related github commit ...
0
votes
0answers
12 views

Editable form with database

I want to create a profile page in which user will give title and description for it.this title should be visible in list on same page by clicking on it associated description should get open for ...
0
votes
0answers
20 views

Embedded Videos (PB) - Not Available

I am using this link to create a wordpress website VIDEO At minute 53 the guy is using "Embedded Videos (PB)" widget in order to embedd a youtube video. (By the way he is using Page Builder). Problem ...
0
votes
1answer
21 views

How to use taxonomy term as a value of get_template_part?

I would like to dynamically import different template parts (hardcoded sidebars or navigations) into my layout based on a taxonomy assigned to the post. For instance, this "standard" code works as ...
-1
votes
0answers
3 views

How can I use Same Category but different size image thumbnail [on hold]

I want to make a news website. Please help me by giving my answer
0
votes
1answer
20 views

Cannot Update wp DB - Get 500 Error

I have this site on godaddy Failpeep.com , It started giving me this problem yesterday , When I tried to login to admin area , It 1st kept loading if I entered the correct password and took me to a ...
1
vote
0answers
27 views

How do I create an rssfeed from the contents on this page?

So. I created a gmail rss feed with php that I placed in a custom page. I used this snippet: function checkGmail($username, $password) { $url = "https://mail.google.com/mail/feed/atom"; $curl ...
0
votes
1answer
18 views

Custom urls in WordPress involving page slugs

I have a page called 'Cars' with slug cars. Is it possible that the page works as normal at this URL http://example.com/cars/ and http://example.com/cars/audi/ can be used to show something some ...
0
votes
0answers
18 views

Internal Server Error

For the past 2 weeks When I tried to login to my wordpress site as below, I get an "Internal Server error message". My site also seems to have disappeared into the ether!!!! Why is this and what ...
-2
votes
0answers
17 views

Cannot use Premium subscription I bought [on hold]

I bought a premium plan then I changed the website address because the first one was not what I wanted. Now I can't access my premium plan. I am not paying $99 again!
0
votes
0answers
10 views

Main menu not changing to responsive menu on time in wordpress twenty fourteen

Main menu not changing to responsive menu and menu items create a double menu from 936 screen size to 782 ... id like the menu to become fully responsive on time Can anyone help on this issue? ...
0
votes
0answers
23 views

Best practices for configuring a server?

I am on linux-root server and has just installed a wp 4.1 final. Aditionally some few Amazon-Web-Services-Plugins - such as: amazon-link amazon-product in a post scrapeAzon Note: I've tested all ...
0
votes
0answers
16 views

WordPress custom setup with “uploads” folder on a separate server; and “themes” and “plugins” on two different servers

I am setting up a WordPress site on Linux (and using Amazon AWS if this matters to you), and would like to do it as follows: A separate server for the DB server A separate server for the "uploads" ...
0
votes
1answer
17 views

Custom Post type and Custom taxonomy with URL rewrite worked but template did not

I search a lot but couldn't get, just got partial answer , I declared custom post type "store" with taxonomy "city", what I am trying is to make list of store based on city list and make URL like post ...
0
votes
0answers
7 views

How to refresh a cached page after a cookie has been set by a user? [on hold]

I just set up caching on my site, I am using W3TC (free version), and Cloudflare. I have a button that either guests or logged in users can click and it will set a cookie in the user's browser. The ...
0
votes
1answer
11 views

Target logic based on Widget / Sidebar Name

I have a theme that uses registers a sidebar called 'homepage-middle-widget' and it's child widgets are pulling images in undesired sizes. Is it possible to target a widget and / or it's parent in ...
0
votes
1answer
28 views

Hide first blog post in content and output it in widget

I am working on a theme and want to hide the first blog post and instead output it at a custom widget position. For that I created a variable in the functions.php called $postCounter. I accessed ...
0
votes
2answers
24 views

Global Variable vs Local Variable

// MOVE REVISIONS METABOX TO BOTTOM OF EDIT-FORM.PHP $post_types = get_post_types(); add_action('do_meta_boxes', 'batteryboys_reorder_meta_boxes'); function batteryboys_reorder_meta_boxes(){ ...
0
votes
1answer
24 views

How do I place a function in a standalone page?

Im trying to a a function to create an rss feed from a gmail dress. This works if i place it in functions.php, but overtakes my site as an rssfeed, as expected. How do I place it in a standalone page, ...
0
votes
1answer
12 views

featured image metabox not showing on the default post types edit page

I can't get the Featured Image metabox to show up on the edit page for the default post and page post types. Though as opposed to this question, it does work for the custom post type I've created ...
0
votes
0answers
15 views

WordPress database error Duplicate entry 'cron' for key 'option_name' for query [on hold]

Today i see the error's with my website and it seems to slow down the performace of the website when i was having very high traffic on the website. I bought Vaultpress plugin for the backup and i was ...
0
votes
1answer
23 views

How do I make wp_localize_script variables available for child theme?

I am trying to create a child theme and want to deregister the original javascript and enqueue my own. Its the original javascript of the theme but a bit different :) The problem that I have is that ...
0
votes
3answers
27 views

How to add css classes to widgets?

I need to add a class to the WordPress search widget. How would I go about doing so? I'm calling it from the admin side, as in dragging and dropping it into the sidebar at the widgets page of the ...
0
votes
1answer
23 views

Custom nav walker: How to acces the $args parameter?

I am creating a custom nav walker. I noticed that the nav walker class from the WordPress core is written rather rough – much of the stuff going on could be spread out through various methods, so I ...
0
votes
0answers
12 views

User email not being changed (cached?) until next page load (frontend)

I'm working on my own account management from the frontend. So far everything is working pretty good. I do have 1 issue that I just can't seem to fix. When a user updates their account information, ...
1
vote
1answer
39 views

Why use %d in php when in function

$mid = $wpdb->get_col( $wpdb->prepare("SELECT meta_id FROM $wpdb->postmeta WHERE post_id = %d AND meta_key = %s", $post_id, $meta_key) ); Can any body tell me why we are using %d and %s ? ...

15 30 50 per page