0
votes
1answer
401 views

Magnific Popup - Add Caption to Images

My theme uses Magnific Popup as follows in theme.js /* add lightbox for blog galleries */ $(".gallery a[href$='.jpg'],.gallery a[href$='.jpeg'],.featured-item a[href$='.jpeg'],.featured-item ...
0
votes
1answer
116 views

Organizing The Custom Post Type with Taxonomies / Parent Posts

I am trying to make a custom post type called 'Songs'. It will have only two fields being 'Title' & 'Audio File'. I would also be creating a tag taxonomy field called 'Genres' so that admin can ...
0
votes
1answer
69 views

Get current user outside of Wordpress Multisite

How to get current logged in user in Wordpress Multisite outside of it? I tried the method for Wordpress Singlesite and it give the error Call to a member function set_prefix() on a non-object on ...
0
votes
1answer
215 views

Implement Autocomplete for a custom field on Wordpress Plugin Frontend

I've setup my plugin to be used on the frontend using a shortcode. I have managed to use an autocomplete form on a previous website I programmed from scratch (not WP based) but I don't understand how ...
0
votes
1answer
143 views

You have an error in your SQL syntax - Help with query

I have a programmer that developed a custom plug in for a client's website and after moving the site to client's server, some parts are not working. Looking at the error log, there is an issue with ...
0
votes
1answer
101 views

How to load a mycred hook from a plugin?

I've created a hook for mycred following this tutorial. I added the code to the function.php, and I am now wondering how to call it from my plugin? I have no clue, and the tutorials that I've ...
0
votes
1answer
71 views

Order by three custom fields (Y-m-d), then separate into yearly sections

For a project of mine I have set up three custom fields (Year, month, day) attached to posts in order to determine the original date of a post’s content (not the post publish date, which is used for ...
0
votes
1answer
94 views

error in wp_title on year archive - undefined index 00

In the year archive page in the title tag i get Notice: Undefined index: 00 in wp-includes\locale.php on line 271 In the header.php i use: <title><?php wp_title('|', true, 'right'); ...
0
votes
1answer
58 views

How can redirect login and register page

I have a wordpress site. Which has the built-in login form with the url http://domain.com/wp-login.php and register page http://domain.com/wp-login.php?action=register I want to display these forms ...
0
votes
1answer
13 views

show wordpress data without headers

I need to use list of posts from wordpress in my project to generate XML. I have my own php script. In this script i use require_once ('wp-blog-header.php'); and i am retrieving list of posts ...
0
votes
1answer
73 views

Input with pattern not working

On the admin widgets.php page I am trying to setup a pattern on an input to only allow digits. If I enter an invalid character like a non-digit it still accepts it and when I save the Widget with an ...
0
votes
1answer
29 views

Detect each active instance of a widget

Is it possible to detect each active instance of a particular widget? As part of a plugin I'm working on, I want to run a for each loop on each widget instance Each widget is a Twitter feed and the ...
0
votes
1answer
149 views

Getting List of child terms from custom taxonomy parent

I am attempting to create section of my website footer that has link li of terms from a parent for a custom taxonomy I created. function add_custom_taxonomies() { // Add new "producttype" taxonomy ...
0
votes
1answer
88 views

Plugin Development Form Self Submission

I am a new to Wordpress and I am trying to develop a plugin. All the plugin needs to do is provide an html form for a back end user to fill out then submit. Once the user hits submit on the form, I ...
0
votes
1answer
37 views

Plugin to show pagemap beneath certain page and next/previous page beneath certain page?

I'm publishing a course online. The course is written on pages and I need some kind of navigation for the course. For navigation I want: Previous/next page links A page index I figure that all ...
0
votes
1answer
50 views

WordPress HTML Helper

I've played recently with WordPress Hooks and I've noticed that in order to create layouts based on the hooks the main practice is to use html in functions and combine them with logic. I've searched ...
0
votes
1answer
92 views

WordPress - List Sub Categories and Sub-Sub Categories, With Posts

I have the following code. It allows me to show sub categories and documents within them. The thing is, a sub category may contain further sub categories. The code below will show documents belonging ...
0
votes
1answer
42 views

Modify sub_menu function to show pages below a specifically set page

I've got a function that ties in to wp_nav_menu that shows sibling pages for the currently viewed page, as well as any children pages. I need this modified to only show the children pages of a ...
0
votes
1answer
18 views

Figure inlined width trigger distorted layout

I recently changed my theme to completely new one (fresh), and all my post images suddenly started to break my layout. When I inspect code all images and loaded content that are wrapped in 'figure' ...
0
votes
1answer
39 views

How to Block Wordpress from subdomain?

I have a website with wordpress installed http://www.website.com Wordpress is installed in my root I also have multiple sub-domains/sub folders in my root , How do i block wordpress from these ...
0
votes
1answer
634 views

Long wait times in first part of call to Wordpress on Azure

I've had a blog on Azure for quite a while, and despite optimisation attempts, it's still pretty slow. The initial TTFB seems to be a significant time sink. Azure setup It's quite a small blog and ...
0
votes
1answer
24 views

Author page from blog post

I am looking to build a custom WordPress blog which is simple enough but I have a requirement I need to meet. On each blog post on the index.php page I want to display the authors name and image. ...
0
votes
1answer
131 views

How to remove 'View Details' page & updates from third-party plugin?

I'm making a site for a friend and decided to use a plug-in I found in the wordpress repository, since I am new to wordpress. However, I ended up changing a significant amount of the code to make it ...
0
votes
1answer
58 views

Custom Info Box at end of posts?

I'm pretty new to WordPress so there are some parts of it I have difficulty working with. I run a small scale gaming niche website which focuses on just a small group of video games, and what I'm ...
0
votes
1answer
46 views

Wordpress Short code for List style

Hi I am using following short code to generate a list [ul style="5"] [li]Surgical Internship: Yale University – New Haven, Connecticut, 2001 [/li] [li]Orthopaedic Residency: Yale University – New ...
0
votes
1answer
32 views

User rank in wordpress post

I saw awhile ago on a support Forum that you can show a authors rank on a post in wordpress but I can't seem to find the post again but instead of words I want it to show an image if anyone could ...
0
votes
1answer
40 views

Scale An Image Thumbnail

I am having issues getting some logos to display on my page. The page shows the search results for a series of companies, with each result shown in a small box. I need the logo to scale correctly to ...
0
votes
1answer
20 views

Randomize access to post

I want to have have my users gain access to certain posts randomly when they register and then once a week randomly give them access to another post that they didn't previously have access to. The ...
0
votes
1answer
96 views

Why doesn't global $wp_query not get hooked?

I have a plugin that helps me to make lazy loading on posts of a custom post type. The idea is to add an action to the template_redirect/init and get data from the global $wp_query to make jquery ...
0
votes
1answer
26 views

Run Wordpress Plugin in the Specified time

I write the wordpress plugin . That Contains curl code... When I open wordpress site Ex(http://localhost/wordpress or http://localhost/wordpress/wp-admin ,...) this plugin running. But I Want Run ...
0
votes
1answer
187 views

Is there a good way to load tiny_mce_popup.js through editor.windowManager.open?

I need to load tiny_mce_popup.js in my page video.php. The page video.php is a popup. {text:'Video', onclick: function() { editor.windowManager.open({ title: 'TinyMCE', ...
0
votes
1answer
48 views

Black admin bar is being hidden by page elements

I all of a sudden noticed while building a new WordPress theme that the black admin bar is being hidden by the header element when you scroll down and I can't fix it. I basically have a full width ...
0
votes
1answer
18 views

How to show my application as referral in Wordpress Stats

I have a desktop application that links to my wordpress website. Whenever a user clicks on the link in the application it opens my website in browser. However how can I track how many people are ...
0
votes
1answer
84 views

Upload images using FTP and show them in media

Hello, This weekend one of my websites was hacked and all photos was removed (the folder uploads). That means the images in my site doesn't work. :( I had a backup of that folder and I have recovered ...
0
votes
1answer
42 views

add_action does not call the function

I want to add a custom field in the menu, therefore I am trying to use wp_nav_menu_item_custom_fields. I am using following code but it does not even call the function. I am adding it in a plugin, why ...
0
votes
1answer
132 views

search in jquery mobile returns blank page

Regular prelude: new to jquery mobile, sorry for the long pieces of code. Trying to build a mobile version of my theme. started easy by placing a header content and panel and search form. when ...
0
votes
1answer
249 views

page.php showing loop of posts and not page content

My front page displays the latest posts using index.php. My page.php contains the wp_header up top, the wp_footer below, and this in between: while (have_posts()) : the_post(); ...
0
votes
1answer
55 views

Query Set Order By Author

I am attempting to orderby the author_name when you click on the Author arrow on a list of tickets. When you click the arrow, the names are ordering by something I cannot identify. I want them to ...
0
votes
1answer
60 views

Two blogs one page

The idea is basically to create a blog, and have status updates/quotes beside the blog in a separate column. How does one go about making that happen? EDIT: The goal is not to create two separate ...
0
votes
1answer
475 views

Twenty Fifteen : Wider right column for the content

I'm using the theme Twenty Fifteen on my offline site. I want to make a wider column for the content (the right column highlighted in blue here). I don't want to have a smaller sidebar. I tried to ...
0
votes
1answer
20 views

What's the most secure way to grant a user permission to update in a multisite?

I've created a multisite for a local charitable organization that contains five sub-clinics inside it. I have various plugins running (security, SEO, etc.) in the multisite activated "across the ...
0
votes
1answer
27 views

Integrating a hosted app with wordpress using the API

Say I have a hosted application that I want to tightly integrate with Wordpress to do the following: An admin logs into WP, then clicks on a link and redirects to my website. How can I have this ...
0
votes
1answer
32 views

Update nav menu not selecting parent

I am building a nav menu programmatically like so: $menu_exists = wp_get_nav_menu_object( 'test_menu' ); if( !$menu_exists){ $menu_id = wp_create_nav_menu('test_menu'); ...
0
votes
1answer
277 views

Why is my script not working?

I know PHP, HTML, CSS and JavaScript but I'm kind of new when it comes to wordpress and digging in the source code. How ever I have made a very simple JavaScript Script. There is 1 .js file with alot ...
0
votes
1answer
86 views

Loop with Custom Post Type and Taxonomies

Regards, i've a problem. What i want: Show a toggle with loop from Custom Post Type I create post type: Episodio And a Taxonomy: Temporada I create this loop: <?php $post_type = ...
0
votes
1answer
52 views

Displaying Content Only in Certain Page IDs Not Working

So I am using IDs inside the page array, and they worked fine for weeks. Now, for some reason ONE page with ID 383 still displays the form even though its ID is not mentioned in the code. <?php if ...
0
votes
1answer
43 views

How to remove specific categories from tag archives?

I need tag archives don't display specific categories. Thanks!
0
votes
1answer
76 views

$error = 404 after caught add_rewrite_rule

I have a rewrite rule as this to caught old urls from a previous version of the site: add_rewrite_rule( '(ninos|familia|hogar|mujeres|hombres)-[a-z-]+\.php', 'old_id_redirect.php', 'top' ); The ...
0
votes
1answer
164 views

Create a drop down list within an active page not nav menu

I am working for a client that has requested a drop down list for some categories within a page, i.e. click on the link and a list drops down to select the page you want to view. Everything I seem to ...
0
votes
1answer
18 views

Trouble posting in Sub-Category

On my Main Menu, I have made category called "Blog" and then under that a drop down tab listed "News". I am trying to add a News item in this subcategory, but for some reason keeps positing under ...

15 30 50 per page