0
votes
1answer
19 views

Insert a variable in pre_get_posts

I've searched in google with no luck. I'm trying to add a variable into this code to modifiy the category of the posts in homepage: Code Not Working: <?php $p = $_GET ['p'] ;?> <?php ...
0
votes
0answers
11 views

Workaround for PHP Limit for image upload: How to use a local installation to get images online?

I have the common problem while uploading images, that I get the fatal out of memory error. Fatal error: Out of memory (allocated 40632320) (tried to allocate 5120 bytes) in ...
0
votes
1answer
18 views

Hacker placed ads page in Site [on hold]

When I searched my site in google, its showing some extra links with my site such as xyz.com/vps-hosting, xyz.com/ftp-web-host etc.. It's a iframe of http://spechin.com how to delete these pages ...
-1
votes
1answer
15 views

Wordpress crash when insert long html code

i'm going nut.i wrote some code for a wp page, i inserted it into codepen and it works just fine, but the moment i use visual composer "html" snippet, and i copy it inside... wp crash. why? ...
-3
votes
0answers
11 views

payment gateway [on hold]

Is it possible for me to create a separate page for payment gateway cos wordpress themes by themselves are a complete package. So is it possible for me to add a separate page in a theme as a payment ...
0
votes
1answer
13 views

Add links to post categories and taxonomies in wysiwyg link modal?

I want to link to post categories and taxonomies in the text editor. With the "add link" modal I only can add links to existing posts, pages and custom post types but not to their categories and ...
0
votes
0answers
11 views

Mute Button on Youtube Video Revolution Slider

I want to place a Mute/Unmute button on Youtube based Revolution Slider. So far I have done: Created a slide with full width youtube video. Placed a mute button (icon) as a new layer Placed an ...
0
votes
0answers
19 views

Why some very popular plugins doesn't work with child themes [on hold]

Every WordPress user know what Child Theme is. https://codex.wordpress.org/Child_Themes. I can't configure templates of some plugin(for example Sabai Discuss) in child theme, it doesn't effect(see the ...
0
votes
1answer
12 views

how to display my WordPress plugin on a chosen page?

I'm new to WordPress development and I just can't get my head around rendering the actual html/css contents on my plugin to a page on my WP site. Is there a specific function or so? I'm not talking ...
0
votes
0answers
7 views

Properly maintaining an old rewrite structure

I have a plugin which manages redirects for after another theme has been deactivated. It helps SEO obviously. I have the below wrapped in a function employed by 'after_switch_theme' hook. ...
0
votes
1answer
120 views

#1273 - Unknown collation: 'utf8mb4_unicode_ci' [on hold]

I'm trying to migrate my site from hostgator to local windows on desktopserver - and when I try to import the database I get this error: 1273 - Unknown collation: 'utf8mb4_unicode_ci' I've been ...
-1
votes
1answer
17 views

Restore hacked website

My wp site was hacked, i have remove the hacking file for cpanel. hacker just change my index.php file which remove and upload new one. my site is working properly but i have one issue, i can not ...
-1
votes
1answer
22 views

are there plugins to place text on images? (searchable text I mean) [on hold]

This sounds like a stupid question and it very well might be -sorry if it is Last time I used wp was 2004 and now I'd like to make a new blog/magazine/shop kinda thing so I'm checking to see if there ...
0
votes
0answers
8 views

Merge multiple user meta values into a single value?

