0
votes
1answer
9 views

Stop WordPress from auto updating

I have a site that works in 4.1.3 which I have a backup of though when I reinstall the site it auto updates to 4.1.4 which then breaks parts of the site. I did add this to the wp-config file in the ...
0
votes
3answers
9 views

How to find the Registration page

I am managing the WordPress website i don't have the document of the website my problem is the website has the registration page please see [this link] but when i check the registration page in ...
0
votes
0answers
13 views

Plugin Installation Error

Unpacking the package… Could not create directory. Return to Plugin Installer When I install the plugin it shows this message. How to solve this problem?
0
votes
0answers
6 views

Organization of different portfolio under a user in WordPress

I would like to be able to organize properties (real estate) in projects. Every property will be assigned to a project. Some properties will be assigned to the same project. This would likely be done ...
0
votes
0answers
9 views

When to hook into edit profile action?

I have the following function which combines the values of a few user profile fields and saves them as a new user_meta called COMBINED_WORKSHOPS. The function works, but I don't know when/where to ...
0
votes
1answer
18 views

While loop with bootstrap

Is it possible to do a while loop with Accordion from bootstrap ? I am trying to make a FAQ section with the repeater add pro add on from advanced custom fields. All the questions show up but they ...
-2
votes
0answers
11 views

Customize slider shows on the single product page

I have attached a picture to show the problems I faced. the slider(or maybe other element) take too much area in the product page. i need to alter the dimensions of this element for good appearance ...
0
votes
0answers
11 views

Change header menu login-logout without changing main menu

I'm trying to change the header menu, such that it looks different when it is logged in and logged out, without changing the main menu. function my_wp_nav_menu_args( $args = '' ) { if( ...
0
votes
0answers
12 views

How to update_user_meta with a variable?

I have added a field COMBINED_WORKSHOPS to the User Profile: add_action( 'show_user_profile', 'add_attendance_to_profile' ); add_action( 'edit_user_profile', 'add_attendance_to_profile' ) function ...
0
votes
0answers
8 views

w3 total cache : Force minified css to reload on client side when style.css is changed

Im trying to force the minified CSS file generated with the w3 total cache plugin to reload after editing the style.css file. Here's what i did : Empty all cache Add the file version after the ...
0
votes
1answer
10 views

Sticky Post or Featured Post on every page

I'm using a sticky post to display some custom text on a blog homepage. It is the blue bar at the top. When I click on a blog post to read it (example), the sticky post goes away. Is there a way ...
0
votes
0answers
5 views

Oneall's Social Login plugin: can't get custom CSS working

According to the official documentation here, we can use a custom CSS theme for our Social Login plugin by adding the following in functions.php: //Use a custom CSS file with Social Login function ...
1
vote
0answers
7 views

How can I use fragment caching to exclude certain plugins from being cached?

I'm using the popular W3TC to optimize load times. The website that I run is dynamic and has login widgets as well as status indicators for game servers. The widgets are not hard-coded into the ...
0
votes
0answers
8 views

Change roles automatically after X time

We are developing a site that have three roles: Trial Paid No Paid All users that join to our site have a trial role by default, but we want to change it automatically to No Paid after 15 days. ...
0
votes
0answers
15 views

Can't log into WordPress after domain change

I can not reach my dasboard when I try www.mydomain.com/wp-admin it redirect and becomes -----"wp-login.php?redirect_to=http%3A%2F%2Fmydomain.com%2Fwp-admin%2F&reauth=1" ---this and I can not ...
0
votes
0answers
30 views

Pagination not working

I have been using the same pagination query for the majority of the websites i have created. This time it is not working for some reason I have used the pagination trouble shooting links Here but ...
0
votes
0answers
16 views

Don't want DIV to reset after page refresh

This is not necessarily a WordPress specific question, but I'm hoping WordPress might have something which could help me. I have Javascript/CSS tabs on a webpage which both contain 2 different search ...
0
votes
0answers
9 views

