Forum Replies Created
-
AuthorPosts
-
anyone?
anyone with more suggestions? I am sure there’s a way to customize single post page template.
actually, I’m not displaying a sidebar on my blog overview page. It’s actually done using layout builder with 2/3 and 1/3 proportion. 1/3 is given to the right side to give a sidebar appearance. It actually is not a “sidebar” as defined by theme. Also The blog overview page retains all elements of other pages (background image file, pseudo-sidebar, with addition of the blog category at the bottom.) I’d like to keep this as a template for single post page as well.
any suggestions would be greatly appreciated
This reply has been marked as private.April 13, 2015 at 1:40 am in reply to: display the choices of blog categories on the blog page #427233This reply has been marked as private.April 13, 2015 at 1:25 am in reply to: display the choices of blog categories on the blog page #427232Please respond here,
https://kriesi.at/support/topic/single-post-page-template-customization/
anyone?
try this, didn’t work
_______________________________________________________________________
<?php
global $avia_config;/*
* get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
*/
get_header();echo avia_title(array(‘title’ => __(‘Error 404 – page not found’, ‘avia_framework’)));
?>
<div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘main’ ); ?>’>
<?php
do_action(‘avia_404_extra’); // allows user to hook into 404 page fr extra functionallity. eg: send mail that page is missing, output additional information
?><div class=’container’>
HTTP Error 404 – File or Directory not found” error message
</div>
<!–end content–>
</main><?php
//get the sidebar
$avia_config[‘currently_viewing’] = ‘page’;
get_sidebar();?>
</div><!–end container–>
</div><!– close default .container_wrap element –>
<?php get_footer(); ?>
So where do I edit to replace the content in the file with this,
“HTTP Error 404 – File or Directory not found” error message”
<?php
global $avia_config;/*
* get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
*/
get_header();echo avia_title(array(‘title’ => __(‘Error 404 – page not found’, ‘avia_framework’)));
?>
<div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘main’ ); ?>’>
<?php
do_action(‘avia_404_extra’); // allows user to hook into 404 page fr extra functionallity. eg: send mail that page is missing, output additional information
?><div class=’container’>
<main class=’template-page content <?php avia_layout_class( ‘content’ ); ?> units’ <?php avia_markup_helper(array(‘context’ => ‘content’));?>>
<div class=”entry entry-content-wrapper clearfix” id=’search-fail’>
<?phpget_template_part(‘includes/error404’);
?>
</div><!–end content–>
</main><?php
//get the sidebar
$avia_config[‘currently_viewing’] = ‘page’;
get_sidebar();?>
</div><!–end container–>
</div><!– close default .container_wrap element –>
<?php get_footer(); ?>
where do I find the 404.php file?
and if I simply want to show a page stating,
“HTTP Error 404 – File or Directory not found” error message”
How do I modify 404.php file?
interesting, can’t find this page anywhere
- This reply was modified 10 years ago by kailibuy.
problem solved. I think
December 5, 2014 at 11:43 pm in reply to: hotspots point to the different paragraph of the same page #363917thanks, got it working
December 5, 2014 at 10:44 pm in reply to: hotspots point to the different paragraph of the same page #363888well, can someone be more specific on how to do this? I understand one can use anchors to achieve this goal, but how?
thanks for the reply. yes, I did manage to get it to work the way I intended with compromise. I used 1×1 table for each list under the heading “Neck Pain”, for example. I even used some css codes to get the table to have transparent background and border and allow me to have 50% equal split on the table. On the other hand, it’s cumbersome and hard to use the table to achieve this simple objective.
If I’d like to replace the 2nd column list under Neck Pain, for example, with a picture, I wouldn’t be able to do it. I wish there’s more flexibility in the layout, for example, allow me to put a 1/2 box inside a 2/3 boxes.
thank you. they both work.
just wondering about the transparent background, by pasting the code to custom css, does it force all tables on site to be transparent or just on the particular page?
I see you have a reference in the code for the 50% split to the particular page, how about the transparency of the background?
This reply has been marked as private.yeah, I’ve been using this method. But once you do this, you lose some flexibility in designing page layout. for example, 2/5 is given to whatever you’d put in the sidebar, 3/5 allocated to the main content. but what if I’d like to have two columns for the main content? tried to put two 1/2-boxes in 3/5 section, it wouldn’t allow me.
looks like the problem occurs on firefox browser. when the browser screen is narrowed down, it will show a non-responsive logo.
theme files, you are referring to, header.php, footer.php, layout.css, etc?
yes, my web designer has modified these files.
so every time i do an update, they will be overwritten?
but i have to redo the customization again.
Yes, it looks like it’s the culprit. So should we disable the wp auto update to avoid unexpected problems like this?
And how do we turn off wp auto update?
also noticed google map in the form of widget put into footer would be displayed fine.
do you mean in the enfold > general styling area?
thank you. it seems to work with safari
how’bout in safari?
The logo is supposed to be centered, and looks fine on firefox and chrome, but it’s pushed to the left on IE 8 and safari.
Can someone help? Seems to be incompatible with Safari especially. But the site says it is compatible with safari.
tried it. it didn’t make any difference on ie 10.
to summarize, the problems I noticed on ie 10 are as follow
1. logo/favicon looks fuzzy on ie 10
2. the logo/partner element looks fine on chrome/firefox (using shop thumbnail setting 120×120), but looks completely “blown up” on IE 10. -
AuthorPosts