0
votes
0answers
1 views

WordPress adds superfluous </p> to qtip2 content. Cause Unexpected token ILLEGAL

I’m developing a wordpress plugin using qtip2. Line breaking are not working. When trying to create an in-memory div via a JS code following ...
0
votes
0answers
2 views

How to create menu in parallax wordpress theme?

Can anybody clearly give me some idea how to create menu in parallax theme for wordpress?I want to add menu not using the # tag and page title or slug.
0
votes
0answers
3 views

Custom Post Type as Page parent

So there are a million snippets for how to get pages as parents of custom post types. However, the reverse seems to be questionable. One would think, since everything in WordPress is technically a ...
-1
votes
0answers
8 views

Shortcode conversion to hrml when post is published

I am creating posts in wordpress using shortcode. When user looks at post, the data is displayed by pulling from database. But we also send email to users when post is published. In this post, we sent ...
0
votes
0answers
3 views

Removing gravatar from Wordpress feed?

This is a part of my blog post's rss feed. <item> .... .... .. <wfw:commentRss>https://technoinnovation.wordpress.com/2015/01/24/first-post-3/feed/</wfw:commentRss> ...
-2
votes
0answers
8 views

Role-specific upload

I am looking for a plugin that allows users of a specific role to be able to upload to a specific directory only accessible by that role, with a page listing the files in that directory. This is to be ...
0
votes
0answers
10 views

Best way to clone a wordpress website

Originally, this question was a stackoverflow question http://stackoverflow.com/questions/28079326/wordpress-wp-clone-plugin-is-resetting-my-site but after I found this site, I found it better ...
0
votes
0answers
2 views

Where to insert customize_register in wordpress plugin

I'm developing a plugin... well trying to... for wordpress that adds a parallax header in a theme. I want to have a customizer section for my plugin, but where ever I try to add the customize_register ...
0
votes
0answers
14 views

Use 'parse_query' filter to show posts that from multiple criteria

I am trying to filter the Posts page in the WordPress admin to show posts that meet the criteria for "A" -or- the criteria for "B". I've scoured documentation and can't find a good way to do this. ...
0
votes
0answers
5 views

Generate thumbnails like 500px.com

I tried but couldn't get thumbnails like these, in wordpress. Please check this url https://prime.500px.com/galleries/tricks_and_treats If you notice, there is no cropping. Its just zoomed-out or ...
0
votes
1answer
8 views

Why query by specific date with variables doesn't return same result that with harcoded integers?

Having a blog with one post per day from monday to friday, on weekends I need to retrieve last friday post if user click the "today word" or the las thursday post if user click the "yesterday word". ...
0
votes
0answers
12 views

Popular post 'of the week'

I would like to know how can I make my widget get the popular post by week ? Right now it show only popular post since the beginning of the website. here is my code : // PopularPosts Widget { ...
0
votes
1answer
14 views

Retrieve a list of users based on some conditions

