0
votes
0answers
3 views

Scroll down with opacity: script and css [on hold]

I'd like make a effect when I scroll down the page. This is the coding I'm using: <body> <div class="header-x"></div> <header id="header"> <div id="logo"> <a ...
0
votes
0answers
4 views

Is it possible to have a custom post type with feed but without the archive?

In Wordpress 3.9.2 I couldn't find the way to have a custom post type which would have the feed permalink like this: example.com/custom-post-type/feed/ But didn't show the archive (show 404) ...
0
votes
0answers
4 views

Custom CSS Class Not Being Applied

I have some custom CSS being applied to a list of posts. The site is here If you are to check the css classes of the posts, you'll see that the last two css classes are .floats and .colThree. ...
0
votes
0answers
3 views

I restricted wordpress by logged users. It's possible exclude only one landing page?

Here is my code for restrict my wordpress site: function login_redirect( $redirect_to, $request, $user ){ if(isset($_REQUEST['redirect_to'])){ return $_REQUEST['redirect_to']; } return ...
0
votes
3answers
20 views

Add widget logic for multiple conditions using page names

is_page( array ( 'About us', 'blog', 'contact,'Services') ) ; When I add the above code in widget login text area, it shows the below error: Parse error: syntax error, unexpected 'Services' ...
0
votes
0answers
5 views

Filter RSS feed for custom post type to events for next 7 days only

I'm trying to create a custom RSS feed that shows posts from the custom post type 'events' for the next 7 days ahead only. The feed is already sorted by event start date order rather than published ...
0
votes
0answers
6 views

How to sort post by custom table value

How can I sort my post by the maximum vote in custom table I have table like this:( user_votes) here post id 315 have votted two times so I just want to sort my posts by maximum vote. I am only ...
-1
votes
0answers
7 views

Get Email-id of the current customer after On Order Complete in WooCommerce [on hold]

I need to send a custom email to the customer when the order is completed. How can I do that inside the functions.php and I want to send email to the customer email id they have mentioned in the ...
0
votes
0answers
3 views

Add custom field to post with some part of url as value

I wish to move my site from some other CMS to WP. There is no any usefull migration, export option in my current CMS so I will need to create posts again manually. I will to transfer important fields ...
0
votes
0answers
9 views

Cherry Framework Categorys not working on custom post type

I am using the Cherry Framework. In a child theme i have added a new custom post type and set it to use the built in category and post-tag taxonomies. I have added this to my theme.ini in my child ...
0
votes
0answers
8 views

Create Nested Categories On Import

WP all import trying to import data with multiple nested categories and paths. <id> A|A Sub|A Sub Sub|A Sub Sub Sub A|A Sub|AB Sub Sub|AB Sub Sub Sub A|A Sub|AC Sub Sub|AC Sub Sub Sub ...
0
votes
0answers
13 views

Working widget does not show up in appearance->widgets

I try to add a custom widget for use outside of a normal sidebar. For that I have created class myfirst which extends WP_Widget and with appropriate function overrides. namespace widget; class ...
1
vote
1answer
9 views

I can't preview post's change once they are published

The preview function works fine when posts are just draft. The url looks like this : http://exemple.domain.com/blog/?p=12&preview=true Then when I pubish my posts, let's say I want to change ...
0
votes
0answers
9 views

show the post of all child category in different single page

i have parent category ('photogallery') that have 5 child category like latest,sports,business etc i wanted to show the post of that child category in another single php file that should be by the ...
1
vote
1answer
18 views

Rewriting WordPress core functionallity: Changing the private posts

I'm trying to rewrite a bit of core WordPress functionality. I'm using WordPress 3.9.2 and I consider myself an intermediate in WordPress programming. This is an image that will explain what I am ...
0
votes
0answers
9 views

how to dynamically access file upload fileds

in my custom plugin i wrote a php file for displaying a table in front end. and the datas used to display in that are taken from db and i added a input file upload field also but the file uploading is ...
1
vote
0answers
8 views

Display 1 Post per taxonomy with polylang

I am trying to make a loop where I display all my taxonomies with the first post of every taxonomy. It's the taxonomy "customers" and I want to display every first portfolio-CPT of the customer. I ...
0
votes
0answers
13 views

Deactivate WPML plugin results with no content

When i try to deactivate WPML plugin, all the content of my website is gone. I have two languages, Macedonian and Albanian on my site and I just want Macedonian language, without the WPML plugin.
0
votes
1answer
14 views

Change Wordpress URL in sql file via Terminal

I've got a 40mb database file that I've exported from an old host and need to import it into a new host on a new domain. I normally open up the database in my code editor and find-replace, but as this ...
-1
votes
0answers
18 views

Jquery colorbox doesn't have navigation arrows for custom post type

I have custom post type events . For each post i have an embedded gallery with all images being linked to media file.I am using the following code to get the gallery and display all the images for a ...
0
votes
1answer
14 views

Add custom objects/entities to Wordpress

(I have some experience creating Wordpress themes but no experience in extending Wordpress functionality. I'm sure this must be a very common question, but I don't know how to search for the answer. ...
0
votes
0answers
8 views

Visual form builder: how to add a default value from url?

I have created a form using visual form builder plugin. I want to set a default value for a field from url. I wrote the following code for this. add_filter( 'vfb_field_default', ...
0
votes
0answers
10 views

Wordpress plugin install error

When I install qtranslate I get following error: Notice: Undefined index: language in /var/www/lawyer/wp-content/plugins/qtranslate/qtranslate_hooks.php on line 51 Notice: Undefined index: in ...
0
votes
0answers
15 views

Single Page Wordpress Theme - Using page templates

Well I am lost, its late and I have been searching google all night. Heres the problem I am running into. I am trying to create a singe page website using wordpress "pages". How I have initially setup ...
0
votes
0answers
8 views

Notice: Undefined index: translations in …/update.php on line 302

I am getting these error when I move from localhost server to shared server. Any idea on how I can fix this problem? Warning: Invalid argument supplied for foreach() in ...
0
votes
0answers
13 views

Meta-Box to add multiple items one at a time and on publish save all

My example custom content type is for recipes. There will be a meta-box for ingredients. In this meta-box there will be three attributes and a "add" button. Name Measurements Notes Add Button My ...
-1
votes
0answers
19 views

How to obtain state as per change country in selectbox using ajax on same page?

I have a problem. I can get state from database but am able to get state on changing country. Any suggestions to resolve this problem? ***ajax code:*** <script type="text/javascript"> ...
-1
votes
0answers
17 views

How to get variation using term id in [Woocommerce ] [on hold]

i am working in woo-commerce. i need to get variation details with variation sale price which should be displayed in all product listing page.. in the below template they get the variation for the ...
0
votes
0answers
12 views

Redirection loop error after login from a custom post type post

I have created a custom post type called portfolio so such posts have an url like this: mydomain.com/portfolio/post-name/ This is fine so far, however i just found I am having a problem with my ...
0
votes
1answer
31 views

Make a vertical dynamic list of posts in alphabetically order and in columns

I have a page that lists all the posts from a given category of an custom post type dynamically. I do this with a plugin that list posts and a shortcod and with css i created 9 columns where they are ...
1
vote
0answers
16 views

How to add a “data-” attribute to the image tag of native gallery output

While trying to make WordPress and Galleria to become friends I already have a good result. Galleria can easily be used to display native WordPress Galleries. I'm using a plugin but that's not ...
1
vote
0answers
30 views

Multiple Loops Meta Data

I am now trying to figure out how to create the functions/ loops to pull my data from custom post types. I have two post types(keys): And I need to pull the data from both to run my functions. ...
-1
votes
0answers
14 views

Woocommerce 2nd terms&condition page [on hold]

I need to use a second page like terms&conditions page on the payment page. It is a 2 step configuration, first we will add 2nd terms page to payment page 2nd the added page will have dynamic ...
0
votes
0answers
11 views

Gravity Forms - pre_send_email filter doesn't have all available fields [on hold]

I am using Gravity Forms' pre_send_email filter, which lets you cancel the e-mail that's sent out and or change other settings. See filter: ...
1
vote
0answers
20 views

How can i realize a semi-private research diary blog

We are a group of researchers who would like to each use a blog as our research diary. Regularly we would write down in a post what we have been doing, intermediate results, to do's, challenges ahead, ...
1
vote
0answers
9 views

Lost password empty field error redirect to custom login

I'm having trouble with a custom login/lost password form on a site I'm building. The site is completely password protected. I have a custom login page and I'm using 'wp_login_failed' and ...
-1
votes
0answers
7 views

Adding content to sidebars? [on hold]

I have deleted the sidebar from my posts page and only left it on the main page, however I want to use that space in my posts to either stretch the content or add something else. Here is the link to ...
3
votes
1answer
20 views

Query Custom Meta Value with Increment

I have a Query searching for a meta value I have added to my posts (meta-select). I have it feeding out in a loop with 4 results. Let's say I want this loop to start with the meta value "2" and work ...
0
votes
0answers
7 views

Is it safe to manually delete entries from signups table?

In WordPress MS, is it a good practise to manually delete entries from the signups tables for users that are already activated? The activation keys shouldn't be needed anymore. Thanks.
0
votes
0answers
8 views

Member only downloads with simple uploader [on hold]

We have a site that uses the https://premium.wpmudev.org/project/membership/ plugin & have a subscription system setup where we would like our subscribed members to be able to download a list of ...
0
votes
0answers
10 views

Reference parent page ID and children from child page

So here's what I'm trying to do: I'm trying to develop a theme that shows any sub-pages on the parent page. I've gotten this running successfully with a WP_query and a simple loop: <!--show sub ...
1
vote
2answers
15 views

How to add custom classes to more than one separate menu's a link in wordpress?

Here is a link to my website: website I have placed the following code to this document in /wp-includes/nav-menu-template.php Towards the end of the code are several lines that start with ...
0
votes
1answer
16 views

How to configure folders with 'Child Theme'?

I created a 'Child Theme' for customize my Template but I don't know how to subscribe some files that found in folders of the theme. I tried to do like this: Original files: theme/css/file.css I ...
1
vote
1answer
21 views

Adding an email column to a Custom Post Types Admin Screen?

I am trying to add a column to my Custom Post Type Admin Screen that will show the author's email address. Any advice for novice coders (such as myself) that describe how to accomplish this? I've come ...
0
votes
0answers
17 views

How can I embed a .php file inside of a widget?

I have a currency exchange that I'm trying to put in the sidebar of my Wordpress site. The currency exchange is a simple php file that I'm trying to 'embed' as a widget. I created a simple plugin, ...
1
vote
0answers
16 views

Should I use spl_autoload_register() in my plugin?

When I use spl_autoload_register in my plugin, I get: Fatal error: Uncaught exception 'LogicException' with message 'Class wp_atom_server could not be loaded' ...
1
vote
0answers
19 views

How to remove pingback from head?

I know this question has been asked and answered 1000 times. However, I've never truly found a solution that removes pingback link tag from "wp_head". While there are several ways to block ...
2
votes
1answer
15 views

Stylesheet from wp_enqueue_style is overwritten by plugin

I am using Font Awesome on my theme. wp_enqueue_style('fontawesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css'); I am using another plugin that uses Font Awesome, but ...
0
votes
0answers
15 views

Page appearing two times in the frontpage? How do I completely remove that page from the frontpage?

I have this Wordpress website I'm working on as third party. I have to give this Wordpress its final touch. There is a Page named Impressum and it's appearing two times in the frontpage, I need to ...
0
votes
0answers
14 views

How to add slides or images to metaboxes for custom post types?

I would like to add a meta box to the bottom of my custom post that allows me to attach multiple image slides. I don't want to use a plugin and I'm kind of lost as to where to start this task. A ...

15 30 50 per page