Load image/PDF on page *AFTER* it's been generated by web server

I'm putting together a basic webpage that will take in a few inputs (alphanumeric), feeds those inputs to a script that runs on the same web server, but behind the scenes, and generates an image or ...
0
votes
0answers
14 views

Is there a way to get raw code for social media icons?

After doing a quick internet search I couldn't find what I'm looking for. What I would like to do is have various social media websites' share icons on my webpage. But I want to avoid using a plugin ...
0
votes
0answers
6 views

paysafecard integration issue in wordpress

I am integrating this Paysafe payment method on my wordpress website for checkout. What I am trying to do is adding a link(Please note I want a paysafe link for the specific products) to the product ...
0
votes
0answers
10 views

Custom field value inside html code with shortcode

I would like to create a shortcode -> [myCite] which puts out a custom field (named custom_cite) value from a custom post type "post_thoughts", wrapped in a html wrapper. Now I want to use the ...
0
votes
0answers
10 views

How to load specific posts on individual pages or based on username?

I've got a few things here... How can I load specific posts on specific pages? The idea is to have an individual page for each user that displays posts allocated to them. Or if its easier, to load ...
0
votes
1answer
10 views

Updating a post without escaping ampersands?

I've found that wp_update_post() escapes all ampersands provided in the post's post_content. I'm trying to update a post without converting ampersands to &. (I need to add plaintext URLs ...
0
votes
0answers
10 views

Super cache caches mobile pages for desktop

Super Cache doesn't separately cache mobile pages and desktop pages. Sometimes I see a mobile cached pages on the desktop and the vice versa. How to solve this?
0
votes
0answers
9 views

Tracking comment form submission with Segment.io plugin

I am using the Segment.io plugin for analytics on my site. Specifically I am trying to track when a user comments on a post using the analytics.trackForm function. See code below... <script> ...
0
votes
2answers
12 views

Media Query - Display Upload Author & Get Uploaded Yo Post ID

Working on a project with a lot of galleries & "attachment" post type queries. It's all working great except I noticed in the Attachment Details box in the admin dashboard that Wordpress stores ...
0
votes
3answers
24 views

Include Jquery libraries in wordpress theme?

I have a file in my theme's JS folder named cycle2.js. How do I include the Jquery from 'wordpress→includes' into my theme? How do I load this custom JavaScript file 'cycle2.js' into my theme? I ...
6
votes
1answer
45 views

Disable emojicons introduced with WP 4.2

So WP 4.2 introduced emojis (smileys) that basically adds JS and other junk all over your pages. Something some people may find shocking. How does one completely erase all instances of this?
0
votes
0answers
14 views

WP_Query custom field pass the post id

I'm using WP_Query with ACF(Advanced Custom Fields) I'm building a news portal, and I'm trying to pass related stories from 1 post which is top_story = true. In another WP_Query I want to print the ...
0
votes
0answers
10 views

Create custom field for users to check if they agreed to terms

We have a employee center on our site. We have used multiple plugins to create an employee center. I have added a field to the database of "agreed". This field holds a 1 or 0 if they have agreed to ...
0
votes
0answers
15 views

Set options outside of the admin panel

I would like to update my plugin options outside of the options page. I have built a secure hub where only users with the capability 'access-hub' can access it. I would like to let users update my ...
2
votes
1answer
13 views

How to stop contributors editing post type but allowing them to edit a custom post type?

I need to stop 'contributors' from editing the standard post type, but I want to allow them to edit a custom post type. My code so far: remove_cap( 'contributor', 'edit_posts' ); Thanks! UPDATE: ...
0
votes
0answers
15 views

Changing permalinks and canonical

I have a domain with permalinks set to /%postname%/ but now I would like to change to /%category%/%postname%/ I thought who ever now come from a book mark to http://domain.com/my-first-post ...
0
votes
0answers
11 views

Is it possible to use login_enqueue_scripts to add the stylesheet to head section? [duplicate]

