-1
votes
0answers
9 views

how to make post appear on custom menu?

So I want to make a review blog, but its not going too well. I have made my first post and it appears on the home page/menu, which is one success but I have different menue, like home,about, and ...
0
votes
0answers
11 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
0answers
9 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. ...
1
vote
0answers
11 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
10 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
6 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
5 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
15 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
0answers
10 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
1answer
10 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
0answers
5 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
21 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
8 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
6 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
13 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
16 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
6 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
12 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
14 views

How to use taxonomy term as a value of get_template_part? [on hold]

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
13 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
19 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
16 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
16 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
7 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
20 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
15 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
15 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
25 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
21 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
22 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
11 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
25 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 ...
-1
votes
0answers
14 views

How to sycronize wordpress subscibers into mailchimp list? [on hold]

Is it possible? I had tried "autochimp" plugin but it is not working. Is there any other way?
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 ? ...
0
votes
1answer
16 views

Creating a “forum” - showing last post or last commented post

thanks for reading! Im creating a forum just using categories and posts. I'd like (as most forums do) to show the last commented post or the last created post (which ever is newer) next to the ...
0
votes
1answer
23 views

CSS acting differently in and out of Wordpress [on hold]

I've created a from-scratch (non-Wordpress) responsive page that works exactly as expected, and now I'd like this to be the front page of my Wordpress site. The FS (from-scratch) site comprises an ...
-1
votes
0answers
6 views

Woocommerce create_category hook not working for product categories? [on hold]

so I want to hook into create_category and edit_category for products in Woocommerce. However it seems like it's not using these hooks when creating / editing categories? I know the hooks work for ...
-1
votes
0answers
7 views

Create an order in WooCommerce using S2Members API and wc_create_order [on hold]

I'm trying to use S2Members 'Payment Notification API' to create an order in WooCommerce when a payment is processed. I'm going to be batch shipping my product once a month to all members who've paid ...
-1
votes
0answers
8 views

Stop monitoring site by Jetpack that doesn't exist anymore [on hold]

I activated the Jetpack monitoring plugin for my blog. After a while, I decided to quit the blog completely, so I made a hard rm -rf wp/ on my machine. Consequently, I received a monitoring notice ...
-1
votes
0answers
8 views

Share menu accross network

I am using WP multisite and used the following pluging to share my main site menu on other sites. http://wpmututorials.com/plugins/networkwide-menu/ But it only display my top level menu not the ...
0
votes
2answers
23 views

Show number of articles in menu

I want to display a number of articles in a certain category which is hooked to a menu item. It should look like Bootstrap's "badge" component. Now I've got: and what I want to achieve: Do I ...

15 30 50 per page