custom-wordpress-pages Questions
6
Solved
I recently imported content from my WordPress page into Hugo. When I run hugo serve I get following error messages:
WARN 2020/02/17 20:51:06 found no layout file for "HTML" for "page": You should ...
Hower asked 17/2, 2020 at 20:6
14
Solved
How do I add my own static HTML pages to WordPress?
For example, let's say I have a page, products.html, how would I add it to WordPress (any menu, etc.) and once added, how do I visit them, becau...
Jena asked 2/3, 2010 at 13:39
2
Solved
EDIT: This is the current code that I'm trying to paginate. It creates a custom query that excludes the latest post, as well as all posts from one category. Pagination works fine for the most part,...
Reich asked 12/3, 2018 at 2:52
2
I have created some shortcode elements. Now I want to customize the look of the elements in the backend editor.
From the description of the wiki of VC-Pagebuilder, I get out that I can use the "cu...
Thereat asked 23/9, 2015 at 17:14
2
Solved
I am trying to get metadata associated with the featured image but get_post_meta keeps returning empty.
$image_alt_text = get_post_meta($image_id, '_wp_attachment_image_alt', true);
This works an...
Condon asked 28/10, 2021 at 23:12
1
Solved
So I am having a twig/timber issue where I have a difficult time getting a placeimage set, here is what I have so far:
{% set defaultimg = site.theme.link ~ '/images/placeimage.png' %}
and then la...
Homoousian asked 18/10, 2021 at 19:34
5
I'm registering an event like:
wp_schedule_single_event( time(), 'do_custom_hook', array( $body ) );
Above that, I have added the following action:
add_action('do_custom_hook', 'process_custom_...
Occlude asked 24/2, 2020 at 10:51
2
Solved
1° I need to implement the permissions-policy header in the .htacces file
2° I spent a whole day looking for the header on the internet, but yet, i found only explanations that i did not understand...
Holloway asked 11/2, 2021 at 12:45
3
Solved
Good day! The problem is this: in the template category(the archive) the pagination is not working, when you click on page 2 of the 404 error.
Please help do not understand how to solve it, alread...
Pouched asked 12/2, 2017 at 15:12
3
Solved
I'm using Events Calendar Pro plugin (https://theeventscalendar.com/product/wordpress-events-calendar-pro/) and I need to get all categories for each event.
I tried single_cat_title() and get_the_...
Bunco asked 19/4, 2017 at 3:39
2
Solved
I am currently building my very first WordPress template (using Bootstrap 4) and I need to integrate breadcrumbs to my page.
I can see that the theme we're currently using offers breadcrumbs as wel...
Jingo asked 10/8, 2020 at 11:18
2
Solved
In Godaddy wordpress site not showing inner pages, It show only home page and wordpress admin page. While click save changes in "Permalink Settings" it show "You should update your web.config now."...
Nought asked 29/6, 2018 at 4:8
3
Solved
In the backend of Wordpress I use the default http://localhost/sitename/example-post/ value for creating permalinks.
For custom post types I defined a custom slug this way, here is services for ex...
Woothen asked 20/9, 2018 at 14:51
19
Solved
What PHP code can be used to retrieve the current page name in a WordPress theme?
All the solutions I have seen so far:
the_title()
get_page()->post_name
get_post()
etc.
But these don't work f...
Adulteress asked 29/1, 2011 at 12:58
2
Solved
I am trying to make the ShiftNav menu plugin to apply Lock Scroll - aka lock_body in source code - on a new theme, which should make the-shifted-to-the right-by-the-opened-menu-content locked on y-...
Microphyte asked 3/8, 2018 at 18:27
1
I have a form in my plugin similar to this:
<!-- Client form -->
<form>
<?php wp_nonce_field('my_form','_my_token'); ?>
<!-- Additional form fields -->
</form>
it...
Commotion asked 16/3, 2016 at 10:56
1
Solved
<?php
if (isset($_POST['sbt'])) {
//user posted variables
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'];
//php mailer variables
$to = get_...
Afoul asked 6/10, 2016 at 7:43
2
Solved
I've a problem is that I've to host wordpress database from other server and directory from another server where my domain links, so is it possible to connect wordpress directory from other databas...
Fugacity asked 19/9, 2016 at 9:37
1
I'm trying to edit my custom Wordpress theme, but whenever I specify the path to the localhost server, Brackets returns
'To launch preview with a server-side file, you need to specify a Base URL ...
Peripeteia asked 13/6, 2016 at 13:22
4
Solved
I have a wordpress site that connects to a soap server. The problem is every time I run the script the wp_insert_post is using the same result again.
I would like to check if existing post_title ma...
Berget asked 4/10, 2011 at 18:19
6
How can I to create a custom page in Wordpress 3.0. Give me any link of tutorial.
Fringe asked 2/3, 2012 at 10:18
1
Solved
I need to add a basic form page in the website, that runs on WordPress framework.
I have the following raw materials ready:
Client side: html form layout,css and jquery validation code.
Server si...
Daphene asked 13/5, 2010 at 6:58
1
© 2022 - 2025 — McMap. All rights reserved.