here where I'm having trouble: I need to add my styleshhet to the WordPress login page among the tags <head></head> but my code doesn't work, it always enqueue the stylesheet before ...
0
votes
0answers
14 views

Multilevel nav menu using HTML 5 blank

I'm using html5blank to build my own theme. The Wordpress interface offers me options for sub menu items,as if my theme includes it, but they show up as top level items on the nav bar. Do I need to ...
0
votes
0answers
11 views

Embed a Google Sheet as you view it in a separate tab?

Is it possible to embed a Google Sheet as you view it in a separate tab like in this website? I have tried to use Publish to the web or the plugin Inline Google Spreadsheet Viewer but it just embed ...
0
votes
0answers
25 views

SQL query by post type

I've got this SQL query: $dietary_restrictions = $wpdb->get_results("SELECT DISTINCT meta_value FROM " . $wpdb->postmeta . " WHERE meta_key LIKE 'dietary_restrictions_%_restriction' AND ...
0
votes
1answer
12 views

Wordpress Custom Search By Alphabet and order by asc and sesc

I am new to word-press but i can easily work on core php and other mvc framework,acutally i want to add custom search for only subcategory post. The search will with below Search post By old to new ...
0
votes
2answers
27 views

get_post_meta as a list for drop down search filter

I was wondering if someone could help me out. I would like to create a dropdown search filter for my wordpress site. I would like the drop downs to be populated by meta_boxes values which i have for a ...
0
votes
1answer
10 views

New Menu Item Type Meta Box

I have a project I am working on where I need to pull in articles from a 3rd party API. I've got this working using rewrites, but the last step I'm having trouble with is integration into the ...
0
votes
0answers
12 views

Custome column sort by date not title

I've created a custom column. Currently they are automatically sorting by title however i want them to sort by date. I've tried adding a "query_post" like: ...
0
votes
0answers
8 views

Wordpress add_rewrite_rule with priority

I'm working on a Wordpress website which shows companies in a city. The URL's are like www.address.com/new-york/. I've created a rewrite rule for this and it works but now i'm not able to visit any ...
0
votes
0answers
6 views

Adding a third party SDK for Kitlocate into wordpress

Hi guys so I have built a website with wordpress and I am in the process of turning it into an App for both android and IOS using AppPresser but before I do this I need to integrate the SDK into ...
0
votes
1answer
13 views

WP upload/select image , isn't this a security issue?

If in image upload frame I select a zip http://prntscr.com/6ypjlv, it does not show it in list of files but it is up http://prntscr.com/6ypjvp shouldn't we only be able to upload image types if ...
2
votes
2answers
74 views

Can we use a variable hook for language string?

I am using this to localize strings in my theme __('Background image', 'themename'); there are plenty of strings that are localized but to make sure that the theme lang files and localization ...
0
votes
0answers
18 views

Contact form 7 two required fields but only one must be filled

this problem was solved here, very far ago. this code dont wark any more. <?php /** ** A base module for [text*], and [email*] **/ /* Validation filter for either or fields use or_field:tag ...
0
votes
1answer
24 views

Create a shortcode to use in visual editor

I'm using Visual composer and i can't use php code inside boxes but i can use shortcodes. I know i must use function inside my functions.php file I need only a example/help for one and i will ...
0
votes
0answers
11 views

Show child theme for users on specific IP

I have some users coming in from a fixed IP range on a very slow connection (256kbps) so want to server them a child theme that has a lot of the bandwidth intensive features removed. For ease of ...
0
votes
1answer
24 views

How to use 'WP_Query' or 'query_posts' to display content in a descending order

How can I list posts in a descending order of the $json_data->data[0]->total_count values ? I want to display top shared posts descending, but I can't really use WP_Query or query_posts the ...
0
votes
1answer
10 views

How to get sort content by page id?

I wont to get short content in my footer area. So, I write my code as follow: $page = get_page_by_title( 'About us' ); $content = apply_filters('the_content', $page->post_content); ?> ...

15 30 50 per page