Viewing 30 results - 14,341 through 14,370 (of 16,897 total)
  • Author
    Search Results
  • #435208

    Hi Elliot

    Many thanks for sending me the link and for your suggestions. I was unaware that is was a WP issue and so I am doubly grateful.

    For anybody else reading this post the final solution was to replace the 404.php file in theme (in my case the child theme).

    I used the following code:

    
    <!-- 404.php -->
    
    <!DOCTYPE html>
    <html>
    <head>
    <title>File Not Found</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" >
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style type="text/css">
    body {
      background-color: #eee;
    }
    
    body, h1, p {
      font-family: "Helvetica Neue", "Segoe UI", Segoe, Helvetica, Arial, "Lucida Grande", sans-serif;
      font-weight: normal;
      margin: 0;
      padding: 0;
      text-align: center;
    }
    
    .container {
      margin-left:  auto;
      margin-right:  auto;
      margin-top: 177px;
      max-width: 1170px;
      padding-right: 15px;
      padding-left: 15px;
    }
    
    .row:before, .row:after {
      display: table;
      content: " ";
    }
    
    .col-md-6 {
      width: 50%;
    }
    
    .col-md-push-3 {
      margin-left: 25%;
    }
    
    h1 {
      font-size: 48px;
      font-weight: 300;
      margin: 0 0 20px 0;
    }
    
    .lead {
      font-size: 21px;
      font-weight: 200;
      margin-bottom: 20px;
    }
    
    p {
      margin: 0 0 10px;
    }
    
    a {
      color: #3282e6;
      text-decoration: none;
    }
    </style>
    </head>
    
    <body>
    <div class="container text-center" id="error">
      <svg height="100" width="100">
        <polygon points="50,25 17,80 82,80" stroke-linejoin="round" style="fill:none;stroke:#ff8a00;stroke-width:8" />
        <text x="42" y="74" fill="#ff8a00" font-family="sans-serif" font-weight="900" font-size="42px">!</text>
      </svg>
     <div class="row">
        <div class="col-md-12">
          <div class="main-icon text-warning"><span class="uxicon uxicon-alert"></span></div>
            <h1>File not found (404 error)</h1>
        </div>
      </div>
      <div class="row">
        <div class="col-md-6 col-md-push-3">
          <p class="lead">If you think what you're looking for should be here, please contact the site owner.</p>
        </div>
      </div>
    </div>
    
    </body>
    </html>
    
    #435132
    This reply has been marked as private.
    #435128

    In reply to: Google Indexing Issues

    Hi there,

    I have issues with Google indexing pages from my FTP :

    Index of /wp-content/themes/alpachats/framework/images/layout. Icon Name Last modified Size Description. [DIR] Parent Directory – [IMG] FIND_API.jpg …
    of /wp-content/themes/alpachats/framework/images/icons
    alpachats.com/wp-content/themes/alpachats/…/icons/

    Index of /wp-content/themes/alpachats/framework/images/icons. Icon Name Last modified Size Description. [DIR] Parent Directory – [ ] .DS_Store 10-Mar-2015 …
    Index of /wp-content/themes/alpachats/framework/images …
    alpachats.com/wp-content/…/alpachats/…/colorpicker/

    Index of /wp-content/themes/alpachats/framework/images/colorpicker. Icon Name Last modified Size Description. [DIR] Parent Directory – [IMG] blank.gif …
    Index of /wp-content/themes/alpachats/framework/js
    alpachats.com/wp-content/themes/alpachats/…/js/

    Index of /wp-content/themes/alpachats/framework/js. Icon Name Last modified Size Description. [DIR] Parent Directory – [ ] .DS_Store 10-Mar-2015 16:07 6.0K [ ] …
    Index of /wp-content/themes/alpachats/framework/php …
    alpachats.com/wp-content/themes/alpachats/…/sc/

    Index of /wp-content/themes/alpachats/framework/php/avia_shortcodes/sc. Icon Name Last modified Size Description. [DIR] Parent Directory – [ ] big_box.js …

    How can I prevent search engines from indexing FTP foldres ? I have suppressed theses results via Google webmaster tolls but they are coming anew every weeks…

    Many thanks in advance for your help !

    #435123
    This reply has been marked as private.
    #435052

    Hi!

    Got some errors in the console:

    http://www.spaniafisioterapia.com/wp-includes/js/tinymce/wp-tinymce.php?c=1&ver=4107-20150118 Failed to load resource: the server responded with a status of 403 (Forbidden)

    Please contact your hosting provider. Tell them about the error then ask them if they can adjust the file and folder permissions properly.

    Regards,
    Ismael

    #435037

    Hey!

    Ok. I checked the code again here: https://kriesi.at/support/topic/the-magnific-popup-dont-work-with-buttons/#post-432781

    I noticed that it’s incorrect. Please replace it:

    add_theme_support('avia_template_builder_custom_css');
    
    add_action('wp_footer', 'inline_popup_enabler');
    function inline_popup_enabler(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
          $('.inline_popup').magnificPopup({
            type:'inline',
            midClick: true 
          });
        });
    })(jQuery);
    </script>
    <?php }
    
    add_action('wp_footer', 'ava_custom_script');
    function ava_custom_script(){
    ?>
    <script>
    (function($){
        $('.inline_popup a').addClass('inline_popup');
    })(jQuery);
    </script>
    <?php
    }

    Make sure to add it below this line:

    <?php
    

    If it doesn’t work, please post the login details here. We would like to check it.

    Regards,
    Ismael

    #434962

    Hey!

    Hmm.. Yeah. Looks like it’s not working in a child theme but editing the code directly in the functions.php works fine. This should do the trick in the child theme:

    function ava_image_sizes() { 
    add_image_size('portfolio_small', 261, 186, array('center', 'top'));
    }
    add_action( 'after_setup_theme', 'ava_image_sizes', 11 );

    Based on: http://wordpress.stackexchange.com/questions/74934/remove-or-update-add-image-size

    Don’t forget to regenerate the thumbnails. If you have the Simple Image Sizes plugin installed, please deactivate it first.

    Best regards,
    Ismael

    #434932

    I’m getting a similar thing with a header warning at end.

    Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Displayed Everywhere” sidebar. Defaulting to “sidebar-1”. Manually set the id to “sidebar-1” to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /home/content/30/7792830/html/wp-includes/functions.php on line 3560

    Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Sidebar Blog” sidebar. Defaulting to “sidebar-2”. Manually set the id to “sidebar-2” to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /home/content/30/7792830/html/wp-includes/functions.php on line 3560

    Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Sidebar Pages” sidebar. Defaulting to “sidebar-3”. Manually set the id to “sidebar-3” to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /home/content/30/7792830/html/wp-includes/functions.php on line 3560

    Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Footer – column1” sidebar. Defaulting to “sidebar-4”. Manually set the id to “sidebar-4” to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /home/content/30/7792830/html/wp-includes/functions.php on line 3560

    Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Footer – column2” sidebar. Defaulting to “sidebar-5”. Manually set the id to “sidebar-5” to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /home/content/30/7792830/html/wp-includes/functions.php on line 3560

    Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Forum” sidebar. Defaulting to “sidebar-6”. Manually set the id to “sidebar-6” to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /home/content/30/7792830/html/wp-includes/functions.php on line 3560

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/30/7792830/html/wp-includes/functions.php:3560) in /home/content/30/7792830/html/wp-includes/pluggable.php on line 1196

    I can see my website but I can’t access my site, please advise.

    #434920

    Hi Ismael!

    I created an includes folder and added the helper-markup.php modified with the new code (replaced) to the child theme but now it gives me 3 errors… :(

    Shouldn’t the attribute be “article”?

    I modified it on a client’s site:

    That secant now reads like this:
    case ‘content’:
    $attributes[‘role’] = ‘main’;
    if (is_singular(‘post’))
    {
    unset($attributes[‘itemprop’]);
    }
    else
    {
    $attributes[‘itemprop’] = ‘mainContentOfPage’;
    }

    and here’s a page (it’s easier on this one as it’s to multisite and already updated to the latest version of wordpress)

    Here’s the page I tested:
    http://bodasyweddings.com/25-imagenes-de-pasteles-de-boda-originales-e-irresistibles/

    I also updated all of the version on my site (not my client’s) and did not modify the child theme so you can see the difference and I have the same errors:
    http://hispanic-marketing.com/17-pinterest-statistics-for-business-you-need-to-know/

    Quick question and just to make sure, I have to create the folder includes in the child theme, correct? (It is what I did on the bodasyweddings child theme)

    Thank you so much for your help!!!

    Warmly,

    Havi

    #434601

    I still could not install it. This is the page i received:

    500 – Internal Server Error
    This is a temporary server error.
    Please try to reload the webpage later.
    If you are the webmaster of this site please log in to Cpanel and check the Error Logs. You will find the exact reason for this error there.

    Common reasons for this error are:

    Incorrect file/directory permissions: Above 755.
    In order files to be processed by the webserver, their permissions have to be equal or below 755. You can update file permissions with a FTP client or through cPanel’s File Manager.

    Incorrect Apache directives inside .htaccess file.
    Make sure you have not specified unsupported directives inside the local .htaccess file. Such include PHP settings and Apache module settings.

    In the cPanel error log, i saw this::

    [Fri Apr 24 23:27:35 2015] [error] Execute of /home/almonici/public_html/wp-admin/admin-ajax.php stopped because of load 30.84
    [Fri Apr 24 23:25:35 2015] [error] Execute of /home/almonici/public_html/wp-admin/admin-ajax.php stopped because of load 29.83

    Please help.

    Thanks,

    #434581

    I’ve been playing with single-portfiolio.php and none of the changes are affecting the Single Portfolios. Just adding a test phrase like “hello” within the code does not show up on the site. Is it possible that single-portfolio.php is not controling the display of single portfolio items on the website?

    Modifying the single-portfolio.php in my child theme folder to look like this has no effect on what is displayed on the single portfolios.

    #434574

    In reply to: Portfolio entries

    Hi Bernd!

    It doesn’t work because you’re assigning the grid query to the global query ($wp_query), which in this case is the page being shown. What you need to do, is use the $query variable (provided by the plugin).

    However, as the $entries variable is protected inside the grid class you’d need to create a public function similar to use_global_query, specifically for this use, something like this (config-templatebuilder/avia-shortcodes/portfolio.php):

    public function use_search_and_filter_query($query)
    {
    	$this->entries = $query;
    }

    And then in 7033.php:

    <?php
    
        $grid = new avia_post_grid(array(   'linking'       => 'ajax',
                                            'columns'       => '3',
                                            'contents'      => 'excerpt',
                                            'sort'          => 'no',
                                            'paginate'      => 'yes',
                                            'set_breadcrumb' => false,
                                    ));
    
        $grid->use_search_and_filter_query($query);
        echo $grid->html();
     
        ?>

    I’ve done this modification right now and it seems to work, check it.

    Regards,
    Josue

    #434465

    Hey AdrianSmithUK!

    You can try deleting the 404.php template in the theme folder. I’m not sure how WordPress will handle that though. It may just load the index instead if there is no 404 template.

    I found this which may help, http://wordpress.stackexchange.com/questions/24587/how-do-i-skip-wordpresss-404-handling-and-redirect-all-404-errors-for-static-fi.

    Regards,
    Elliott

    • This reply was modified 11 years ago by Elliott.
    #434419

    Hey Jason!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_code(){
    if(is_page(array(5257,4913)))
    {
    ?>
    <script type="text/javascript" src="https://apsr.autoplay.co.nz/Content/js/loader.search.min.js"></script>
    <script type="text/javascript">
    // APSR configuration.
    config.ID = "166";
    config.Yard = "217";
    config.Options = "&makesort=52";
    config.Profile = "used";
    config.DetailUrl = "detail";
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'add_custom_code');

    Best regards,
    Yigit

    #434044
    lmf
    Participant

    Hello again,

    I am rather a detail-oriented person and during the translation of whole page into Polish I have found something which doesn’t make me happy :)
    The problem concerns Polish language (maybe some other Slavic languages as well) and our different plural forms of the noun.
    In English it’s simple:
    1 comment, review,
    0 and 2-∞ comments, reviews.

    But Polish language does not coddle us too much, so we have different word endings depending on the number. I know that what I am asking for is rather strange, but as I said I am a detail-oriented person so … is there any chance to extend the PHP code allowing to use a better translation. In my opinion if we succeed it might be also something profitable for you in the future!

    A colleague of mine has prepared a logical base of such change I do hope it will be somehow helpful, but the only problem is where to put it on :)

    Here comes that code:

                                    // Rules for first 19 numbers
                                    
                                    if ($comments_count <= 19) {
                                        
                                        if ($comments_count > 4 || $comments_count === 0) { // set of numbers 5 to 19
                                            $comments_text = __('% comments', 'textdomain'); // in Polish komentarzy
                                        } elseif (in_array($comments_count, array(2, 3, 4))) { // set of numbers 2, 3, 4
                                            $comments_text = __('% comments', 'textdomain'); // in Polish komentarze
                                        } else { // the rest, which is for 1 (for singular form)
                                            $comments_text = __('% comment', 'textdomain'); // in Polish komentarz
                                        }
                                    } else { // rules for numbers bigger than 20
                                        $last_char = substr((string) $comments_count, -1, 1); // it gives last digit of string
    
                                        if (in_array((int) $last_char, array(0, 1, 5, 6, 7, 8, 9))) { // end digit 0, 1, 5, 6, 7, 8, 9
                                            $comments_text = __('% comments', 'textdomain'); // in Polish komentarzy
                                        } elseif (in_array((int) $last_char, array(2, 3, 4))) { // end digit 2, 3, 4
                                            $comments_text = __('% comments', 'textdomain'); // in Polish komentarze
                                        }
                                    }
    

    I know that further translation into Polish would require a lot of tries, but this I think I can easily manage myself.

    Thank you for considering my request.

    Best regards,
    Leszek

    #434018

    Topic: Enfold add_image_size

    in forum Enfold
    kyfr4n
    Participant

    Hello,

    I’ve read many posts on how to add image size to enfold in a child theme and i don’t succeed…
    My goal is to use it in the Image Shortcode.

    This is what I add to my functions.php in the child theme :

    function avia_change_image_size_array() {
    	global $avia_config;
    	$avia_config['imgSize']['my_size'] = array('width'=>700, 'height'=>700 , 'crop' => false);	
    
           $avia_config['selectableImgSize'] = array(
    		'square' 				=> __('Square','avia_framework'),
    		'featured'  			=> __('Featured Thin','avia_framework'),
    		'featured_large'  		=> __('Featured Large','avia_framework'),
    		'portfolio' 			=> __('Portfolio','avia_framework'),
    		'gallery' 				=> __('Gallery','avia_framework'),
    		'entry_with_sidebar' 	=> __('Entry with Sidebar','avia_framework'),
    		'entry_without_sidebar'	=> __('Entry without Sidebar','avia_framework'),
    		'extra_large' 			=> __('Fullscreen Sections/Sliders','avia_framework'),
    		'my_size'				=> __('Ma taille perso','avia_framework'),
    		
    	);
    
    }
    add_action( 'init', 'avia_change_image_size_array', 0);

    But it seems that this hook is trigger after avia_backend_add_thumbnail_size(), even with a priority of 0.

    Thanks for your help.

    #433852
    Jason
    Participant

    Hi there,
    I have an external script that I need to load on two pages only. I know I can put scripts in a code block, but I actually need the script to load last – in the footer.
    This script is only required on 2x pages, so what is the best way to do this?
    In functions.php?
    I’d rather not have to create a page template for these two pages, that’s probably not the most elegant solution.
    The 2x page id’s are 5257 & 4913, can you help point me in the right direction please?
    Thanks,
    Jason

    #433723

    Hi norman1!

    In the /enfold/functions.php file around line 127 you should see this.

    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>845, 'height'=>321);		            	// big images for blog and page entries
    

    You can increase the height there and then regenerate your thumbnails, https://wordpress.org/plugins/regenerate-thumbnails/.

    Regards,
    Elliott

    #433308

    In reply to: Portfolio entries

    This reply has been marked as private.
    #433287
    This reply has been marked as private.
    astrolab
    Participant

    Hello!

    I’m trying to un-mute my video background in my color section. I’ve seen other threads on this topic, and I have followed those steps, but no joy.

    On the version of /themes/enfold/config-templatebuilder/avia-shortcodes/section.php I am editing, on line 715:
    I have changed it to:

    ‘video_mute’ => false,

    That doesn’t seem to be working…not getting any sound. I must be doing something wrong, can you advise, thanks.

    #432698

    /enfold/config-templatebuilder/avia-shortcodes/magazine.php ………….. OK
    /enfold/config-templatebuilder/avia-shortcodes/ masonry_entries.php……………….?? Where… line 275??

    My post is using the link format then I copy the link inside the post content. I know. But the problem is with the icon,….. in the title is solved but in the icon no.

    Thanks!

    #432643

    In reply to: Portfolio entries

    Hey Josue!
    Thanks for having a look.
    My customized template on the base of taxonomy-portfolio_entries.php: http://pastebin.com/7bzAX36b
    The template, which comes with the plugin: http://pastebin.com/0RMTTc2q
    Best regards
    Bernd

    #432502

    Hey!

    That won’t work, HTML content will be stripped. If you want to have your caption to be an h1 instead of an h2 you’d need to edit /enfold/config-templatebuilder/avia-shortcodes/slideshow.php, change line 788:

    if(trim($title) != "")   $title 	= "<h2 {$title_styling} class='avia-caption-title' $markup_name>".trim(apply_filters('avf_slideshow_title', $title))."</h2>";
    

    To:

    if(trim($title) != "")   $title 	= "<h1 {$title_styling} class='avia-caption-title' $markup_name>".trim(apply_filters('avf_slideshow_title', $title))."</h1>";
    

    Best regards,
    Josue

    Since I have not yet been able to definitively figure out the issue I am posting some more info here, in the hopes that it helps someone else figure out another angle to try.

    I’m bolding the plugins which are unique to a particular install. I should note that I tried installing Quick Page/Post Redirect and PHP Text Widget on the ‘working’ site (Website 2) and even with those plugins installed that site remained fine… so I don’t think those plugins are the issue.

    WEBSITE 1 (Avia Layout Builder Broken).
    WP 4.1.2, Enfold 3.1.3
    Site5 Hosting
    MySQL 5.5.40, PHP 5.3.29 (64-Bit)
    Memory Limit 256M, Max Execution time 60 seconds
    Linux, Apache

    Plugins active:

    • Admin Menu Editor Pro (1.97)
    • Advanced Custom Fields Pro (5.2.2)
    • Advanced Responsive Video Embedder (5.3.4)
    • BackupBuddy (5.2.0.0)
    • CMS Tree Page View (1.2.31)
    • Force Regenerate Thumbnails (2.0.5)
    • Gravity Forms (1.9.6)
    • Media Library Assistant (2.10)
    • PHP Text Widget (1.0.8)
    • Quick Page/Post Redirect Plugin (5.0.6)
    • Relevanssi (3.3.8)
    • Widget Attributes (0.2.2)
    • WordPress SEO (2.1.1)

    WEBSITE 2 (Avia Layout Builder Working).
    WP 4.1.2, Enfold 3.1.3
    MediaTemple Hosting
    MySQL 5.1.72, PHP 5.3.29 (64-Bit)
    Memory Limit 256M, Max Execution time 600 seconds
    Linux, Apache

    Plugins active:

    • Admin Menu Editor Pro (1.97)
    • Advanced Custom Fields Pro (5.2.2)
    • Advanced Responsive Video Embedder (5.3.4)
    • BackupBuddy (5.2.0.9)
    • Broken Link Checker (1.10.6)
    • CMS Tree Page View (1.2.31)
    • Duplicate Post (2.6)
    • Event Rocket (2.5)
    • Force Regenerate Thumbnails (2.0.5)
    • Google Analytics by Yoast (5.4.1)
    • Gravity Forms (1.9.6)
    • Gravity Forms MailChimp Add-On (3.6)
    • Gravity Forms Survey Add-On (2.5)
    • Groups Engine (1.0.4)
    • iThemes Security Pro (1.14.12)
    • Media Library Assistant (2.10)
    • Plugin Update Hider (0.0.4)
    • Redirection (2.3.14)
    • Relevanssi (3.3.8)
    • SeedProd Coming Soon Pro (4.2.3)
    • Series Engine (1.7.2)
    • The Events Calendar (3.9.1)
    • The Events Calendar PRO (3.9.1)
    • Widget Attributes (0.2.2)
    • WordPress SEO (2.1.1)
    #432176

    Hi Yigit

    Managed to paste it so it shows up in the themes screen in WP dashboard not sure why it didnt before, but when I activate it I get:

    ( ! ) Warning: require_once(C:\wamp\www\seoss\wp-content\themes\enfold\config-wpml\config.php): failed to open stream: Permission denied in C:\wamp\www\seoss\wp-content\themes\enfold\functions.php on line 30
    Call Stack
    # Time Memory Function Location
    1 0.0000 384856 {main}( ) ..\themes.php:0
    2 0.0166 452408 require_once( ‘C:\wamp\www\seoss\wp-admin\admin.php’ ) ..\themes.php:10
    3 0.0186 470528 require_once( ‘C:\wamp\www\seoss\wp-load.php’ ) ..\admin.php:31
    4 0.0195 481456 require_once( ‘C:\wamp\www\seoss\wp-config.php’ ) ..\wp-load.php:29
    5 0.0215 579552 require_once( ‘C:\wamp\www\seoss\wp-settings.php’ ) ..\wp-config.php:80
    6 0.9463 23094504 include( ‘C:\wamp\www\seoss\wp-content\themes\enfold\functions.php’ ) ..\wp-settings.php:329

    ( ! ) Fatal error: require_once(): Failed opening required ‘config-wpml/config.php’ (include_path=’.;C:\php\pear’) in C:\wamp\www\seoss\wp-content\themes\enfold\functions.php on line 30
    Call Stack
    # Time Memory Function Location
    1 0.0000 384856 {main}( ) ..\themes.php:0
    2 0.0166 452408 require_once( ‘C:\wamp\www\seoss\wp-admin\admin.php’ ) ..\themes.php:10
    3 0.0186 470528 require_once( ‘C:\wamp\www\seoss\wp-load.php’ ) ..\admin.php:31
    4 0.0195 481456 require_once( ‘C:\wamp\www\seoss\wp-config.php’ ) ..\wp-load.php:29
    5 0.0215 579552 require_once( ‘C:\wamp\www\seoss\wp-settings.php’ ) ..\wp-config.php:80
    6 0.9463 23094504 include( ‘C:\wamp\www\seoss\wp-content\themes\enfold\functions.php’ ) ..\wp-settings.php:329

    #432152
    thewormman
    Participant

    Hi Trying to add Enfold theme to Wampserver on my desktop computer without much luck.

    Wampserver is latest version
    Enfold is latest version
    My machine is:
    Windows 7 Ultimate SP1
    AMD Atherlon 62 x2 dual core 3800+ 2.00 GHz
    5 gig memory
    64 bit

    I am an enthusiastic amateur so be gentle :) Any help gratefully received

    If I try to upload through the add themes at wp-admin/theme-install.php?upload i get this:

    Are you sure you want to do this?

    Please try again.

    If I copy into the folder wp-content/themes when I go to themes in my wp dashboard I get this:

    ( ! ) Warning: fopen(C:\wamp\www\seoss/wp-content/themes/enfold/style.css): failed to open stream: Permission denied in C:\wamp\www\seoss\wp-includes\functions.php on line 4183
    Call Stack
    # Time Memory Function Location
    1 0.0029 385232 {main}( ) ..\themes.php:0
    2 0.0059 452808 require_once( ‘C:\wamp\www\seoss\wp-admin\admin.php’ ) ..\themes.php:10
    3 1.2178 27641368 do_action( ) ..\admin.php:318
    4 1.2178 27642800 call_user_func_array:{C:\wamp\www\seoss\wp-includes\plugin.php:496} ( ) ..\plugin.php:496
    5 1.2178 27643592 wp_update_themes( ) ..\plugin.php:496
    6 1.2188 27644936 wp_get_themes( ) ..\update.php:345
    7 1.2266 27654024 WP_Theme->__construct( ) ..\theme.php:69
    8 1.2275 27654504 get_file_data( ) ..\class-wp-theme.php:235
    9 1.2275 27654632 fopen ( ) ..\functions.php:4183

    ( ! ) Warning: fread() expects parameter 1 to be resource, boolean given in C:\wamp\www\seoss\wp-includes\functions.php on line 4186
    Call Stack
    # Time Memory Function Location
    1 0.0029 385232 {main}( ) ..\themes.php:0
    2 0.0059 452808 require_once( ‘C:\wamp\www\seoss\wp-admin\admin.php’ ) ..\themes.php:10
    3 1.2178 27641368 do_action( ) ..\admin.php:318
    4 1.2178 27642800 call_user_func_array:{C:\wamp\www\seoss\wp-includes\plugin.php:496} ( ) ..\plugin.php:496
    5 1.2178 27643592 wp_update_themes( ) ..\plugin.php:496
    6 1.2188 27644936 wp_get_themes( ) ..\update.php:345
    7 1.2266 27654024 WP_Theme->__construct( ) ..\theme.php:69
    8 1.2275 27654504 get_file_data( ) ..\class-wp-theme.php:235
    9 1.2510 27655520 fread ( ) ..\functions.php:4186

    ( ! ) Warning: fclose() expects parameter 1 to be resource, boolean given in C:\wamp\www\seoss\wp-includes\functions.php on line 4189
    Call Stack
    # Time Memory Function Location
    1 0.0029 385232 {main}( ) ..\themes.php:0
    2 0.0059 452808 require_once( ‘C:\wamp\www\seoss\wp-admin\admin.php’ ) ..\themes.php:10
    3 1.2178 27641368 do_action( ) ..\admin.php:318
    4 1.2178 27642800 call_user_func_array:{C:\wamp\www\seoss\wp-includes\plugin.php:496} ( ) ..\plugin.php:496
    5 1.2178 27643592 wp_update_themes( ) ..\plugin.php:496
    6 1.2188 27644936 wp_get_themes( ) ..\update.php:345
    7 1.2266 27654024 WP_Theme->__construct( ) ..\theme.php:69
    8 1.2275 27654504 get_file_data( ) ..\class-wp-theme.php:235
    9 1.2666 27655704 fclose ( ) ..\functions.php:4189

    ( ! ) Warning: Cannot modify header information – headers already sent by (output started at C:\wamp\www\seoss\wp-includes\functions.php:4186) in C:\wamp\www\seoss\wp-includes\option.php on line 748
    Call Stack
    # Time Memory Function Location
    1 0.0029 385232 {main}( ) ..\themes.php:0
    2 1.4561 28097488 require_once( ‘C:\wamp\www\seoss\wp-admin\admin-header.php’ ) ..\themes.php:120
    3 1.4570 28098872 wp_user_settings( ) ..\admin-header.php:46
    4 1.4590 28099520 setcookie ( ) ..\option.php:748

    ( ! ) Warning: Cannot modify header information – headers already sent by (output started at C:\wamp\www\seoss\wp-includes\functions.php:4186) in C:\wamp\www\seoss\wp-includes\option.php on line 749
    Call Stack
    # Time Memory Function Location
    1 0.0029 385232 {main}( ) ..\themes.php:0
    2 1.4561 28097488 require_once( ‘C:\wamp\www\seoss\wp-admin\admin-header.php’ ) ..\themes.php:120
    3 1.4570 28098872 wp_user_settings( ) ..\admin-header.php:46
    4 1.4658 28099576 setcookie ( ) ..\option.php:749

    #432126

    Hi!

    If your post is using the link format then you would just copy the link inside the post content. The title will grab the link automatically.

    For the Masonry try doing the same thing around line 275 in the masonry_entries.php file.

    Best regards,
    Elliott

    #431713
    charmo
    Participant

    Hi Team

    Have gone through support and found the code to place into the Child functions.php for adding additional fonts. However, it has no effect?

    My Code is

    <?php
    add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['PT Sans Narrow'] = 'PT Sans Narrow:400,700';
    $fonts['Rock Salt'] = 'Rock Salt:400';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font', 'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['PT Sans'] = 'PT Sans:400,700,400italic,700italic';
    $fonts['Rock Salt'] = 'Rock Salt:400';
    return $fonts;
    }

    Any assistance would be appreciated!

    #431577

    Hi nulrick!

    To increase the thumbnail size open up /enfold/config-templatebuilder/avia-shortcodes/magazine.php and change line 242 from this.

    'image_size'			=> array( 'small'=> 'thumbnail', 'big' => 'magazine')
    

    To this.

    'image_size'			=> array( 'small'=> 'full', 'big' => 'magazine')
    

    The reason it looks a little blurry on your end though is because your using some custom CSS.

    @media only screen and (min-width: 768px)
    body#top.page-id-790 article.av-magazine-entry img.attachment-thumbnail.wp-post-image {
       min-width: 90px !important; 
       min-height: inherit !important; 
    }

    Regards,
    Elliott

    • This reply was modified 11 years ago by Elliott.
Viewing 30 results - 14,341 through 14,370 (of 16,897 total)