I have an event website, and whenever a user attends an event, I pull that event into their user profile. What I currently have is a table of attended events with details (event name, date, hours, ...
0
votes
0answers
3 views

Using Xeditable with Bootstrap my post.php function says 404 Notfound but executes the db update?

I am using the Xeditable library with Bootstrap 3. I have everything setup to work... and technically it is working.. except that when I submit the value via the popover the network response is a 404 ...
0
votes
1answer
9 views

Displaying All Data from Custom Post Type Fields through Advanced Custom Fields

I have looked all over Google, trying to figure this out. I've made some progress but still stuck. I'm pretty new to ACF and custom post types. I have a custom post type of "Attorneys" that I setup ...
0
votes
0answers
11 views

Custom Post Type page templates

I have the following in my functions file if ( ! function_exists( 'staff_taxonomies' ) ) { function staff_taxonomies() { // taxonomy labels $labels = array( ...
0
votes
0answers
8 views

using ajax load more post inside archives.php

I'm looking for a plugin or a way to add a load more button on my custom template pages & archives pages. I'm aware of the Ajax Load More plugin, but It only works with shortcodes... Does anybody ...
0
votes
0answers
5 views

Subscriber role - blank page

I did a fresh install of WP4.2 today, but after playing for a while with setting up a custom user roles I realized that the built-in subscriber role is returning blank page instead of the dashboard. ...
0
votes
1answer
16 views

Reduce Page loading time

am trying to reduce page loading time by flush() php function just before in header.php wordpress file. Am using W3TC and CDN so that will work or it will be an unused modification?
0
votes
1answer
20 views

Best way to organize data in this scenario

My question is about data organization more than code, I hope it still has its place here. My site's main menu has an item pointing to a page called "Videos". This page has 2 main parts: The last ...
0
votes
1answer
24 views

Getting the image title/alt attribute from the gallery shortcode

I am trying to learn how to code php so that I can customize the image gallery within WordPress (among other customizations). The code I have works great for a stylized gallery page, but having a ...
0
votes
1answer
9 views

How to switch from custom post type URL to category URL?

For the past year, I've been using custom post types to distinguish my different post types (duh). Thing is, I'm now realizing that categories are more efficient in offering archived pages for these ...
0
votes
1answer
15 views

Where to place add_action when enqueueing?

Do I place add_action before or after function myTheme_script {enqueue functions here} when enqueueing a script or stylesheet into functions.php, or does it matter? I'm seeing both from moderators on ...
-1
votes
1answer
11 views

Import a gallery and edit it in admin page?

I want to the import/copy a exact gallery on http://www.skidstahus.se/vara-hus/ to my page and make it editable in the admin page, so I could add new pictures and info. With the gallery I want to ...
1
vote
1answer
20 views

Using Theme Customizer Built-In Sections

The WordPress Theme Customization API indicates that there are a number of existing pre-built customizer sections available for the theme developer. If you want to use any of the existing, ...
0
votes
1answer
13 views

WordPress styling recent post

Trying to replicate the theme shown here http://i.imgur.com/k60YtiX.png. As you can see on the screenshot the first post is black and the second post is a grey colour. My progress so far is just at ...
0
votes
0answers
11 views

Formatting wordpress debug messages

On my local PC (win 8 & IIS) when I get a wordpress debug message I get a nicely formatted table at the top of the page with a full stack trace. When I enable debugging on my linux hosting I just ...
0
votes
0answers
21 views

Unable to create hyperlink after Wordpress updated

I am recently facing an important issue. This issue happened after an updates completed. The issue i facing is, the visual editor was not responding when i creating links with the Insert/Edit Link ...
0
votes
1answer
28 views

Search Functionality broken by the wp 4.2 update

I run a blog site with posts by authors, and I implemented a search that would return results if the search was like an author's name or the search term was contained in a story. I was functioning and ...
-2
votes
0answers
9 views

Associate posts and attachments to specific users [on hold]

I'm looking for a plugin where I can associate posts and attachments to specific users. My plan is build a member area for my clients where they login and access his specific posts and attachments. ...
0
votes
1answer
11 views

if user is admin display admin link and logout link else display logout only

Like the title suggest I would like to create a conditional with the ability to if user is admin display admin link and logout link else display logout only in wordpress. I have created this ...
-1
votes
0answers
8 views

Set first images as Featured if not any featured image in genesis [on hold]

Iam using genesis framework and i need if any post not have featured image, To set first images as Featured. And show it in grid of my theme. How can do that.
0
votes
1answer
18 views

ACF Google Maps - Multiple Pins

I'm using ACF Fields plugin and attempting to create a Google Map which shows post locations, but not getting very far - the pins show up in the wrong places, and when I echo out the title of the post ...
0
votes
0answers
6 views

Wordpress real-time posts/classifieds plugin? [on hold]

I am looking for a plugin where users can create posts/ads and have them show in real time on front page, pretty much like this: http://nyc.changeby.us/ Any plugins or way to make it happen in ...
-4
votes
0answers
20 views

Can Wordpress work separate databases? [on hold]

I am now facing a problem that I need to create a wordpress site that works with 3 separate databases together? Can anyone give me some tips to solve it?
0
votes
1answer
21 views

WordPress rating by views

I am trying to create a system much like the one on this website. http://i.imgur.com/0trw2c3.png What happens is, if the post has over 1,000 views it gives it a nice little icon above the featured ...
0
votes
0answers
19 views

Wordpress JSON API - Prev Post / Next Post using Ajax

I am using Wordpress JSON API to pull data from posts and display it via ajax on a click event. I would like to an include a .next & .previous link which will rerun the ajax request replacing the ...
3
votes
2answers
17 views

Having a custom post slug that clashes with an existing directory

I'm currently transitioning a website from their existing CMS to WordPress. I have a custom post type of 'Episodes', with a URL of myurl.com/episodes/ There is also an existing directory at ...
0
votes
1answer
21 views

How to change the color of one word in site-title? [on hold]

I am trying to change the color of one word in my site title. I have little knowledge of html and CSS. http://coolstuffgift.com/ my site title is "Cool and Creative stuff" and I am trying to get ...
0
votes
0answers
9 views

Twenty Fourteen modify left sidebar on home page only

I'm using a twenty fourteen child theme and want the left sidebar to be different on the home page. I'm trying to modify it without changing any files so I made a new sidebar called sidebar-front and ...
0
votes
1answer
12 views

Function returns post URLs rather than retrieving Facebook Graph API data

require('../wp-blog-header.php'); query_posts('&showposts=-1&order=ASC'); while (have_posts()) : the_post(); $url = the_permalink(); $json = file_get_contents( ...
0
votes
0answers
10 views

Get top parent category

My category structure is as follows: - Top Category ---- Sub Category 1 ------- Sub Sub Category 1.1 ------- Sub Sub Category 1.2 ------- Sub Sub Category 1.3 ---- Sub Category 2 ------- Sub Sub ...
-1
votes
1answer
65 views

Resolving following issue

Error SQL query: -- -- Database: wordpress -- -- -------------------------------------------------------- -- -- Table structure for table wp_commentmeta -- CREATE TABLE IF NOT EXISTS wp_commentmeta ( ...
0
votes
0answers
12 views

Questionnaire That Returns Product Selection

I'm looking to implement a questionnaire based product selection for WooCommerce. The ultimate goal is for the consumer to be presented with a selection of products based on the results. Does anyone ...
0
votes
0answers
11 views

How to use meta query for greater than value in array?

I have saved some price values of three products in a custom field name roomprice. Meta keys and values are like here: **product first** post_id = 1432 meta_key = roomprice meta_value = ...
-1
votes
1answer
16 views

Post deleted in trash [on hold]

I need a plugin or some method to recover deleted post of trash.
0
votes
1answer
12 views

Show part of front page on another page [on hold]

I'm using the Zerif Pro theme on my wordpress website: http://themeisle.com/demo/?theme=Zerif%20Pro%20K I've added content to the frontpage by customising the theme. I'm trying to show a part of the ...
0
votes
0answers
87 views

Problems with permalinks after update wordpress 4.2

Yesterday i will update my wordpress to 4.2 and after update it i see some link of my blog end with %d And Some post in my blog show like ...
0
votes
0answers
11 views

How to move posts in featured category on top and keep pagination

I want to move every post from category_id = 11 and 10 on top of the list and then query every other post which is only in 10th. I thought that making two loops will do the trick but there is a ...

15 30 50 per page