What am I doing wrong on this query? The main issue is the var_dump returns null. The query works fine in phpMyAdmin. global $wpdb; $users = $wpdb->get_results( $wpdb->prepare( ...
0
votes
1answer
5 views

Different titles for static, posts, and every xy page

I have: a static front page "Home" a page with all my posts "My posts" all the other post/pages from the blog "Post x / Page y" and each one of them should display its title in the header. I'm ...
0
votes
0answers
4 views

Ignore specific URI segment

I've set up a custom post type and have it displaying correctly at /archive and /archive/single - what I want to be able to do is allow specific segments in place of /single to still show the ...
0
votes
0answers
7 views

Registration Page Cuztomization

I'm trying to build a registration page similar to that of Gmail's (as an example). To do this I am attempting to follow the example #2 given in the codex page "Plugin API/Action Reference/register ...
0
votes
0answers
7 views

Is this the proper way of switching the “Edit My Profile” link with my BuddyPress “Extended Profile” link?

I am using the Multisite feature enabled. I have a main site and a community site. On the main site the 'Edit My Profile' links is pointing to this link: ...
0
votes
1answer
15 views

query_posts clarification needed

I understand for the most what query_posts does and how it works. I also know it's not good practice to use it. But I would like to know exactly what the "$posts" variable does in this setup: ...
0
votes
2answers
20 views

Plugin as custom page

I'm begginer in wordpress (but not begginer in PHP) and I would like to make custom search page as plugin with this url www.example.tld/book-search. It would be simple page for searching books from ...
0
votes
1answer
15 views

Enqueuing a stylesheet and ensuring it's loaded before (not after) the theme's stylesheet

In wp_enqueue_style()'s doc I see the third parameter is for stylesheets to be loaded before the one called by the function. But is it possible to do the contrary, meaning to instruct WP to load a ...
1
vote
1answer
18 views

Get tags for current user

How i can get user tags list , i get list of all tags with this: <?php $tags = get_tags(); ?> <?php if (isset($tags)): ?> <ul> <?php foreach ($tags as $tag): ?> ...
0
votes
0answers
9 views

WordPress not updated correctly

I have hosted my website with grendlehosting site.I have my domain is being hosted there with wordpress installed. I had WordPress 2.x. then I tried to update my WordPress to 4.1. but after the ...
0
votes
1answer
36 views

Pass important values server-side when processing form

I am working on a plugin that has the following within a <form> tag: <input type="hidden" name="postid" value="<?php echo $postid; ?>"> The problem with this is that users can ...
0
votes
1answer
11 views

How to replace URL protocol using PHP?

I'm using HTTPS everywhere in my website but I have problems with sharing buttons for Pinterest and Tumblr. For example, when I try to share image on Pinterest I get this error: "Sorry we could not ...
0
votes
2answers
35 views

Multiple loops and Custom Template for Older Posts Page

I'm pretty new to creating my own theme and I seem to have become stuck and would really appreciate it if someone could help me. I have searched and found snippets of advice but nothing that really ...
0
votes
1answer
20 views

MySQL database gives blank page (white screen of death)

I am currently trying to migrate a live Wordpress site to a local server to do development. I believe I have done most steps correct, but I am only getting a blank page. I am quite certain that this ...
0
votes
0answers
6 views

Adding Custom Fields/editing description css in NextGen Gallery

Hello I am currently trying to build a vehicle selling page using wordpress & The Nxt-Gen Gallery. I am currently using the shortcode below to include the description underneath the thumbnails. ...
0
votes
0answers
15 views

AJAX call keep sending message

I'm working on a form from front-end which inserts a post via AJAX. Everything works fine but when I opened chrome's console in the wordpress-admin menu and click on the specific post type it keeps ...
0
votes
1answer
17 views

Change Widget that display posts from categories to tags

I have a theme with a widget that display posts from category and I wanna change it to posts from tags if it s possible. Here is the code : // NewsInPictures Widget class NewsInPictures extends ...
0
votes
1answer
7 views

Top level menu position overwrites another entry

From looking at the codex and after using print_r($GLOBALS['menu']; to display the array list of menu items, I see my CPTs listed as 16,17,18,19 in the returned array. 20 is the Pages menu item, ...
0
votes
1answer
9 views

Weblog clients cannot retrieve posts: An invalid hexadecimal character (0x7) was found in the element content of the document

Error blog: www.DannyQuah.com/writings/en/ Problem: Unable to retrieve posts. Reproduced with Weblog clients Windows Live Writer, ScribeFire, and Qumana. The error message on the invalid hexadecimal ...
0
votes
0answers
15 views

Page with the same name of a category

I've a category, let's say "testcat". I want to create some pages which the final url should be "http://example.com/testcat/pagename". To do this, I should create a page named "testcat" and then a ...
0
votes
1answer
12 views

Write mysql credentials in plugin

I've to create a custom plugin to print data from a database different from the wordpress one. I'm using wpdb. Is it fine, from a security point, to write database credantials in the plugin files in ...
0
votes
1answer
7 views

How to create plugin list groups?

How do I create more of these? so that i can create proper plugins categories in the network plugin dashboard of wordpress.
0
votes
0answers
5 views

Woocommerce - get custom field value in cart

I created field 'bali_latitude' with advanced custom fields, it is displayed in products. I want to get this field's value to cart to be able to retrieve it on the map in my cart. I used this code: ...
0
votes
0answers
4 views

Backwpup. I cannot send email to backup [on hold]

Using this plugin to backup. I can backup on server. I can send a test mail and receive it. But when I do backup, it cannot work. How to do?
0
votes
0answers
8 views

Is it still only possible to do multisite domain mapping with a plugin in WordPress 4.1?

If I have a multisite subdomain install e.g. mysite.co.uk and I want to map another domain e.g. mysite2.co.uk to a new site in the same multisite install, is this only possible using a plugin or ...
0
votes
0answers
9 views

Send Custom Post Notification to Followers

I am trying to modify the function below (which works great for me ) to notify author followers that the author has published a new post, but I seem to be going round in circles. function ...
0
votes
1answer
12 views

Merge custom plugins in one folder

I've made some plugins to print some text with php from the database. I use them in pages via shortcodes. If I put all the code in only one folder, so just one plugin, only one shortcode works,the one ...
-1
votes
0answers
6 views

How to display image with rilwis/meta-box plugin

How can i display uploaded image in front-end using this http://metabox.io/docs/ plugin. I've activated it, and configure it in my custom post but i can't display it in front-end.
0
votes
2answers
34 views

How to get all possible arguments for a wordpress function

I'm trying to get all arguments for function get_the_author_meta() or the_author_meta() because I have custom profile fields such as "parent name" and so, not only the normal arguments which is in ...
-1
votes
1answer
8 views

How to hide sidebar widgets in all pages except Hompage?

im using a sidebar widget in homepage for an extra gallery. sadly it appears in every pages ._. thanks in advance
1
vote
0answers
13 views

Run oembed separately outside the_content()

I have this structure for my content.php : <div class="featured"> <!--featured image here--> </div> <h1 class="entry-title">Post Title</h1> <div ...
0
votes
0answers
6 views

Why are no posts showing despite my apparently correct DB restoration?

I restored a backup to MySQL using the phpMyAdmin Import feature. When I browse the DB in phpMyAdmin, I see that my posts are there. But in Wordpress, I only see the default out-of-the-box welcome ...
1
vote
1answer
11 views

wordpress multisite, https for whole site or just admin?

I have a wp multiste with a subdomain structure and a wildcard SSL cert. My multiste has enabled registration for anyone t create a site. I know how to do both: 1. just the admin to have have https ...
-1
votes
1answer
9 views

which theme is being used and set the column width

There are three themes in my wordpress :tweentythirteen,tweentyfourteen,tweentyfifteen.I want to know which theme my wordpress is ?How can i know it? How to set the column width to be 80 characters ?
0
votes
2answers
23 views

How best to create a variation of an archive template work?

I'm still quite new to Wordpress - after a pointer or two. I've created a archive page for a custom post type of 'property'. This is set-up, working from an admin point of view, and I have a ...
0
votes
0answers
7 views

Add text editor to custom widget

I am aware of a few plugins that simply add a rich text widget, but I want to make a widget that will wrap the whole input in a class to be used in the page editor plugin. I just want to add a ...
0
votes
2answers
33 views

How can I create a page with a specific URL?

I would like to have a few pages which can be reached by anyone who knows the URL, but which are not listed on the WordPress menu. I would like those pages to have a name rather than a number, but I ...
0
votes
2answers
19 views

Add extra fields to register form woocommerce

I've followed the following link which allows data to be saved via a field name i.e. billing_city, billing_phone which is great and helps me a little. Although their is a requirement to add extra ...

15 30 50 per page